From the course: Chat with Your Data Using ChatGPT

Unlock this course with a free trial

Join today to access over 25,400 courses taught by industry experts.

Solution: Chat with your manuscript

Solution: Chat with your manuscript - OpenAI API Tutorial

From the course: Chat with Your Data Using ChatGPT

Solution: Chat with your manuscript

In this solution, the goal is to turn the agent into an interactive experience instead of a one-time analysis. I start by running a one-time bootstrap step on line 79, here, using the bootstrap underscore session function. In this step, I give the agent the manuscript page images here on line 84 and ask it to scan the chapter as a whole here on line 90. Says you are about to chat with a chapter of an undeciphered manuscript. Line 91, first scan these pages as a single chapter and write baseline findings. On line 92, focus on recurring visual structures, layout patterns, and repeated symbol clusters. And line 93, do not attempt definitive translation. This is where the agent forms its baseline understanding of the material. It's going to look for recurring visual structures, layout patterns, and repeated symbol clusters and record those findings. This happens once before any chat begins, so the agent and the user are starting from the same shared context. Once the bootstrap completes…

Contents