Skip to content

This is a simple prototype of ChatPDF that you can have gpt to read, summarize the PDF and ask gpt questions about the pdf.

Notifications You must be signed in to change notification settings

zongwu233/mini-chatpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Intro

this is a demo for gpt reading pdf with llama_index.

Install dependencies

you need python3. Then execute the command:

pip install -r requirements.txt

Usage

  1. put the pdfs in this project root path.
  2. create a .env file, and set OPENAI_API_KEY variable using your openai api key.

you can run main.py . It's a CLI. CLI-demo

python3 main.py

or run the streamlit, It's a web app. streamlit-demo

streamlit run streamlit_web.py 

have fun!

About

This is a simple prototype of ChatPDF that you can have gpt to read, summarize the PDF and ask gpt questions about the pdf.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages