Prompt Engineering for LLMs : The Art and Science of Building Large Language Model-Based Applications - John Berryman

Prompt Engineering for LLMs

The Art and Science of Building Large Language Model-Based Applications

By: John Berryman, Albert Ziegler

Paperback | 29 November 2024

At a Glance

Paperback


$66.25

or 4 interest-free payments of $16.56 with

 or 

Aims to ship in 15 to 25 business days

Large language models (LLMs) promise unprecedented benefits. Well versed in common topics of human discourse, LLMs can make useful contributions to a large variety of tasks, especially now that the barrier for interacting with them has been greatly reduced. Potentially, any developer can harness the power of LLMs to tackle large classes of problems previously beyond the reach of automation.

This book provides a solid foundation of LLM principles and explains how to apply them in practice. When first integrating LLMs into workflows, most developers struggle to coax useful insights from them. That's because communicating with AI is different from communicating with humans. This guide shows you how to present your problem in the model-friendly way called prompt engineering.

With this book, you'll:

  • Examine the user-program-AI-user model interaction loop
  • Understand the influence of LLM architecture and learn how to best interact with it
  • Design a complete prompt crafting strategy for an application that fits into the application context
  • Gather and triage context elements to make an efficient prompt
  • Formulate those elements so that the model processes them in the way that's desired
  • Master specific prompt crafting techniques including few-shot learning, and chain-of-thought prompting

More in Machine Learning

Learning to Flourish in the Age of AI - Stephen M. Kosslyn

RRP $284.00

$200.95

29%
OFF
Learning to Flourish in the Age of AI - Stephen M. Kosslyn

RRP $48.99

$45.90

How We Learn : The New Science of Education and the Brain - Stanislas Dehaene
Learning Spark : Lightning-Fast Data Analytics - Jules S. Damji

RRP $152.00

$66.25

56%
OFF
Introducing MLOps : How to Scale Machine Learning in the Enterprise - Mark Treveil
Practical Weak Supervision : Doing More with Less Data - Wee Hyong Tok
Scaling Python with Dask : From Data Science to Machine Learning - Holden Karau