chroma_create_collection
Create a new Chroma collection with customizable HNSW parameters, embedding functions, and optional metadata to organize and manage AI-generated or user-input data efficiently.
Instructions
Create a new Chroma collection with configurable HNSW parameters.
Args:
collection_name: Name of the collection to create
embedding_function_name: Name of the embedding function to use. Options: 'default', 'cohere', 'openai', 'jina', 'voyageai', 'ollama', 'roboflow'
metadata: Optional metadata dict to add to the collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_name | Yes | ||
embedding_function_name | No | default | |
metadata | No |
Input Schema (JSON Schema)
{
"properties": {
"collection_name": {
"title": "Collection Name",
"type": "string"
},
"embedding_function_name": {
"default": "default",
"title": "Embedding Function Name",
"type": "string"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Metadata"
}
},
"required": [
"collection_name"
],
"title": "chroma_create_collectionArguments",
"type": "object"
}