# Chroma Docs ## Docs - [Fork collection](https://docs.trychroma.com/api-reference/collection/fork-collection.md): Creates a fork of an existing collection. - [Attach function](https://docs.trychroma.com/api-reference/function/attach-function.md): Attaches a function to a collection. - [Detach function](https://docs.trychroma.com/api-reference/function/detach-function.md): Detaches a function from a collection. - [Get attached function](https://docs.trychroma.com/api-reference/function/get-attached-function.md): Returns an attached function by name. - [Collection Forking](https://docs.trychroma.com/cloud/features/collection-forking.md): Instant copy-on-write collection forking in Chroma Cloud. - [Chroma Cloud](https://docs.trychroma.com/cloud/getting-started.md) - [Package Search MCP Server](https://docs.trychroma.com/cloud/package-search/mcp.md) - [Package Search Registry](https://docs.trychroma.com/cloud/package-search/registry.md) - [Pricing](https://docs.trychroma.com/cloud/pricing.md) - [Quotas & Limits](https://docs.trychroma.com/cloud/quotas-limits.md) - [Index Configuration Reference](https://docs.trychroma.com/cloud/schema/index-reference.md): Comprehensive reference for all index types and their configuration parameters. - [Schema Overview](https://docs.trychroma.com/cloud/schema/overview.md) - [Schema Basics](https://docs.trychroma.com/cloud/schema/schema-basics.md): Learn how to create and use Schema to configure indexes on your Chroma collections. - [Sparse Vector Search Setup](https://docs.trychroma.com/cloud/schema/sparse-vector-search.md): Learn how to configure and use sparse vectors for keyword-based search, and combine them with dense embeddings for powerful hybrid search capabilities. - [Batch Operations](https://docs.trychroma.com/cloud/search-api/batch-operations.md): Execute multiple searches in a single API call for better performance and easier comparison of results. - [Examples & Patterns](https://docs.trychroma.com/cloud/search-api/examples.md): Complete end-to-end examples demonstrating real-world use cases of the Search API. - [Filtering with Where](https://docs.trychroma.com/cloud/search-api/filtering.md): Learn how to filter search results using Where expressions and the Key/K class to narrow down your search to specific documents, IDs, or metadata values. - [Group By & Aggregation](https://docs.trychroma.com/cloud/search-api/group-by.md): Learn how to group search results by metadata keys and select the top results from each group. GroupBy is useful for diversifying results, deduplication, and category-aware ranking. - [Hybrid Search with RRF](https://docs.trychroma.com/cloud/search-api/hybrid-search.md): Learn how to combine multiple ranking strategies using Reciprocal Rank Fusion (RRF). RRF is ideal for hybrid search scenarios where you want to merge results from different ranking methods (e.g., dense and sparse embeddings). - [Migration Guide](https://docs.trychroma.com/cloud/search-api/migration.md): Migrate from legacy `query()` and `get()` to the Search API. - [Search API Overview](https://docs.trychroma.com/cloud/search-api/overview.md) - [Pagination & Field Selection](https://docs.trychroma.com/cloud/search-api/pagination-selection.md): Control how many results to return and which fields to include in your search results. - [Ranking and Scoring](https://docs.trychroma.com/cloud/search-api/ranking.md): Learn how to use ranking expressions to score and order your search results. In Chroma, lower scores indicate better matches (distance-based scoring). - [Search Basics](https://docs.trychroma.com/cloud/search-api/search-basics.md): Learn how to construct and use the Search class for querying your Chroma collections. - [GitHub](https://docs.trychroma.com/cloud/sync/github.md): Sync GitHub repositories into Chroma Cloud. - [Overview](https://docs.trychroma.com/cloud/sync/overview.md) - [S3 Sync](https://docs.trychroma.com/cloud/sync/s3.md): Sync files from Amazon S3 into Chroma Cloud. - [Web Sync](https://docs.trychroma.com/cloud/sync/web.md): Crawl and sync website content into Chroma Cloud. - [Browse Collections](https://docs.trychroma.com/docs/cli/browse.md): Inspect your Chroma collections with an in-terminal UI. - [Copy Collections](https://docs.trychroma.com/docs/cli/copy.md): Copy collections between local Chroma and Chroma Cloud. - [DB Management](https://docs.trychroma.com/docs/cli/db.md): Manage your Chroma Cloud databases using the CLI. - [Installing the CLI](https://docs.trychroma.com/docs/cli/install.md): Install the Chroma CLI to run a local server, browse collections, and interact with Chroma Cloud. - [Login](https://docs.trychroma.com/docs/cli/login.md): Authenticate with Chroma Cloud using the CLI. - [Profile Management](https://docs.trychroma.com/docs/cli/profile.md): Manage CLI profiles for Chroma Cloud authentication. - [Run a Chroma Server](https://docs.trychroma.com/docs/cli/run.md): Run a Chroma server locally using the CLI. - [Sample Apps](https://docs.trychroma.com/docs/cli/sample-apps.md): Install and run Chroma sample applications. - [Update](https://docs.trychroma.com/docs/cli/update.md): Check for CLI updates. - [Vacuum](https://docs.trychroma.com/docs/cli/vacuum.md): Shrink and optimize your Chroma database. - [Adding Data to Chroma Collections](https://docs.trychroma.com/docs/collections/add-data.md): Learn how to add data to Chroma collections. - [Configure Collections](https://docs.trychroma.com/docs/collections/configure.md): Learn how to configure Chroma collection index settings and embedding functions. - [Delete Data](https://docs.trychroma.com/docs/collections/delete-data.md): Learn how to delete data from Chroma collections. - [Manage Collections](https://docs.trychroma.com/docs/collections/manage-collections.md): Learn how to create, get, modify, and delete Chroma collections. - [Update Data](https://docs.trychroma.com/docs/collections/update-data.md): Learn how to update and upsert data in Chroma collections. - [Embedding Functions](https://docs.trychroma.com/docs/embeddings/embedding-functions.md): Learn how to use embedding functions in Chroma to create vector representations of your data. - [Multimodal Embeddings](https://docs.trychroma.com/docs/embeddings/multimodal.md): Learn how to work with multimodal data in Chroma collections. - [Getting Started](https://docs.trychroma.com/docs/overview/getting-started.md): Chroma is the open-source data infrastructure for AI. It comes with everything you need to get started built-in, and runs on your machine. - [Introduction](https://docs.trychroma.com/docs/overview/introduction.md): Chroma is the open-source data infrastructure for AI. It comes with everything you need to get started built-in. - [Migration](https://docs.trychroma.com/docs/overview/migration.md): Migration guides for Chroma version upgrades and schema changes. - [Open Source](https://docs.trychroma.com/docs/overview/oss.md): Chroma is the open-source data infrastructure for AI. Contribute to the project or learn about telemetry and privacy. - [Troubleshooting](https://docs.trychroma.com/docs/overview/troubleshooting.md): Common issues and solutions when working with Chroma. - [Full Text Search](https://docs.trychroma.com/docs/querying-collections/full-text-search.md): Learn how to use full-text search and regex filtering in Chroma collections. - [Metadata Filtering](https://docs.trychroma.com/docs/querying-collections/metadata-filtering.md): Learn how to filter query results by metadata in Chroma collections. - [Query and Get](https://docs.trychroma.com/docs/querying-collections/query-and-get.md): Learn how to query and retrieve data from Chroma collections. - [Client-Server Mode](https://docs.trychroma.com/docs/run-chroma/client-server.md): Learn how to run Chroma in client-server mode. - [Chroma Clients](https://docs.trychroma.com/docs/run-chroma/clients.md): Learn how to instantiate Chroma clients for Cloud, in-memory, and persistent use cases. - [Agentic Memory](https://docs.trychroma.com/guides/build/agentic-memory.md): Persist agent context across runs for better performance and personalization. - [Agentic Search](https://docs.trychroma.com/guides/build/agentic-search.md): Build agents that iteratively search and refine results to answer complex queries. - [Building with AI](https://docs.trychroma.com/guides/build/building-with-ai.md): Use LLMs to process unstructured data in your applications. - [Chunking](https://docs.trychroma.com/guides/build/chunking.md) - [Intro to Retrieval](https://docs.trychroma.com/guides/build/intro-to-retrieval.md): Ground LLMs in your own data using retrieval-augmented generation. - [Look at Your Data](https://docs.trychroma.com/guides/build/look-at-your-data.md): Design your collection schema and chunking strategy based on your data. - [AWS](https://docs.trychroma.com/guides/deploy/aws.md): Deploy Chroma on AWS using CloudFormation. - [Azure](https://docs.trychroma.com/guides/deploy/azure.md): Deploy Chroma on Azure using Terraform. - [Running Chroma in Client-Server Mode](https://docs.trychroma.com/guides/deploy/client-server-mode.md) - [Docker](https://docs.trychroma.com/guides/deploy/docker.md): Run Chroma in a Docker Container - [GCP](https://docs.trychroma.com/guides/deploy/gcp.md): Deploy Chroma on Google Cloud Platform using Terraform. - [Observability](https://docs.trychroma.com/guides/deploy/observability.md): Monitor and trace your Chroma deployment with OpenTelemetry. - [Chroma's Thin-Client](https://docs.trychroma.com/guides/deploy/python-thin-client.md) - [Distributed/Cloud Performance](https://docs.trychroma.com/guides/performance/distributed.md): How to think about performance in distributed Chroma deployments. - [General](https://docs.trychroma.com/guides/performance/general.md): How to improve Chroma performance across single-node and distributed deployments. - [Single-Node Performance](https://docs.trychroma.com/guides/performance/single-node.md): Single-node Chroma performance benchmarks and limitations. - [Integrations](https://docs.trychroma.com/integrations/chroma-integrations.md) - [Amazon Bedrock](https://docs.trychroma.com/integrations/embedding-models/amazon-bedrock.md) - [Baseten](https://docs.trychroma.com/integrations/embedding-models/baseten.md) - [Chroma BM25](https://docs.trychroma.com/integrations/embedding-models/chroma-bm25.md) - [Chroma Cloud Qwen](https://docs.trychroma.com/integrations/embedding-models/chroma-cloud-qwen.md) - [Chroma Cloud Splade](https://docs.trychroma.com/integrations/embedding-models/chroma-cloud-splade.md) - [Cloudflare Workers AI](https://docs.trychroma.com/integrations/embedding-models/cloudflare-workers-ai.md) - [Cohere](https://docs.trychroma.com/integrations/embedding-models/cohere.md) - [Google Gemini](https://docs.trychroma.com/integrations/embedding-models/google-gemini.md) - [Hugging Face](https://docs.trychroma.com/integrations/embedding-models/hugging-face.md) - [Hugging Face Server](https://docs.trychroma.com/integrations/embedding-models/hugging-face-server.md) - [Instructor](https://docs.trychroma.com/integrations/embedding-models/instructor.md) - [Jina AI](https://docs.trychroma.com/integrations/embedding-models/jina-ai.md) - [Mistral](https://docs.trychroma.com/integrations/embedding-models/mistral.md) - [Morph](https://docs.trychroma.com/integrations/embedding-models/morph.md) - [Nomic](https://docs.trychroma.com/integrations/embedding-models/nomic.md) - [Ollama](https://docs.trychroma.com/integrations/embedding-models/ollama.md) - [OpenCLIP](https://docs.trychroma.com/integrations/embedding-models/open-clip.md) - [OpenAI](https://docs.trychroma.com/integrations/embedding-models/openai.md) - [Perplexity](https://docs.trychroma.com/integrations/embedding-models/perplexity.md) - [Roboflow](https://docs.trychroma.com/integrations/embedding-models/roboflow.md) - [Sentence Transformer](https://docs.trychroma.com/integrations/embedding-models/sentence-transformer.md) - [Superlinked](https://docs.trychroma.com/integrations/embedding-models/superlinked.md) - [Text2Vec](https://docs.trychroma.com/integrations/embedding-models/text2vec.md) - [Together AI](https://docs.trychroma.com/integrations/embedding-models/together-ai.md) - [VoyageAI](https://docs.trychroma.com/integrations/embedding-models/voyageai.md) - [Anthropic MCP](https://docs.trychroma.com/integrations/frameworks/anthropic-mcp.md) - [Braintrust](https://docs.trychroma.com/integrations/frameworks/braintrust.md) - [Contextual AI](https://docs.trychroma.com/integrations/frameworks/contextual-ai.md) - [DeepEval](https://docs.trychroma.com/integrations/frameworks/deepeval.md) - [Google ADK](https://docs.trychroma.com/integrations/frameworks/google-adk.md) - [Haystack](https://docs.trychroma.com/integrations/frameworks/haystack.md) - [Langchain](https://docs.trychroma.com/integrations/frameworks/langchain.md) - [LlamaIndex](https://docs.trychroma.com/integrations/frameworks/llamaindex.md) - [Mem0](https://docs.trychroma.com/integrations/frameworks/mem0.md) - [OpenLIT](https://docs.trychroma.com/integrations/frameworks/openlit.md) - [OpenLLMetry](https://docs.trychroma.com/integrations/frameworks/openllmetry.md) - [Streamlit](https://docs.trychroma.com/integrations/frameworks/streamlit.md) - [VoltAgent](https://docs.trychroma.com/integrations/frameworks/voltagent.md) - [Distributed Architecture](https://docs.trychroma.com/reference/architecture/distributed.md): How Chroma scales out with independent services, object storage, SSD caches, and a shared system database. - [Architecture Overview](https://docs.trychroma.com/reference/architecture/overview.md): How Chroma is structured across local, single-node, and distributed deployments. - [Generate dense embeddings](https://docs.trychroma.com/reference/embeddings-api/generate-dense-embeddings.md): Generate dense vector embeddings for the given texts using the specified model. Provide either 'instructions' or both 'task' and 'target' alongside 'texts'. - [Generate sparse embeddings](https://docs.trychroma.com/reference/embeddings-api/generate-sparse-embeddings.md): Generate sparse vector embeddings for the given texts using the specified model. Provide either 'instructions' or both 'task' and 'target' alongside 'texts'. Set 'fetch_labels' to true to include token labels in the response. - [Kotlin](https://docs.trychroma.com/reference/kotlin.md) - [Overview](https://docs.trychroma.com/reference/overview.md) - [Client](https://docs.trychroma.com/reference/python/client.md) - [Collection](https://docs.trychroma.com/reference/python/collection.md) - [Embedding Functions](https://docs.trychroma.com/reference/python/embedding-functions.md) - [Schema](https://docs.trychroma.com/reference/python/schema.md) - [Search](https://docs.trychroma.com/reference/python/search.md) - [Where Filters](https://docs.trychroma.com/reference/python/where-filter.md): Reference for the Python DSL used to build where filters. - [Rust](https://docs.trychroma.com/reference/rust.md) - [Search](https://docs.trychroma.com/reference/search.md): Reference guide for Search dictionary syntax used in Chroma. - [Chroma Configuration](https://docs.trychroma.com/reference/server-env-vars.md): Environment variables when self-hosting a Chroma server. - [Swift](https://docs.trychroma.com/reference/swift.md) - [Cancel invocation](https://docs.trychroma.com/reference/sync-api/invocation/cancel-invocation.md): Cancels an invocation. - [Create invocation](https://docs.trychroma.com/reference/sync-api/invocation/create-invocation.md): Creates a new invocation for a source. - [Get invocation](https://docs.trychroma.com/reference/sync-api/invocation/get-invocation.md): Returns details of an invocation with the provided ID. - [Get latest invocations by keys](https://docs.trychroma.com/reference/sync-api/invocation/get-latest-invocations-by-keys.md): Returns the latest invocations for the given keys on a source. - [List invocations](https://docs.trychroma.com/reference/sync-api/invocation/list-invocations.md): Lists invocations for a source or database. - [Create source](https://docs.trychroma.com/reference/sync-api/source/create-source.md): Creates a new sync source. - [Delete source](https://docs.trychroma.com/reference/sync-api/source/delete-source.md): Deletes a source with the provided ID. - [Get source](https://docs.trychroma.com/reference/sync-api/source/get-source.md): Returns details of a source with the provided ID. - [List sources](https://docs.trychroma.com/reference/sync-api/source/list-sources.md): Lists sources owned by a tenant. - [Get service health status](https://docs.trychroma.com/reference/sync-api/system/get-service-health-status.md): Returns the health status of the sync service. - [Client](https://docs.trychroma.com/reference/typescript/client.md) - [Collection](https://docs.trychroma.com/reference/typescript/collection.md) - [Embedding Functions](https://docs.trychroma.com/reference/typescript/embedding-functions.md) - [Schema](https://docs.trychroma.com/reference/typescript/schema.md) - [Search](https://docs.trychroma.com/reference/typescript/search.md) - [Where Filters](https://docs.trychroma.com/reference/typescript/where-filter.md): Reference for the TypeScript DSL used to build where filters. - [Where Filters](https://docs.trychroma.com/reference/where-filter.md): Reference guide for where filter JSON syntax used in Chroma queries and searches. ## OpenAPI Specs - [openapi](https://docs.trychroma.com/api-reference/openapi.json) - [sync.openapi](https://docs.trychroma.com/sync.openapi.json)