upsert_documents {rchroma} | R Documentation |
Upsert Documents to a Collection
Description
Upsert Documents to a Collection
Usage
upsert_documents(
client,
collection_name,
documents,
metadatas = NULL,
ids = NULL,
embeddings = NULL,
uris = NULL
)
Arguments
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 |
Value
Response from the API
[Package rchroma version 0.2.0 Index]