Spaces:
Sleeping
Sleeping
metadata
title: RAG Question Answering System
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: apache-2.0
RAG Question Answering System
This application allows users to upload documents (PDF or TXT) and ask questions about their content. It uses a Retrieval-Augmented Generation (RAG) approach to provide accurate answers based on the document content.
Features
- Upload PDF or TXT documents
- Ask questions about the document content
- View the context used to generate answers
- Modern, responsive user interface
How to Use
- Upload a document (PDF or TXT) using the file upload interface
- Wait for the document to be processed
- Ask questions about the document content in the chat interface
- View the answers and the context used to generate them
Technical Details
The application consists of two main components:
- FastAPI Backend: Handles file uploads, document processing, and question answering
- React Frontend: Provides a user-friendly interface for uploading documents and asking questions
Environment Variables
OPENAI_API_KEY: Your OpenAI API key (required)
License
This project is licensed under the Apache 2.0 License.