Skip to main content

Chroma

Chroma is the open-source embedding database. Chroma makes it easy to build LLM apps by making knowledge, facts, and skills pluggable for LLMs.

Discord GitHub stars



Chroma gives you the tools to:

  • store embeddings and their metadata
  • embed documents and queries
  • search embeddings

Chroma prioritizes:

  • simplicity and developer productivity
  • analysis on top of search
  • it also happens to be very quick

Chroma consists of a Python client SDK, JavaScript/TypeScript client SDK and a server application. Check out the Colab demo.(yes, it can run in a notebook ๐Ÿ˜„)

Chroma is licensed under Apache 2.0

Pythonโ€‹

In Python, Chroma can run in-memory or in client/server (in alpha) mode.

pip install chromadb

JavaScriptโ€‹

In JavaScript, Chroma runs in client/server mode and talks to a Python backend.

npm install --save chromadb # yarn add chromadb

Continue with the full getting started guide.

๐Ÿ”‘ Getting started
๐Ÿงช Usage Guide
๐Ÿงฌ Embeddings
๐Ÿ“„ API Reference
๐Ÿ‘ฝ About

๐Ÿ’ฌ Join Community Discord
@trychroma


Language Supportโ€‹

in-memoryclient
Pythonโœ…โœ… (by Chroma)
Javascriptโž–โœ… (by Chroma)
Rubyโž–โœ… from @mariochavez
Javaโž–โœ… from @t_azarov
Goโž–โœ… from @t_azarov
C#โž–โœ… from @microsoft
Rustโž–โœ… from @Anush008
Elixirโž–โœ… from @3zcurdia
Dartโž–โœ… from @davidmigloz
PHPโž–โœ… from @CodeWithKyrian
PHP (Laravel)โž–โœ… from @HelgeSverre
Other?โ“โ“

We welcome contributions for other languages!

Learn more on the Community Discord.