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

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.8.tar.gz (2.5 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.8-cp39-abi3-win_amd64.whl (23.4 MB view details)

Uploaded CPython 3.9+Windows x86-64

chromadb-1.5.8-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.2 MB view details)

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

chromadb-1.5.8-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.6 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

chromadb-1.5.8-cp39-abi3-macosx_11_0_arm64.whl (21.6 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

chromadb-1.5.8-cp39-abi3-macosx_10_12_x86_64.whl (22.5 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for chromadb-1.5.8.tar.gz
Algorithm Hash digest
SHA256 9f5dfaea989128793c4e1928de6a150d70ae55e44403d85448be94ff32f2c962
MD5 bec5e492c47584f82f31f9e94fed85f4
BLAKE2b-256 984539696984553ede2bed1c54550f194111c66ef6ba86c0cd5bd8099d39b2c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromadb-1.5.8-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 23.4 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.8-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b7490b26843c9851e1e9bb0333a1d584e5e77b5a49a78713424600af9b3a28e6
MD5 abfb770e07af5f02d8b6ccd758ab276f
BLAKE2b-256 5eead6df4e0718bde638563225c8690be110f53874d5b5fb74f347d9a7747a1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.8-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9494f0cf734dcfd2976890f9e3a446fdd5ca565375ffebe0de388ce994ac1f5e
MD5 10bb81233fdeb1046a6f3610b5446fdc
BLAKE2b-256 4d4553556edcbbd273c54b81e07c1b21c79f7209ab4edf9603f94babb4ecf4f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.8-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 33976c781a9d6e6386a15481a58f5bde88e68fce87925aa5f30bca4f142c8303
MD5 5c55ca4174b7b1329468b323841acf0a
BLAKE2b-256 7fde3c4c0661152cef02b5d0684fa8d0195aa36d3242e56903d211ff2acd3424

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.8-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 852aae44eac81d73e9c349e8daa2eaa34873576afeb2604765aeebd01eb03346
MD5 ab3ad8a61804b00f29742cd927a30af4
BLAKE2b-256 82904d8ebfc4c168295b2e903dd385f4b76b155980d3c8db69e7383a6770e178

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.8-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 397331d749aefc95222733509172b4598688d7306659459a59421f8763ba83b7
MD5 be6b18202a61e891d0d38bbcb381fada
BLAKE2b-256 e9205c0218014f1dd8f39e48e9e7d4dc15bd36039510747a167a29e5999d1d68

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