Chapter 2

Core prompt learning techniques

Prompt learning techniques play a crucial role in so-called “conversational programming,” the new paradigm of AI and software development that is now taking off. These techniques involve the strategic design of prompts, which are then used to draw out desired responses from large language models (LLMs).

Prompt engineering is the creative sum of all these techniques. It provides developers with the tools to guide, customize, and optimize the behavior of language models in conversational programming scenarios. Resulting prompts are in fact instrumental in guiding and tailoring responses to business needs, improving language understanding, and managing context.

Prompts are not magic, though. Quite the reverse. ...

Get Programming Large Language Models with Azure Open AI: Conversational programming and prompt engineering with LLMs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.