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
- Extracts data from a PDF file and converts it into embeddings
- Stores the embeddings in a Vector Database for efficient retrieval
- When a user inputs a prompt, the system searches the vector database to find the most relevant information
- 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
pip install poetry
poetry install