Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 330 Bytes

File metadata and controls

12 lines (12 loc) · 330 Bytes

To get started:

$ pip install pymupdf openai

To summarize a bert-paper.pdf file and save the summary to bert-paper_summary.md:

$ python summarizing_pdfs.py bert-paper.pdf bert-paper_summary.md

To change model to GPT-4:

$ python summarizing_pdfs.py bert-paper.pdf bert-paper_summary.md gpt-4