Skip to content

unconv/php-gpt-pdfreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-GPT-PDFReader

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

Usage

$ php conversation.php

You can export OPENAI_API_KEY=[YOUR_API_KEY] if you don't want to input it every time.

Requirements

The PDF to text conversion requires pdftotext:

$ sudo apt install poppler-utils

About

Answer questions about PDF files with PHP and ChatGPT API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages