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/*
Metadata
Release files for transcript-rag 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 | |
|---|---|---|---|
| transcript_rag-0.1.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| transcript_rag-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / transcript_rag-0.1.0.tar.gz
| Download URL | transcript_rag-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc9dbf43a6d372c89084c5641a18c3d90a036bdaa6fe1117a795195b603742ca
|
|
BLAKE2b-256 checksum How to use checksums |
65fcc1ac31b7c8eeb24e70f3a02ca85b77d637bf4e6a10e8430104847f37bef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / transcript_rag-0.1.0-py3-none-any.whl
| Download URL | transcript_rag-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51c0d746d9215178e848d0f2ac2dd696ca73503bf8f3810a06c6c5af997bbee2
|
|
BLAKE2b-256 checksum How to use checksums |
9450f90747d56c191f75b6882c260e487927aad306db428d957d9513f1e9b1ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|