Signature
Parameters
config
Optional configuration object. All options have sensible defaults.Options Reference
Examples
Basic Usage
With Configuration
With Storage
With HNSW
Type Parameter
T extends DocumentMetadata
The generic type parameter defines your metadata structure:
DocumentMetadata and include an id field.
Related
initialize()
Initialize the database
Configuration
Full config interface
Storage Adapters
Persistence options