November 2024
Intermediate to advanced
300 pages
7h 12m
English
Interaction with an LLM via prompting is a conversation. That conversation may play out very differently the next time I have it. As a result, it’s probably best if this chapter reads as a story about my personal interaction with ChatGPT on a small example. Accordingly, unlike the rest of the book, this chapter is written in first-person past tense.
I held my conversation with OpenAI’s chatbot, ChatGPT, which at the time was based on the GPT-4 LLM. My subsequent mentions of ChatGPT refer to this configuration. While other models may exist that have been trained to be optimized for programming tasks (Code Llama for example), the experience I relay in this chapter demonstrates an approach that will work—and ...
Read now
Unlock full access