Skip to content

TemirlanAidarov/AI-Assistent-with-PDF

Repository files navigation

PDF AI assistent

It is a Python program enabling communication with multiple PDFs through natural language. It responds to questions about the PDFs using a language model, offering accurate answers relevant to the document content. The app exclusively addresses queries related to the loaded PDFs.

How It Works


MultiPDF Chat App Diagram

The application follows these steps to provide responses to your questions:

  1. PDF Loading: The app reads multiple PDF documents and extracts their text content.

  2. Text Chunking: The extracted text is divided into smaller chunks that can be processed effectively.

  3. Language Model: The application utilizes a language model to generate vector representations (embeddings) of the text chunks.

  4. Similarity Matching: When you ask a question, the app compares it with the text chunks and identifies the most semantically similar ones.

  5. Response Generation: The selected chunks are passed to the language model, which generates a response based on the relevant content of the PDFs.

About

Python app enabling communication with multiple PDFs through natural language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages