This repository contains the code for using a large language model to answer questions based on PDF documents, based on the insights shared by AI VIETNAM. The project is organized into several components to handle different aspects of the workflow, including PDF parsing, query processing, and response generation. Each component is designed to work together to enable efficient and accurate question-answering from PDF content.
- Python 3.4+
- Anaconda
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/dauvannam1804/RAG-With-Langchain.git
-
Create a virtual environment:
conda create -n rag python=3.10
-
Activate a virtual environment:
conda activate rag
-
Activate a virtual environment:
pip install -r requirements.txt