Creates a Milvus instance from an existing collection in the Milvus database.
fromExistingCollection(embeddings: EmbeddingsInterface, dbConfig: MilvusLibArgs): Promise<Milvus>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Embeddings instance used to generate vector embeddings for the documents in the collection. |
dbConfig* | MilvusLibArgs | Configuration for the Milvus database. |