How to Interact with PDFs Using the New ChatGPT 01-preview Model from OpenAI

Опубликовано: 20 Февраль 2026
на канале: Automata Learning Lab
2,705
32

Sup folks, I recently got beta developer API access to the o1-preview model by OpenAI and in this video I do a quick and simple rundown with Python and Jupyter Notebooks on how to use the model for summarization & question answering over pdfs as well as how to use the model as a prelude for better structured outputs (first o1-preview then structured outputs with gpt-4o), so let's do this! :)

📚 Chapters:
00:00 - Introduction & Environment Setup
01:32 - Installing the Necessary Packages
03:02 - Configuring API Keys
04:33 - Starting with OpenAI API and Initial Prompt
06:05 - Sending a Simple Prompt to OpenAI Model
08:36 - Testing Summarization with OpenAI Models
17:30 - Creating a Q&A System
21:33 - Integrating Q&A System with Structured Outputs
26:18 - Setting Up Structured Outputs with Pydantic
33:25 - Validating and Testing Structured Outputs
35:06 - Conclusion and Final Thoughts

🔗 Links:
Source code: https://github.com/EnkrateiaLucca/tes...
Subscribe!:    / @automatalearninglab  
Tiktok: https://www.tiktok.com/@enkrateialucc...
Twitter:   / lucasenkrateia  
LinkedIn:   / lucas-soares-969044167  

Support the Channel!

Buy me a cup of coffee: https://tr.ee/7tYsD-tUu2
Paypal: https://paypal.me/lucasenkrateia?coun...