Logo Lanfrica

Darikab7148/-amharic-ai-call-demo

Domain:

natural language processing

Record type:

software
Creator:
Dar
Host:
Native Amharic-speaking AI call agent with Twilio and OpenAI integration # Amharic AI Call Agent Demo ๐Ÿ‡ช๐Ÿ‡น A native Amharic-speaking AI call agent that enables voice-based interactions in the Amharic language using Twilio, OpenAI GPT, and FastAPI. ## ๐ŸŒŸ Features - **๐Ÿ‡ช๐Ÿ‡น Native Amharic Processing**: Understands and responds in fluent Amharic - **๐Ÿ“ž Voice Call Integration**: Seamless Twilio phone call handling - **๐Ÿค– AI-Powered Conversations**: OpenAI GPT-4o-mini for intelligent responses - **๐ŸŽ™๏ธ Speech Recognition**: Twilio Gather with Amharic language support - **๐Ÿ’ฌ Cultural Awareness**: Understands Ethiopian context and customs - **๐Ÿ’ฐ Cost-Effective**: Under $10/month operation ## ๐Ÿš€ Live Demo Call the demo number: [Your Twilio Number Here] Try speaking in Amharic: - "แŠฅแŠ•แ‹ฐแˆแŠ• แŠ แˆˆแˆ…?" (How are you?) - "แˆตแˆˆ แŠขแ‰ตแ‹ฎแŒตแ‹ซ แАแŒˆแˆญ แˆŠแˆ˜แŒฃ?" (Can you tell me about Ethiopia?) - "แ‹จแ‹›แˆฌ แ‹จแŠ แ‹จแˆญ แˆแŠ”แ‰ณ แŠฅแŠ•แ‹ดแ‰ต แАแ‹?" (How's the weather today?) ## ๐Ÿ—๏ธ Technology Stack - **FastAPI**: Modern Python web framework - **OpenAI GPT-4o-mini**: Conversational AI in Amharic - **Twilio**: Voice call handling and speech processing - **Railway.app**: Cloud deployment platform - **Python 3.11**: Runtime environment ## ๐Ÿ“ฑ How It Works 1. **๐Ÿ“ž Incoming Call**: Twilio receives voice call 2. **๐ŸŽค Speech Recognition**: Converts Amharic speech to text 3. **๐Ÿง  AI Processing**: OpenAI generates culturally-aware Amharic response 4. **๐Ÿ”Š Text-to-Speech**: Twilio converts response back to speech 5. **๐Ÿ’ฌ Continuous Conversation**: Supports back-and-forth dialogue ## โšก Quick Deploy to Railway ### Environment Variables Required: - `OPENAI_API_KEY`: Your OpenAI API key ## ๐Ÿ› ๏ธ Local Development ### Prerequisites - Python 3.11+ - OpenAI API key - Twilio account - ngrok (for local development) ### Setup 1. **Clone repository**: ```bash git clone github.com cd amharic-ai-call-demo ``` 2. **Install dependencies**: ```bash pip install -r requirements.txt ``` 3. **Set environment variables**: ```bash export OPENAI_API_KEY="your-openai-api-key" ``` 4. **Run the ser โ€ฆ