create_collection {rchroma} | R Documentation |
Create a Collection in ChromaDB
Description
Create a Collection in ChromaDB
Usage
create_collection(
client,
name,
metadata = NULL,
configuration = NULL,
tenant = "default_tenant",
database = "default_database",
get_or_create = FALSE
)
Arguments
client |
A ChromaDB client object |
name |
The name of the collection |
metadata |
Optional metadata for the collection |
configuration |
Optional configuration for the collection. For HNSW configuration,
use a list with |
tenant |
The tenant name (default: "default") |
database |
The database name (default: "default") |
get_or_create |
Whether to get the collection if it exists (default: FALSE) |
Value
A collection object
[Package rchroma version 0.2.0 Index]