fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | |
embeddings* | EmbeddingsInterface | |
dbConfig | MilvusLibArgs |
Creates a Milvus instance from a set of Document instances.
Array of Document instances to be added to the database.
Embeddings instance used to generate vector embeddings for the documents.
Optional configuration for the Milvus database.