Spaces:
Sleeping
title: TalentTalkPro
emoji: π€
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
TalentTalkPro π€
AI-powered interview assistant using LangGraph, LangChain, and Google Generative AI for comprehensive interview practice and feedback.
π― Overview
TalentTalkPro is an advanced AI interview platform that provides realistic interview experiences with intelligent follow-up questions, real-time feedback, and comprehensive performance reports. The system uses multi-agent architecture powered by LangGraph to simulate professional interview scenarios.
ποΈ Architecture
The application consists of two main components:
Backend (FastAPI)
- Port: 8000 (internal)
- Technology: FastAPI, LangGraph, LangChain
- Features:
- Multi-agent interview system
- Real-time speech processing
- Resume analysis
- Video behavior analysis
- Performance evaluation
Frontend (Streamlit)
- Port: 7860 (Hugging Face default)
- Technology: Streamlit
- Features:
- Interactive chat interface
- Audio/video input support
- Real-time feedback display
- Performance report visualization
β¨ Features
- π€ AI-Powered Interviews: Intelligent multi-turn conversations with contextual follow-ups
- π Resume Analysis: Upload your resume for personalized interview questions
- ποΈ Voice Interaction: Record audio responses for a realistic interview experience
- πΉ Video Analysis: Optional video behavior analysis for non-verbal communication feedback
- π Performance Reports: Comprehensive evaluation with actionable feedback
- π― Customizable Settings: Configure difficulty, style, company, and role
- π Adaptive Follow-ups: Dynamic follow-up questions based on your responses
π Environment Variables
The following environment variables are required:
| Variable | Description | Required |
|---|---|---|
GOOGLE_API_KEY |
Google Generative AI API key for LLM capabilities | β Yes |
OPENROUTER_API_KEY |
OpenRouter API key for additional model access | β Yes |
ASSEMBLYAI_API_KEY |
AssemblyAI API key for speech-to-text | β Yes |
ELEVENLABS_API_KEY |
ElevenLabs API key for text-to-speech | β Yes |
DATABASE_URL |
Database connection string | β οΈ Default: sqlite+aiosqlite:///./talenttalk.db |
BACKEND_CORS_ORIGINS |
CORS allowed origins | β οΈ Default: * |
API_URL |
Frontend API URL for backend connection | β οΈ Default: http://localhost:8000/api/v1 |
π Deployment on Hugging Face Spaces
This application is configured for deployment on Hugging Face Spaces using Docker SDK. For detailed deployment instructions, see DEPLOYMENT.md.
Quick Start
- Fork or clone this repository
- Create a new Space on huggingface.co/spaces
- Select Docker SDK
- Connect your GitHub repository
- Configure environment variables in Space Settings β Repository Secrets
- Your Space will automatically build and deploy!
π» Local Development
Prerequisites
- Python 3.11+
- pip or conda
Setup
Clone the repository
git clone https://github.com/ParamJaiswal/TalentTalkPro.git cd TalentTalkProCreate environment file
cp .env.example .env # Edit .env and add your API keysInstall backend dependencies
cd backend pip install -r requirements.txtInstall frontend dependencies
cd ../frontend pip install -r requirements.txtRun backend server
cd ../backend python -m uvicorn app.main:app --reloadRun frontend (in a new terminal)
cd frontend streamlit run app.pyAccess the application
- Frontend: http://localhost:8501
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
Local Docker Testing
# Build the Docker image
docker build -t talenttalkpro .
# Run the container
docker run -p 7860:7860 \
-e GOOGLE_API_KEY=your_key \
-e OPENROUTER_API_KEY=your_key \
-e ASSEMBLYAI_API_KEY=your_key \
-e ELEVENLABS_API_KEY=your_key \
talenttalkpro
Access at: http://localhost:7860
π API Documentation
Once the backend is running, visit:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
π§ͺ Testing
cd backend
pytest tests/
π οΈ Technology Stack
- Framework: FastAPI, Streamlit
- AI/ML: LangGraph, LangChain, Google Generative AI
- Speech Processing: AssemblyAI, ElevenLabs
- Database: SQLAlchemy with SQLite/PostgreSQL support
- Async: asyncio, aiosqlite
π Documentation
- Deployment Guide - Comprehensive deployment instructions
- API Documentation - Interactive API docs (when running)
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Google Generative AI for powerful language models
- LangChain and LangGraph for agent orchestration
- AssemblyAI for speech recognition
- ElevenLabs for text-to-speech
- Hugging Face for hosting platform
π§ Contact
For questions or support, please open an issue on GitHub.
Built with β€οΈ using AI technologies