Summarizing PDFs with ChatGPT in Python