bozcaglar/burak-chatbot
0
๐ข RAG AI Assistant
This Space hosts a Retrieval-Augmented Generation (RAG) chatbot that allows you to inject custom knowledge into an open-source Large Language Model. It is built using LangChain, FAISS, and Gradio.
๐ How to Use
- Upload a Document: Drag and drop a
.csvor.pdffile into the upload box. The app will automatically chunk the text and embed it into a FAISS vector database. Wait for the "โ Database Ready!" confirmation. - Set the Persona: Expand the "Additional Inputs" section at the bottom of the chat to customize the bot's System Prompt (e.g., "You are a pirate customer support agent").
- Chat: Ask questions! The bot will retrieve relevant chunks from your document and use them to formulate its answer.
๐ ๏ธ Tech Stack
- LLM: Mistral-7B (via Hugging Face Inference API)
- Embeddings:
sentence-transformers/all-MiniLM-L6-v2 - RAG Framework: LangChain (PyPDFLoader, CSVLoader, FAISS)
- Frontend: Gradio
