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.6

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.6.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.6-cp39-abi3-win_amd64.whl (22.5 MB view details)

Uploaded CPython 3.9+Windows x86-64

chromadb-1.5.6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.4 MB view details)

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

chromadb-1.5.6-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.8 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

chromadb-1.5.6-cp39-abi3-macosx_11_0_arm64.whl (20.8 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

chromadb-1.5.6-cp39-abi3-macosx_10_12_x86_64.whl (21.6 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for chromadb-1.5.6.tar.gz
Algorithm Hash digest
SHA256 fff5ea5c93d3ec2058619db652715fdc521bbe5c7bac7cc26647bcb937f75c4c
MD5 d9d74965449f134e4d3172f0387f987e
BLAKE2b-256 785273280325b5cabb4a9fb5c37a3b57144f6cc8c5863748444c52f47ae736f3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for chromadb-1.5.6-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4bff2dd1a9e07178df149f955ea239ee801596eb1eb628a65a88a67fc4c8dda1
MD5 dd85375d31b3d9caff49362b1c6419c6
BLAKE2b-256 3d605cff40b4e04ae6ad39c2d16371f13cc63029d16ef9967e3c233d6b385974

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c00b1d60e665243cfbc6bfa44e6deb855faa654f80e79f2c5ff02456f245ed5
MD5 6cd7017d91177f40a2414144a1ee7318
BLAKE2b-256 7b610705612adbc8435dbb60bfdc613c9bdec3cafcc59b2a5b161fe633cf4238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.6-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f849351f3ebe17ee4da218e98f5611975c4b8c2265ee3c98b15df8a0bab6519
MD5 b6b24709674ba256b413a30c5c59ff51
BLAKE2b-256 9368d80940279ed39c6a9b280811434f89932df7a49dde7b4b46358fd46cd91d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.6-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8027d891d5ff0f99c19403f5133cbddd31a19b0537a7d2e974a85ed5af461be2
MD5 4b880276d60c4b859867ad0c3666202b
BLAKE2b-256 d0e866cc0c8cbc65257002223eb2f050a703128b40e5d997c03df6400b8f63fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chromadb-1.5.6-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1a6469c57e0bf8f4c3ac918ae6f2e598af505648135ed23d716cf5993d8660b7
MD5 6dfa5b3d0f6dc3ae7ceed1a56a271ce3
BLAKE2b-256 79bf66dcbe7f387ed4a39c89c2816496f74d7c7007b742df1b06fea8f48a478e

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