chromadb_upsert
Upsert text documents with embeddings into a ChromaDB collection, specifying unique IDs and optional metadata, with environment support.
Instructions
Upsert documents (with embeddings) into a ChromaDB collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment: prod (default), lab | |
| ids | Yes | List of unique IDs for each document | |
| documents | Yes | List of text documents to store | |
| metadatas | No | List of metadata dicts for each document | |
| collection | Yes | Collection name (created if it doesn't exist) |