chroma_docker_run | R Documentation |
This function uses Docker to start a ChromaDB server container in the background.
chroma_docker_run(
port = 8000,
volume_host_dir = "./chroma",
is_persistent = TRUE,
anonymized_telemetry = FALSE,
version = "0.6.3",
container_name = "chromadb"
)
port |
The port for the ChromaDB container. |
volume_host_dir |
A string specifying the host directory to persist data. |
is_persistent |
Logical; whether to enable persistence. Defaults to |
anonymized_telemetry |
Logical; whether to enable anonymous telemetry. Defaults to |
version |
A string specifying the version of the ChromDB Docker image. Default is |
container_name |
A string specifying the name for the Docker container. Default is |
Invisibly returns TRUE
if the container is already running or started successfully.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.