Spaces:
Sleeping
Sleeping
metadata
title: RAGent Chatbot
emoji: π€
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.38.0
app_file: app.py
pinned: false
license: mit
short_description: A Smart AI chatbot powered by RAG and AGENT
π¬ Ragent Chatbot Preview
π€ 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:
- "What is LangChain and how is it different from LlamaIndex?"
- "Who is the CEO of OpenAI and when was the company founded?"
- "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:
π Try It Live
- Click url to launch the app in Hugging Face: RAGent Chatbot