Skip to content

ThanhDang-Vn/RAG_Basic_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Retrieval Augmented Generation from PDF

About

This is a simple program that applies LangChain, RAG (Retrieval-Augmented Generation), and LLM (Large Language Models) to create a model capable of answer questions based on PDF files

How it works:

  1. Extracts data from a PDF file and converts it into embeddings
  2. Stores the embeddings in a Vector Database for efficient retrieval
  3. When a user inputs a prompt, the system searches the vector database to find the most relevant information
  4. Uses an LLM to generate a response based on the retrieved data

This approach improves the accuracy of responses by combining retrieval-based search with generative AI

Set up environment

pip install poetry  
poetry install  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages