milvusdb
langroid/vector_store/milvusdb.py
MilvusDB(config=None)
¶
Bases: VectorStore
Source code in langroid/vector_store/milvusdb.py
set_collection(collection_name, replace=False)
¶
Set the active collection and load it when it already exists.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
collection_name
|
str
|
Name of the collection. |
required |
replace
|
bool
|
Whether to replace an existing collection. |
False
|