upsert_documents | R Documentation |
Upsert Documents to a Collection
upsert_documents(
client,
collection_name,
documents,
metadatas = NULL,
ids = NULL,
embeddings = NULL,
uris = NULL
)
client |
A ChromaDB client object |
collection_name |
Name of the collection |
documents |
List of documents to upsert |
metadatas |
List of metadata for each document |
ids |
Vector of unique IDs for the documents |
embeddings |
Optional pre-computed embeddings |
uris |
Optional vector of URIs associated with the documents |
Response from the API
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.