Skip to main content

Chroma.

Project description

Chroma Chroma

Chroma - the open-source data infrastructure for AI.

Discord | License | Docs | Homepage

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.

Get started with Chroma Cloud

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.

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

Apache 2.0

Project details


Release history Release notifications | RSS feed

This version

1.5.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromadb-1.5.9.tar.gz (2.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

chromadb-1.5.9-cp39-abi3-win_amd64.whl (23.5 MB view details)

Uploaded CPython 3.9+Windows x86-64

chromadb-1.5.9-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.3 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

chromadb-1.5.9-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

chromadb-1.5.9-cp39-abi3-macosx_11_0_arm64.whl (21.7 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

chromadb-1.5.9-cp39-abi3-macosx_10_12_x86_64.whl (22.6 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file chromadb-1.5.9.tar.gz.

File metadata

  • Download URL: chromadb-1.5.9.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for chromadb-1.5.9.tar.gz
Algorithm Hash digest
SHA256 5c20e62a455c28bacac927f26116a73fd8e1799e0d908be8e8a4f02197a54731
MD5 7041c256e127a9f5c8ca1ddf90f55636
BLAKE2b-256 92d15e33b26985f0c7046a0be1cee2158ada1748ee700d2545057fde1468d74d

See more details on using hashes here.

File details

Details for the file chromadb-1.5.9-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: chromadb-1.5.9-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 23.5 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for chromadb-1.5.9-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4fd0b560e56761b7f3cb4d5c6205fd5f20814484b4a3e4e9af9038c2b428fc6c
MD5 c53b38f0f42cc55b99f3a8846a3b0f30
BLAKE2b-256 ebce0f7be6e5d0feafa2cda54b12e6542afeea7dea89d2d411e14da90f8abb96

See more details on using hashes here.

File details

Details for the file chromadb-1.5.9-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for chromadb-1.5.9-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc09b3df76e5a5cb386aed2715a2eea152e3949f9e1ba93c7119505377749929
MD5 7880c3d57577a4b119a22cf1fd29a8e0
BLAKE2b-256 e6ec0c42039e80b9acc534f67b73b7a42471948042859b3a64867b50a4a77fa3

See more details on using hashes here.

File details

Details for the file chromadb-1.5.9-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for chromadb-1.5.9-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9192d111bd662241625867962333d99369a00769a50f8b2f58cb388731274d7e
MD5 959dfaf0eedfbd96fa2b45495850a152
BLAKE2b-256 384e937bc4d2e6f8ab9664ec79931fbbd69efff47e513ec2924b071e4b0ff774

See more details on using hashes here.

File details

Details for the file chromadb-1.5.9-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chromadb-1.5.9-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 814b9c95617377f6501e5757d63dfddb554a283a7739c87b9fa573850174e6f3
MD5 282a740592562ac66d8ba1b7ea375d90
BLAKE2b-256 344cadcef1f4e82a2ef69ccd3711d55fc289193d54c4c0ff7a0292a3631db46f

See more details on using hashes here.

File details

Details for the file chromadb-1.5.9-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for chromadb-1.5.9-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 60701011b5e6409647fa40d12c7c5a66b2b0bfcf33a52db2ad53a30a2abc4957
MD5 99ac0a5213a4d6fc61190ab926585549
BLAKE2b-256 dd5b3cced915244f43ed14b53fe9f63a37f05f865064f4e4fe7d9448d3f2a352

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page