PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The only open source solution to turn your pdf files in a chatbot!

天问 09233faaa4 Update 'README.md' 1 month ago
README.md 09233faaa4 Update 'README.md' 1 month ago

README.md

pdfGPT

PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The only open source solution to turn your pdf files in a chatbot!

https://github.com/CosmosShadow/gptpdf

from gptpdf import parse_pdf
api_key = 'Your OpenAI API Key'
content, image_paths = parse_pdf(pdf_path, api_key=api_key)
print(content)