Paste a raw discovery call transcript, choose a mode, and get a structured client brief — displayed in the browser and downloadable as plain text.
1. Clone and install dependencies
git clone <your-repo-url>
cd transcript-brief-generator
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install fastapi uvicorn anthropic python-dotenv2. Add your API key
cp .env.example .env
# Edit .env and replace the placeholder with your Anthropic API key3. Run
uvicorn main:app --reloadOpen http://localhost:8000 in your browser.
- Paste a raw transcript into the text box
- Choose a mode:
- Standard — produces the operational brief only
- My Lens — produces the operational brief plus a deeper framework layer
- Click Generate Brief
- View the brief in the browser or click Download .txt to save it
Open config.py. It has two clearly labeled sections:
OPERATIONAL_FIELDS = [
"[YOUR FRAMEWORK FIELD 1]",
...
]Replace each placeholder with the field names from your diagnostic framework. These appear in both Standard and My Lens mode.
MY_LENS_QUESTIONS = [
"[YOUR LENS QUESTION 1]",
...
]Replace each placeholder with the deeper questions from your proprietary framework. These appear only in My Lens mode, after the operational brief.
Add or remove items from either list freely. The prompt is built dynamically from whatever is in these two lists.
pip install pytest
pytest tests/Tests use mocked API responses — no real API calls are made.