| update_documents | R Documentation | 
Update Documents in a Collection
update_documents(
  client,
  collection_name,
  ids,
  documents = NULL,
  metadatas = NULL,
  embeddings = NULL,
  tenant = "default_tenant",
  database = "default_database"
)
| 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") | 
NULL invisibly on success
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.