Introduction to Prompt Engineering
Learn important prompt engineering techniques to build use cases with LLMs.
Learn how to apply effective prompting techniques with best practices
Develop a systematic framework for prompting and building with LLMs
Learn from common use cases how to best apply prompt engineering techniques
Introduction to Prompt Engineering
About the Instructor
Course Objectives
Course Structure
The tools and environment
Setting up your Playground
Setting up the OpenAI Playground
What are LLMs?
Base LLM vs. Instruction-Tuned LLM
LLMs and LLM Providers
Chat LLMs
Chat LLM Common Use Cases
How to Leverage LLMs?
Quiz
What is Prompt Engineering?
Why Prompt Engineering?
Elements of a Prompt
First Basic Prompt
Quiz
Introduction to the OpenAI Playground
OpenAI Playground - Roles
OpenAI Playground - Temperature
OpenAI Playground - Text Classification
OpenAI Playground - Role Playing
Exercise 1: Getting Started with OpenAI Playground
Exercise 2: Text Summarization
What makes a good prompt?
Be clear and specific when prompting
Using delimiters
Specifying output length
Output format
Split Complex Tasks into Subtasks
Introduction to Few-shot prompting
How many demonstrations?
Tips for preparing demonstrations
Quiz
OVERVIEW
This course focuses on key prompt engineering techniques for large language models (LLMs) and how to effectively apply them in various scenarios and use cases. After completing this course, students will have a clear and systematic framework for how to effectively and efficiently prompt LLMs to enable a variety of tasks and use cases.
PREREQUISITES
This course doesn't have any prerequisites. The main tool you will use is the OpenAI Playground, therefore, no programming is required. You will need to create a paid account using OpenAI. More details and instructions are provided in the course.
TOPICS
Throughout the course, students will utilize the OpenAI Playground, to design and optimize their prompts for several use cases.
Key concepts covered in the course include: