A conversational FAQ chatbot built with Python and Groq API (LLaMA 3.3 70B). Supports English, Bangla, and Banglish. Logs all conversations automatically.
- Answers questions from a custom FAQ knowledge base
- Remembers conversation context across multiple turns
- Responds in the same language the user writes in (English / Bangla / Banglish)
- Politely refuses off-topic questions
- Logs every conversation with session ID and timestamp
- Automatic retry on API failure
-
Clone the repo git clone https://github.com/yourusername/faq-bot.git cd faq-bot
-
Install dependencies pip install groq python-dotenv
-
Add your API key Create a .env file: GROQ_API_KEY=your_key_here
-
Customize the FAQ Edit faq_data.json with your own questions and answers
-
Run python bot.py
All settings are in config.py — bot name, business name, model, temperature, history length.
Thomas — AI Agent Developer