Embed transcript files into ChromaDB and query them with RAG
Project description
Transcript RAG
A small toolkit that embeds transcript files into ChromaDB and allows simple retrieval augmented generation queries. It exposes a command line interface via transcriptrag.
Installation
pip install transcript-rag
Usage
Embed transcripts
transcriptrag embed /path/to/transcripts --collection osce --model all-MiniLM-L6-v2
Ask a question
transcriptrag ask --collection osce "How does the student greet the patient?" --gen-model gemini-pro
The command retrieves relevant chunks from ChromaDB and sends them to the specified generation model. Ensure the appropriate API key is available in your environment for the generation model (e.g., Google Generative AI).
Publishing to PyPI
- Install build tools:
pip install build twine - Run
python -m buildto generate distribution files indist/ - Upload with
twine upload dist/*
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 transcript_rag-0.1.0.tar.gz.
File metadata
- Download URL: transcript_rag-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc9dbf43a6d372c89084c5641a18c3d90a036bdaa6fe1117a795195b603742ca
|
|
| MD5 |
2d6b5dbefda916efce2875c8d4405c04
|
|
| BLAKE2b-256 |
65fcc1ac31b7c8eeb24e70f3a02ca85b77d637bf4e6a10e8430104847f37bef9
|
File details
Details for the file transcript_rag-0.1.0-py3-none-any.whl.
File metadata
- Download URL: transcript_rag-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c0d746d9215178e848d0f2ac2dd696ca73503bf8f3810a06c6c5af997bbee2
|
|
| MD5 |
3bde505d4b4bbfa033aed942008608f2
|
|
| BLAKE2b-256 |
9450f90747d56c191f75b6882c260e487927aad306db428d957d9513f1e9b1ca
|