Update Documents in a Collection
Usage
update_documents(
client,
collection_name,
ids,
documents = NULL,
metadatas = NULL,
embeddings = NULL,
tenant = "default_tenant",
database = "default_database"
)
Arguments
- client
A ChromaDB client object
- collection_name
Name of the collection
- ids
Vector of document IDs to update
- documents
List of new document contents
- metadatas
List of new metadata
- embeddings
Optional new pre-computed embeddings
- tenant
The tenant name (default: "default")
- database
The database name (default: "default")