Loading repository dataβ¦
Loading repository dataβ¦
mohammadshahidbeigh / repository
ποΈ Voice-Based AI Project - An interactive web application that simulates job interviews using AI-powered voice conversations. Built with Next.js, this platform provides a realistic interview experience with real-time voice interaction and feedback.
An interactive web application that simulates job interviews using AI-powered voice conversations. Built with Next.js, this platform provides a realistic interview experience with real-time voice interaction and feedback.
The platform is built with accessibility in mind, following WCAG guidelines:
Clone the repository:
git clone https://github.com/yourusername/ai-interview-platform.git
Install dependencies:
npm install
# or
yarn install
Set up environment variables:
Create a .env.local file with the following:
OPENAI_API_KEY=your_openai_key
DEEPGRAM_API_KEY=your_deepgram_key
# Rate limiting configuration
RATE_LIMIT_POINTS=10
RATE_LIMIT_DURATION=1
RATE_LIMIT_BLOCK_DURATION=60
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
The application implements rate limiting to protect API endpoints:
| Variable | Description | Default |
|---|---|---|
OPENAI_API_KEY | OpenAI API key for LLM responses | Required |
DEEPGRAM_API_KEY | Deepgram API key for voice features | Required |
RATE_LIMIT_POINTS | Number of requests allowed per duration | 10 |
RATE_LIMIT_DURATION | Time window in seconds | 1 |
RATE_LIMIT_BLOCK_DURATION | Block duration in seconds when limit exceeded | 60 |
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.