Skip to main content

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

  1. Install build tools: pip install build twine
  2. Run python -m build to generate distribution files in dist/
  3. 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)

Source distribution for transcript-rag 0.1.0
File Size Uploaded
transcript_rag-0.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for transcript-rag 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page