BASE

Chroma

Chroma

Database / data tool · Free

A vector database and retrieval tools with SDKs: they store embeddings and metadata for context search in AI applications.

Also known as: chroma-core/chroma; chroma; chroma-core; chroma-db; chroma-ai-database

Resource illustration: Chroma

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Index embeddings for AI retrieval
  • Add documents and test nearest-vector queries with metadata filters

Example workflow

A possible workflow; this is not a report of hands-on testing.

Index embeddings for AI retrieval.

Before you start

  • A schema, test dataset, and queries.
  • A supported database or runtime.

Steps

  1. Define the collection, embeddings, and document metadata.
  2. Add documents and test nearest-vector queries with metadata filters.
  3. Check schema changes, indexes, and data recovery.

Check your result

  • Query results match the reference data.
  • Check access permissions, backup recovery, and load before production use.

Choosing Chroma

Index embeddings for AI retrieval

Choose this when

  • Index embeddings for AI retrieval
  • Add documents and test nearest-vector queries with metadata filters

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.

Frequently asked questions

What can you use for free in Chroma?

Code and local use under Apache-2.0.

What additional costs might arise with Chroma?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Chroma?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Chroma?

Define the collection, embeddings, and document metadata. Add documents and test nearest-vector queries with metadata filters. Check schema changes, indexes, and data recovery.

Can I supply my own embeddings and restrict search results?

Yes: collection.add accepts documents, unique IDs, and metadata; your own vectors can replace automatic embeddings. collection.query specifies the result count and separately filters metadata or document text. An in-memory example and client-server execution with chroma run --path are available.

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Chroma
  • database
  • Development

Sources

Other resources