Chroma - the open-source data infrastructure for AI.
pip install chromadb # python client
# for javascript, npm install chromadb!
# for client-server mode, chroma run --path /chroma_db_path
Chroma Cloud
Our hosted service, Chroma Cloud, powers serverless vector, hybrid, and full-text search. It's extremely fast, cost-effective, scalable and painless. Create a DB and try it out in under 30 seconds with $5 of free credits.
API
The core API is only 4 functions (run our 💡 Google Colab):
import chromadb
# setup Chroma in-memory, for easy prototyping. Can add persistence easily!
client = chromadb.Client()
# Create collection. get_collection, get_or_create_collection, delete_collection also available!
collection = client.create_collection("all-my-documents")
# Add docs to the collection. Can also update and delete. Row-based API coming soon!
collection.add(
documents=["This is document1", "This is document2"], # we handle tokenization, embedding, and indexing automatically. You can skip that and add your own embeddings as well
metadatas=[{"source": "notion"}, {"source": "google-docs"}], # filter on these!
ids=["doc1", "doc2"], # unique for each doc
)
# Query/search 2 most similar results. You can also .get by id
results = collection.query(
query_texts=["This is a query document"],
n_results=2,
# where={"metadata_field": "is_equal_to_this"}, # optional filter
# where_document={"$contains":"search_string"} # optional filter
)
Learn about all features on our Docs
Get involved
Chroma is a rapidly developing project. We welcome PR contributors and ideas for how to improve the project.
- Join the conversation on Discord -
#contributingchannel - Review the 🛣️ Roadmap and contribute your ideas
- Grab an issue and open a PR -
Good first issue tag - Read our contributing guide
Release Cadence
We currently release new tagged versions of the pypi and npm packages on Mondays. Hotfixes go out at any time during the week.
License
Metadata
Release files for chromadb 1.5.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chromadb-1.5.9.tar.gz | 2.6 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| chromadb-1.5.9-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| chromadb-1.5.9-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| chromadb-1.5.9-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| chromadb-1.5.9-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
| chromadb-1.5.9-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 116.4 MB
Release files / chromadb-1.5.9.tar.gz
| Download URL | chromadb-1.5.9.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c20e62a455c28bacac927f26116a73fd8e1799e0d908be8e8a4f02197a54731
|
|
BLAKE2b-256 checksum How to use checksums |
92d15e33b26985f0c7046a0be1cee2158ada1748ee700d2545057fde1468d74d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / chromadb-1.5.9-cp39-abi3-win_amd64.whl
| Download URL | chromadb-1.5.9-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 23.5 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4fd0b560e56761b7f3cb4d5c6205fd5f20814484b4a3e4e9af9038c2b428fc6c
|
|
BLAKE2b-256 checksum How to use checksums |
ebce0f7be6e5d0feafa2cda54b12e6542afeea7dea89d2d411e14da90f8abb96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / chromadb-1.5.9-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | chromadb-1.5.9-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 23.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cc09b3df76e5a5cb386aed2715a2eea152e3949f9e1ba93c7119505377749929
|
|
BLAKE2b-256 checksum How to use checksums |
e6ec0c42039e80b9acc534f67b73b7a42471948042859b3a64867b50a4a77fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / chromadb-1.5.9-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | chromadb-1.5.9-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 22.7 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9192d111bd662241625867962333d99369a00769a50f8b2f58cb388731274d7e
|
|
BLAKE2b-256 checksum How to use checksums |
384e937bc4d2e6f8ab9664ec79931fbbd69efff47e513ec2924b071e4b0ff774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / chromadb-1.5.9-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | chromadb-1.5.9-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 21.7 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
814b9c95617377f6501e5757d63dfddb554a283a7739c87b9fa573850174e6f3
|
|
BLAKE2b-256 checksum How to use checksums |
344cadcef1f4e82a2ef69ccd3711d55fc289193d54c4c0ff7a0292a3631db46f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|
Release files / chromadb-1.5.9-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | chromadb-1.5.9-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 22.6 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
60701011b5e6409647fa40d12c7c5a66b2b0bfcf33a52db2ad53a30a2abc4957
|
|
BLAKE2b-256 checksum How to use checksums |
dd5b3cced915244f43ed14b53fe9f63a37f05f865064f4e4fe7d9448d3f2a352
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.1
|