Skip to content

anuza08/planetAi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Q&A Planet

final_working_recording.1.mp4
Screenshot 2024-10-27 212211 Screenshot 2024-10-27 212211 Screenshot 2024-10-27 212211

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

Solution Overview

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

Backend

FastAPI: Python web framework for building the API

PyMuPDF (fitz): PDF text extraction library

SQLAlchemy: ORM for database operations

FAISS: Vector similarity search library from Facebook AI

AI/ML Components

FLAN-T5-large: Google's instruction-tuned language model for question answering

HuggingFace Transformers: For model loading and inference

Sentence Transformers: For creating document embeddings (all-MiniLM-L6-v2 model)

Infrastructure

SQLite: Lightweight database for storing documents and QA pairs

PyTorch: Deep learning framework for model inference

CUDA: GPU acceleration (if available)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published