Spaces:
Sleeping
Sleeping
| title: "Jupiter Help Center FAQ Bot" | |
| emoji: "π€" | |
| colorFrom: "indigo" | |
| colorTo: "green" | |
| sdk: "streamlit" | |
| sdk_version: "1.31.1" | |
| app_file: "app.py" | |
| pinned: false | |
| # π Jupiter Help Center FAQ Bot | |
| π€ Built as a real-world LLM application for Jupiterβs AI Internship Challenge | |
| This project simulates a smart, multilingual chatbot for Jupiter's customer support that can understand natural questions, fetch the most relevant FAQs from the help portal, and rephrase them professionally using an LLM β all within a clean Streamlit app. | |
| π§ What It Does | |
| β Takes any customer query β English, Hindi, or Hinglish | |
| β Searches Jupiterβs scraped FAQs using semantic search (not keywords) | |
| β Picks the most relevant answers using embeddings (FAISS) | |
| β Rewrites the answer with a clear, friendly tone using Mistral 3.2 LLM | |
| β Shows token usage and lets the user give feedback (π / π + comments) | |
| π― Key Features | |
| Feature | |
| Description | |
| π Semantic FAQ Retrieval | |
| Uses MiniLM + FAISS for fast, smart FAQ matching | |
| βοΈ LLM-Based Rephrasing | |
| Uses mistralai/mistral-small-3.2-24b-instruct via OpenRouter | |
| π Hindi + Hinglish Support | |
| Auto-translates input using langdetect + googletrans | |
| π Token Usage Display | |
| Tracks prompt, completion & total tokens per OpenRouter call | |
| π© Feedback System | |
| Lets user submit reaction and comment for each answer | |
| π§Ύ Clean Streamlit UI | |
| Simple, polished frontend with expand/collapse for top 3 FAQs | |
| πΌοΈ Demo Screenshot | |
|  | |
| π§ͺ Test This Bot With Queries Like: | |
| πΉ My KYC is pending | |
| πΉ payment deducted but not received | |
| πΉ card otp nahi aaya (Hinglish) | |
| πΉ ΰ€ͺΰ₯ΰ€Έΰ₯ ΰ€ΰ€ ΰ€ΰ€ ΰ€²ΰ₯ΰ€ΰ€Ώΰ€¨ ΰ€ΰ₯ΰ€°ΰ€Ύΰ€ΰ€ΰ₯ΰ€ΰ₯ΰ€Άΰ€¨ ΰ€¨ΰ€Ήΰ₯ΰ€ ΰ€¦ΰ€Ώΰ€ ΰ€°ΰ€Ήΰ€Ύ (Hindi) | |
| βοΈ Run This Project Locally | |
| git clone [https://github.com/yourusername/jupiter-faq-bot.git](https://github.com/Bhuteshkumarmeher07/jupiter-faq-bot/tree/main) | |
| cd jupiter-faq-bot | |
| pip install -r requirements.txt | |
| streamlit run app.py | |
| β Youβll need a free OpenRouter API key β https://openrouter.ai | |
| ποΈ Project Structure | |
| βββ app.py # Main Streamlit frontend | |
| βββ rephrase_with_mistral.py # Sends prompt to Mistral LLM via OpenRouter | |
| βββ semantic_search.py # Embedding + FAISS similarity logic | |
| βββ cleaned_faqs.json # Pre-cleaned FAQ knowledge base | |
| βββ feedback_log.csv # User feedback storage | |
| βββ requirements.txt # Python deps | |
| βββ README.md # This file | |
| π οΈ Built With | |
| Python 3.10+ | |
| Streamlit β for UI | |
| FAISS β for vector similarity search | |
| Sentence Transformers β for query/FAQ embeddings | |
| Mistral via OpenRouter β for response rewriting | |
| Langdetect + Googletrans β for multilingual input support | |
| π Optional Deployment | |
| Deploy this to: | |
| Streamlit Cloud β One-click GitHub connect | |
| Hugging Face Spaces β (also supports Streamlit apps) | |
| π About Me | |
| Name:- Bhutesh kumar meher | |
| NIT Raipur, IT branch, 2025 batch | |
| Internship Applicant @ Jupiter | |
| π« Let's connect: bhuteshkumarmeher125@gmail.com | |