Essentials of Prompt Engineering

via AWS Skill Builder

AWS Skill Builder

414 Courses


course image

Overview

In this course, you will be introduced to the fundamentals of crafting effective prompts. You will gain an understanding of how to refine and optimize prompts for a range of use cases. You will also explore techniques like zero-shot, few-shot, and chain-of-thought prompting. Finally, you will learn to identify potential risks associated with prompt engineering.

  • Course level: Fundamental
  • Duration: 60 minutes

Activities

This course includes interactive elements, videos, text instruction, and illustrative graphics.

Course objectives

In this course, you will learn how to do the following:

  • Define the fundamental elements of a prompt.
  • Define negative prompting.
  • Describe the effect of inference parameters on model outputs.
  • Identify best practices for designing effective prompts.
  • Describe fundamental prompt engineering techniques including zero-shot, few-shot, and chain-of-thought prompting.
  • Identify common prompt misuses and risks.

Intended audience

This course is intended for the following:

  • Individuals interested in machine learning and artificial intelligence, independent of a specific job role

Prerequisites

Developing Generative AI Solutions is part of a series that facilitates a foundation on artificial intelligence, machine learning, and generative AI. If you have not done so already, it is recommended that you complete these two courses:

  • Fundamentals of Machine Learning and Artificial Intelligence
  • Exploring Artificial Intelligence Use Cases and Applications

Course outline

Section 1: Introduction

  • How to Use This Course
  • Introduction
    • Welcome video

Section 2: Prompt Basics

  • Understanding Prompts
    • Elements of a prompt
  • Modifying Prompts
    • Inference parameters
    • Best practices for prompting
  • Prompt Engineering Techniques
    • Zero-shot prompting
    • Few-shot prompting
    • Chain-of-thought prompting
  • Knowledge check

Section 3: Risks

  • Prompt Misuses and Risks
    • Poisoning, hijacking, and prompt injection
    • Exposure and prompt leaking
    • Jailbreaking
  • Knowledge check

Section 4: Conclusion

  • Resources
    • Links to prompt engineering resources
  • Contact Us

Keywords

  • Gen AI
  • Generative AI

Syllabus


Taught by


Tags

united states

Found in