--- title: MANIT Bhopal Expert Assistant emoji: 🎓 colorFrom: indigo colorTo: blue sdk: gradio app_file: app.py python_version: 3.11 pinned: false sdk_version: 5.44.1 --- # 🎓 MANIT Bhopal Expert Assistant This is an advanced Retrieval-Augmented Generation (RAG) chatbot designed to answer questions about the Maulana Azad National Institute of Technology (MANIT), Bhopal. ### ✨ Features * **Hybrid Search:** Combines semantic (FAISS) and keyword (BM25) search for robust retrieval. * **Reranking:** Uses a powerful Cross-Encoder model to re-rank search results for higher accuracy. * **Web Search:** For time-sensitive or recent questions, the bot can perform a live web search using the Tavily API. * **Advanced Processing:** Includes specialized text cleaning and semantic chunking optimized for academic documents. ### 🚀 How to Use Simply type your question about MANIT Bhopal into the textbox and press send. The bot will retrieve the most relevant information from its knowledge base and generate a comprehensive answer. ### 💡 Deployment Notes * This application uses API keys for OpenRouter and Tavily, which are stored securely in the Space's secrets. * The embedding and reranker models run on the assigned Space hardware. For best performance, a T4 GPU is recommended.