CHAPTER 2
Prompt Engineering
This chapter provides an introduction to prompt engineering as well as different types of prompts and also guidelines for effective prompts.
The first part of this chapter discusses prompt engineering, which involves various techniques, such as instruction prompts, reverse prompts, system prompts, CoT (chain of thought), and various other techniques.
The second section discusses various GPT-based LLMs, some of which might be interesting enough to delve into more deeply through other online resources.
The third section in this chapter contains some information about aspects of LLM development, such as LLM size versus performance, emergent abilities of LLMs, and undertrained models.
One other point to keep in mind: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access