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.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-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: embcli_chroma-0.1.0.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.tar.gz
Algorithm Hash digest
SHA256 f0793147c1427e703e79135cf262ff93665c89bef7e8b712fb53ee6b460f14d8
MD5 56b1d9c7b97c000d3f54dc0e87da3dad
BLAKE2b-256 7bde2bc6842165e2937a2ec8d01122adbcb18606d6541ba6b6beedbe6c27370c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for embcli_chroma-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07419cde4099d923614cf071d08686d2d0c8e7c7ab077a0278b940c86b159c4f
MD5 2a39854027ed124a04b97b28c094febf
BLAKE2b-256 4ee153c467bc2f85f6d707f42d0944732ff72b731fcfd8e71a124594bee74529

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