November 2024
Intermediate to advanced
464 pages
14h 38m
English
Many of the generative AI models described in previous chapters are prompt based—the large language models (LLMs) from OpenAI, text-to-image models, Stable Diffusion, and others. We interact with these models using a prompt, and at least at the base of LLMs, they respond with a prompt. Prompts are the main modality of talking to these models, which makes understanding and crafting prompts quite important.
Prompt engineering is a new technique that optimizes the performance of generative ...