Logo Lanfrica

hassetshi/amharic-voice-agent

Domain:

natural language processing

Record type:

software
Creator:
has
Host:
# πŸ‡ͺπŸ‡Ή Amazon Consulting β€” Amharic Voice Agent Bilingual English + Amharic voice agent for Amazon Consulting LLC Silver Spring, MD | (240) 641-1515 | dmvamazon.com --- ## Project Structure ``` amharic-voice-agent/ β”œβ”€β”€ main.py ← Entry point β€” run this β”œβ”€β”€ requirements.txt ← Python deps β”œβ”€β”€ .env.example ← Copy to .env and fill keys β”œβ”€β”€ .env ← YOUR keys (never commit!) β”‚ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ app.py ← FastAPI factory β”‚ β”œβ”€β”€ config.py ← All env vars + validation β”‚ β”œβ”€β”€ prompts.py ← Amharic + English scripts β”‚ β”œβ”€β”€ session.py ← Call session state manager β”‚ β”œβ”€β”€ services.py ← STT / LLM / TTS / GHL β”‚ └── routes/ β”‚ β”œβ”€β”€ health_routes.py ← /health /test-amharic /test-chat β”‚ └── call_routes.py ← /incoming-call + WebSocket β”‚ β”œβ”€β”€ tests/ β”‚ └── test_all.py ← Full test suite β”‚ β”œβ”€β”€ audio_samples/ ← Generated MP3 test files └── .vscode/ β”œβ”€β”€ launch.json ← Debug configs └── settings.json ← Python settings ``` --- ## Setup in VS Code β€” Step by Step ### Step 1 β€” Open Project ```bash # Open VS Code in the project folder code amharic-voice-agent ``` Or: File β†’ Open Folder β†’ select `amharic-voice-agent` --- ### Step 2 β€” Create Virtual Environment Open VS Code terminal (`Ctrl+`` ` or Terminal β†’ New Terminal): ```bash # Create venv python3 -m venv venv # Activate (Mac/Linux) source venv/bin/activate # Activate (Windows) venv\Scripts\activate # You should see (venv) in your terminal prompt ``` --- ### Step 3 β€” Install Dependencies ```bash pip install -r requirements.txt ``` Takes 2-3 minutes. You'll see packages installing. --- ### Step 4 β€” Set Up API Keys ```bash # Copy the template cp .env.example .env # Open .env and fill in your keys code .env ``` Fill in these keys (get them from each service): | Key | Where to get it | |-----|----------------| | `DEEPGRAM_API_KEY` | console.deepgram …