chroma_add_documents
Add text documents with unique IDs and optional metadata to a Chroma collection for storage and retrieval.
Instructions
Add documents to a Chroma collection.
Args:
collection_name: Name of the collection to add documents to
documents: List of text documents to add
ids: List of IDs for the documents (required)
metadatas: Optional list of metadata dictionaries for each document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| documents | Yes | ||
| metadatas | No | ||
| collection_name | Yes |