final_working_recording.1.mp4
Q&A Planet is a AI platform where you can upload any document and ask question related to it
In today's digital world, we often need to extract information from large documents quickly and accurately. Manually reading through lengthy PDFs to find answers to specific questions is time-consuming and inefficient. This system solves that problem by allowing users to:
Upload PDF documents
Ask natural language questions about the content
Get accurate answers extracted by an AI model
This application uses the FLAN-T5 large language model to provide question-answering capabilities for uploaded PDF documents. The system:Processes uploaded PDFs to extract text
Creates searchable vector embeddings of the content
Uses semantic search to find relevant passages
Generates accurate answers to user questions
Key Features PDF Upload: Users can upload any PDF document
Document Management: System stores and organizes uploaded documents
Question Answering: Users can ask natural language questions about document content
Conversation History: All questions and answers are saved for future reference
Fast Semantic Search: Uses FAISS for efficient vector similarity search
Technology Stack
FastAPI: Python web framework for building the APIPyMuPDF (fitz): PDF text extraction library
SQLAlchemy: ORM for database operations
FAISS: Vector similarity search library from Facebook AI
FLAN-T5-large: Google's instruction-tuned language model for question answeringHuggingFace Transformers: For model loading and inference
Sentence Transformers: For creating document embeddings (all-MiniLM-L6-v2 model)
SQLite: Lightweight database for storing documents and QA pairsPyTorch: Deep learning framework for model inference
CUDA: GPU acceleration (if available)