This project allows users to upload multiple PDF documents and ask questions about the content of these documents. The application uses language models and vector stores to retrieve relevant information from the documents and provide responses to the user's queries.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python
- pip
Clone the repository to your local machine:
git clone <repository_url>
Navigate to the project directory:
cd <project_directory>
Install the required Python packages:
pip install -r requirements.txt
To run the application, execute the following command:
python RAGWithHF.py
- Open the application in your web browser.
- Upload your PDF documents using the file uploader in the sidebar.
- Click on 'Process' to process the uploaded documents.
- Ask a question about your documents in the text input field.
- The application will display the response to your question.
- Streamlit - The web framework used
- PyPDF2 - A library used to read PDF documents
- langchain - A library used for text splitting, embeddings, vector stores, and conversation models
- dotenv - A library used to manage environment variables
- Salah Mo - Initial work