embcli-chroma
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
Release files for embcli-chroma 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| embcli_chroma-0.1.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| embcli_chroma-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / embcli_chroma-0.1.0.tar.gz
| Download URL | embcli_chroma-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0793147c1427e703e79135cf262ff93665c89bef7e8b712fb53ee6b460f14d8
|
|
BLAKE2b-256 checksum How to use checksums |
7bde2bc6842165e2937a2ec8d01122adbcb18606d6541ba6b6beedbe6c27370c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|
Release files / embcli_chroma-0.1.0-py3-none-any.whl
| Download URL | embcli_chroma-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07419cde4099d923614cf071d08686d2d0c8e7c7ab077a0278b940c86b159c4f
|
|
BLAKE2b-256 checksum How to use checksums |
4ee153c467bc2f85f6d707f42d0944732ff72b731fcfd8e71a124594bee74529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|