|
@@ -1,3 +1,13 @@
|
|
# pdfGPT
|
|
# 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!
|
|
|
|
|
|
+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)
|
|
|
|
+```
|