Skip to content

sunilkumardash9/Pdf-GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pdf-GPT

This is a Langchain project that enables you to interact with any PDFs via the Gradio chat interface. It not only fetches relevant answers but also renders relevant pages of the PDFs.

Technologies Used

  1. Langchain
  2. ChromaDB as vector store
  3. OpenAI embeddings
  4. OpenAI chat model (gpt-3.5-turbo)
  5. Gradio

Steps performed

  1. Build a chatbot interface using Gradio
  2. Extract texts from pdfs and create embeddings
  3. Store embeddings in the Chroma vector database
  4. Send query to the backend (Langchain chain)
  5. Perform a semantic search over texts to find relevant sources of data
  6. Send data to LLM (ChatGPT) and receive answers on the chatbot

Code walkthrough guide

https://www.analyticsvidhya.com/blog/2023/05/build-a-chatgpt-for-pdfs-with-langchain/

How does the end product look like

alt text

Demo Video

docpdf_qa.mp4

About

A Gradio app for chatting with PDFs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages