Despite the growing presence of AI chat systems, many fail to offer seamless integration between frontend interfaces and powerful language models. Real-time responsiveness, accessibility through speech, and modern user-friendly interfaces are often lacking.
The goal of this project is to create a web-based AI chatbot that combines a powerful LLM (Mistral 7B via OpenRouter) with an interactive frontend. The chatbot should:
| Component | Requirement |
|---|---|
| Backend | Python 3.x, Flask, requests, flask_cors |
| Frontend | Modern web browser (Chrome, Firefox, Edge) |
| Server Access | localhost or Ngrok (for tunneling) |
| API Response | Typically under 1.5 seconds |
| TTS/STT APIs | Web Speech API & SpeechSynthesis |
python app.py)Below is a visual demonstration of how the chatbot works:
