Spaces:
Sleeping
Sleeping
| title: Ragent Chatbot | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 5.36.2 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: A Smart AI chatbot powered by RAG and AGENT | |
| ## π¬ Ragent Chatbot Preview | |
|  <!-- Add your app preview image in 'figure/thumbnail.png' --> | |
| # π€ Ragent Chatbot | |
| **Ragent Chatbot** is an intelligent **retrieval-augmented agent assistant** powered by LLMs. It combines the power of **RAG (Retrieval-Augmented Generation)** with **agent-based tool reasoning**, allowing it to dynamically respond using retrieved knowledge or external tools depending on the query. | |
| ## π§ What It Can Do | |
| - Answer user questions by retrieving information from a custom document store | |
| - You can upload any document and then ask the chatbot to retrieve answer of your question. | |
| - Automatically decide when to use tools (like search, calculator, etc.) | |
| - Combine multiple steps of reasoning using the ReAct agent pattern | |
| ## π Features | |
| - π **Hybrid Search**: Combines vector similarity and BM25 keyword matching for relevant document retrieval | |
| - π€ **ReAct Agent**: Uses tool-based reasoning when knowledge retrieval is insufficient | |
| - π¬ **Gradio Chat UI**: Simple and responsive chat interface | |
| - π§± **Modular Tools**: Easily extendable with tools like web search, calculator, and custom APIs | |
| ## π¦ Stack | |
| - **Frontend:** Gradio | |
| - **Agent Framework:** LangChain (ReAct agent) | |
| - **Vector DB:** Qdrant | |
| - **LLM:** Gemini | |
| - **Embedding Model:** BAAI/bge-large-en-v1.5 | |
| ## π Example Queries | |
| Try asking questions like: | |
| 1. **"What is LangChain and how is it different from LlamaIndex?"** | |
| 2. **"Who is the CEO of OpenAI and when was the company founded?"** | |
| 3. **"What is 245 * 92?"** | |
| π‘ The chatbot decides whether to use RAG or call tools like calculator or web search automatically! | |
| ## π GitHub Repository | |
| You can explore the full source code, Docker setup, and implementation details on GitHub: | |
| [π RAGent Chatbot](https://github.com/shafiqul-islam-sumon/ragent-chatbot) | |
| ## π Try It Live | |
| > Click **Open in Spaces** to launch the app | |
| Or visit: [https://huggingface.co/spaces/shafiqul1357/rag-fashion-recommendation](https://huggingface.co/spaces/shafiqul1357/rag-fashion-recommendation) |