| create_collection | R Documentation | 
Create a Collection in ChromaDB
create_collection(
  client,
  name,
  metadata = NULL,
  configuration = NULL,
  tenant = "default_tenant",
  database = "default_database",
  get_or_create = FALSE
)
| 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) | 
A collection object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.