Skip to content

Ask ChatGPT questions about a PDF file without embeddings

Notifications You must be signed in to change notification settings

unconv/gpt-pdfreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT-PDFReader

Use the ChatGPT API to answer questions about content in a PDF file without using OpenAI embeddings API.

Usage

$ ./conversation.py [PDF_FILE] [CHUNK_SIZE] [OVERLAP] [LIMIT] [MODEL]

All command line arguments are optional. You can export OPENAI_API_KEY=[YOUR_API_KEY] if you don't want to input it every time.

Requirements

$ pip install openai pypdf2

About

Ask ChatGPT questions about a PDF file without embeddings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages