With Retrieval-Augmented Generation (RAG), the LangChain framework provides chat interaction with RAG by extracting information from URL or PDF sources using OpenAI embedding and Gemini LLM (Large Language Model).
To run the project on your local machine, follow these steps:
-
Clone the project repository:
git clone https://github.com/serkanyasr/RAG-with-LangChain-URL-PDF.git
-
Navigate to the project directory:
cd RAG-with-LangChain-URL-PDF
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
RAG-with-LangChain-URL-PDF.mp4
- Update API keys and environment in
app.py
.
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-name
. - Submit a pull request.
This project is licensed under the MIT License.