Название: Prompt Engineering in Action (MEAP v4)
Автор: Naresh Vurukonda, Shivendra Srivastava
Издательство: Manning Publications
Год: 2025
Страниц: 244
Язык: английский
Формат: pdf (true), epub
Размер: 21.1 MB
Tested techniques for writing excellent AI prompts! Each LLM seems to have a mind of its own, and it can be challenging to get the exact results you want. Prompt Engineering in Action teaches you to write prompts that generate the text and code you want, regardless of the LLM you choose. In it, you’ll discover structured and reusable prompt patterns that reduce hallucinations, customize LLMs to specific tasks, and improve the quality of your code generation. Prompt Engineering in Action teaches universal prompting principles, each illustrated with concise examples of a prompt in action. You’ll find more than just simple prompt-and-response methods. It goes beyond the basics of prompting to explore reusability, scaling for prompts, and managing stochastic responses. Dive into prompt patterns such as Persona, Game-Play, and Recipe patterns, and into emerging techniques such as Retrieval-Augmented Generation (RAG) and dynamic agents. You’ll soon be building solutions that are efficient, accurate, and highly adaptable for real-world applications. For readers familiar with the basics of working with LLMs.