Skip to content

Prompt Engineering with watsonx.ai

Welcome! The goals of this workshop are the following:

  • Gain a comprehensive understanding of prompt engineering
  • Learn techniques to achieve the best results with Large Language Models
  • Apply learnings through completion of a diverse set of prompt engineering exercises

About this workshop

Part art, part science, prompt engineering is the process of crafting input text to fine-tune a given large language model for best effect.

Foundation models have billions of parameters and are trained on terabytes of data to perform a variety of tasks, including text-, code-, or image generation, classification, conversation, and more. A subset known as large language models are used for text- and code-related tasks. When it comes to prompting these models, there isn't just one right answer. There are multiple ways to prompt them for a successful result.

In this workshop, you will learn the basics of prompt engineering, from monitoring your token usage to balancing intelligence and security. You will be guided through a range of exercises where you will be able to utilize the different techniques, dials, and levers illustrated in order to get the output you desire from the model. Participants of this workshop will be equipped with a comprehensive understanding of prompt engineering along with the practical skills required to achieve the best results with large language models.

Agenda

Lab 0: Pre-work Registration and Setup
Lab 1: The Basics of Prompt Engineering Introduction and Examples
Lab 2: Go Futher with RAG Retrieval Augmented Generation
Lab 3: Apply What You Learned Basic Exercises

Further Study

Generative AI: Prompt Engineering Basics by IBM through Coursera

Prompt Engineering for Everyone by IBM through CognitiveClass.ai