Skip to main content

ChromaDB integration for embcli

Project description

embcli-chroma

PyPI GitHub Actions Workflow Status PyPI - Python Version

chroma plugin for embcli, a command-line interface for embeddings.

Reference

Installation

pip install embcli-chroma

Quick Start

Use Chroma as a Vector Database

# show general usage of emb command.
emb --help

# list all available vector stores.
emb vector-stores
ChromaVectorStore
    Vendor: chroma

# index example documents to a Chroma collection. Default chroma db path is `./chroma`.
emb ingest-sample -m sbert -c catcafe --corpus cat-names-en --vector-store chroma

# or, you can give the path to your db path.
emb ingest-sample -m sbert -c catcafe --corpus cat-names-en --vector-store chroma --persist-path /path/to/chroma

# search indexed documents in a Chroma collection.
emb search -m sbert -c catcafe -q "Who's the naughtiest one?" --vector-store chroma

# or, you can give the path to your db path.
emb search -m sbert -c catcafe -q "Who's the naughtiest one?" --vector-store chroma --persist-path /path/to/chroma

Development

See the main README for general development instructions.

Run Tests

uv run --package embcli-chroma pytest packages/embcli-chroma/tests

Run Linter and Formatter

uv run ruff check --fix packages/embcli-chroma
uv run ruff format packages/embcli-chroma

Run Type Checker

uv run --package embcli-chroma pyright packages/embcli-chroma

Build

uv build --package embcli-chroma

License

Apache License 2.0

Project details


Download files

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

Source Distribution

embcli_chroma-0.1.0.dev0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

embcli_chroma-0.1.0.dev0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file embcli_chroma-0.1.0.dev0.tar.gz.

File metadata

  • Download URL: embcli_chroma-0.1.0.dev0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for embcli_chroma-0.1.0.dev0.tar.gz
Algorithm Hash digest
SHA256 5123467af735d739572acb934822894c634323f449e77fb6c7b9878aae52f87e
MD5 335a9db415735ac173e6f5da2456a175
BLAKE2b-256 8fda22364ebf141267f007b5cb828771664bdccf46f05d96acbf5ad708b59d8e

See more details on using hashes here.

File details

Details for the file embcli_chroma-0.1.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for embcli_chroma-0.1.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6b8ae3b0ae0a2856744fcf28e2946cbb9b6d0fffa5c15ad59fbc121d1d5310c
MD5 2eca1968bec00c5261fe45534fd73600
BLAKE2b-256 1ed39aabf2fe4877788fe4d445e5d33c47315a36a4b219df1d046f957f4b64d3

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