🌐 فراتر از مرزها؛ مسیر بین‌المللی CardDev

Book Prompt Engineering for Generative AI

121 Flashcards
128 Gallery cards
249 Audio
121 Prompts
121 Glossary

Large language models (LLMs) and diffusion models such as ChatGPT and Stable Diffusion have unprecedented potential. Because they have been trained on all the public text and images on the internet, they can make useful contributions to a wide variety of tasks. And with the barrier to entry greatly reduced today, practically any developer can harness LLMs and diffusion models to tackle problems previously unsuitable for automation. With this book, you'll gain a solid foundation in generative AI, including how to apply these models in practice. When first integrating LLMs and diffusion models into their workflows, most developers struggle to coax reliable enough results from them to use in automated systems. Authors James Phoenix and Mike Taylor show you how a set of principles called prompt engineering can enable you to work effectively with AI.

Cover of Prompt Engineering for Generative AI
O’Reilly

Book overview

A look at the structure and key facts of the book

Publication date

Publication date

May 16, 2024

Edition

Edition

1 edition

Total chapters

Total chapters

10 chapters

Total pages

Total pages

422 pages

Level

Level

Beginner to intermediate

Prompt Engineering for Generative AI

Large language models (LLMs) and diffusion models such as ChatGPT and Stable Diffusion have unprecedented potential. Because they have been trained on all the public text and images on the internet, they can make useful contributions to a wide variety of tasks. And with the barrier to entry greatly reduced today, practically any developer can harness LLMs and diffusion models to tackle problems previously unsuitable for automation.

With this book, you'll gain a solid foundation in generative AI, including how to apply these models in practice. When first integrating LLMs and diffusion models into their workflows, most developers struggle to coax reliable enough results from them to use in automated systems. Authors James Phoenix and Mike Taylor show you how a set of principles called prompt engineering can enable you to work effectively with AI.

Browse this section to get a quick overall picture of the book's content.

Principles of Prompt Engineering

The book introduces five key principles for effective interaction with AI models. These principles include:

  • Providing clear direction to the model.
  • Specifying the desired output format.
  • Providing examples for guidance.
  • Evaluating the quality of responses.
  • Dividing complex tasks into smaller, manageable steps.

Practical Application of Language and Image Models

The authors explore how to integrate language models and diffusion models into real-world workflows. This section helps developers manage challenges related to coaxing reliable results from these systems. Topics include advanced techniques such as prompt chaining and the use of vector databases to improve output accuracy.

The authors behind this book are among the most prominent experts and pioneers of their field. Their work is the result of years of hands-on experience, deep research and collaboration with the world's largest technology organizations and companies.Each of these authors, through specialist books and articles, has played an important role in shaping and advancing technical knowledge worldwide.

Comments

Readers' experience with this book - comments from buyers and other users

Book release

Published

Produced on
September 22, 2026
Rating
5.0
Prerequisites
None

Reading time

10:23

Book type

Subscription

Participants

Be the first

Last updated

Oct 20, 2026