awesome-llm-apps/chat_with_pdf
2024-09-26 21:30:49 -05:00
..
chat_pdf.py Added New Examples 2024-04-29 15:01:47 -05:00
chat_pdf_llama3.2.py Added llama 3.2 tutorial 2024-09-26 21:30:49 -05:00
chat_pdf_llama3.py Add local chat with pdf 2024-05-22 18:58:42 -05:00
README.md Added new app demo 2024-04-30 15:23:16 -05:00
requirements.txt Added New Examples 2024-04-29 15:01:47 -05:00

📄 Chat with PDF

LLM app with RAG to chat with PDF in just 30 lines of Python Code. The app uses Retrieval Augmented Generation (RAG) to provide accurate answers to questions based on the content of the uploaded PDF.

Features

  • Upload a PDF document
  • Ask questions about the content of the PDF
  • Get accurate answers using RAG and the selected LLM

How to get Started?

  1. Clone the GitHub repository
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
  1. Install the required dependencies
pip install -r requirements.txt
  1. Get your OpenAI API Key
  • Sign up for an OpenAI account (or the LLM provider of your choice) and obtain your API key.
  1. Run the Streamlit App
streamlit run chat_pdf.py

Interactive Application Demo

https://github.com/Shubhamsaboo/awesome-llm-apps/assets/31396011/12bdfc11-c877-4fc7-9e70-63f21d2eb977