mongodb
autogen.agentchat.contrib.vectordb.mongodb.MongoDBAtlasVectorDB
MongoDBAtlasVectorDB
A Collection object for MongoDB.
Initialize the vector database.
Name | Description |
---|---|
**kwargs |
Class Attributes
active_collection
embedding_function
type
Instance Methods
create_collection
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
create_index_if_not_exists
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
create_vector_search_index
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
delete_collection
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
delete_docs
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
get_collection
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
get_docs_by_ids
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
insert_docs
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
list_collections
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
retrieve_docs
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
update_docs
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |