ChromaDB integration for embcli
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5123467af735d739572acb934822894c634323f449e77fb6c7b9878aae52f87e
|
|
| MD5 |
335a9db415735ac173e6f5da2456a175
|
|
| BLAKE2b-256 |
8fda22364ebf141267f007b5cb828771664bdccf46f05d96acbf5ad708b59d8e
|
File details
Details for the file embcli_chroma-0.1.0.dev0-py3-none-any.whl.
File metadata
- Download URL: embcli_chroma-0.1.0.dev0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6b8ae3b0ae0a2856744fcf28e2946cbb9b6d0fffa5c15ad59fbc121d1d5310c
|
|
| MD5 |
2eca1968bec00c5261fe45534fd73600
|
|
| BLAKE2b-256 |
1ed39aabf2fe4877788fe4d445e5d33c47315a36a4b219df1d046f957f4b64d3
|