Hands-On Prompt Engineering
Learning to Program ChatGPT Using OpenAI APIs
1. Edition February 2025
432 Pages, Softcover
Wiley & Sons Ltd
A comprehensive introduction to the fundamentals of prompt engineering with ChatGPT
Hands-On Prompt Engineering: Learning to Program ChatGPT Using OpenAI APIs is a practical and essential resource for any professional looking to implement AI in their business. This book teaches you the basics of prompt engineering, which lets you program ChatGPT to perform tasks. It focuses on business applications of AI and walks you through the process of implementing techniques and algorithms using available software tools. You'll also learn the approaches and best practices that have led to success for leaders in this area.
Prompt engineering differs from the process of coding traditional queries in a few key ways. With prompt engineering, task descriptions are formulated as questions, so the description of the task is embedded in the input given to the AI. Additionally, some language models can be trained to complete tasks using information contained in the prompts (prompt-based learning). Hands-On Prompt Engineering teaches you to work with these and pretrained models using Python code.
* Learn what types of AI language model tasks can be productively automated through prompt engineering
* Use Python to program OpenAI's ChatGPT3 and add business value
* Discover the best practices and proven techniques in the emerging field of prompt engineering
* Get hands-on guidance for optimizing the output you receive from ChatGPT and other AI models
Hands-On Prompt Engineering is an essential resource for software engineers, MLOps engineers, data scientists, and other business professionals interested in utilizing AI and natural language processing with prompt engineering.