Loopskey-logo
CourseTechnology

Prompt Engineering with GPT: Programming for Custom Content

By External Provider

Price

Free

Go to content

Opens coursera.org in a new tab

Level

INTERMEDIATE

Duration

2 h

About this course

Ever wondered how we can use AI in programing to make our workloads easier? In this 2-hour long project-based course, you will master the art of prompt engineering to design an educational tool using the capabilities of OpenAI's GPT-3 language model. You will be creating a multiple-choice quiz generator using Python and GPT-3. You will write a Python script from scratch that is able to generate a custom multiple-choice exam, capable of dynamically adjusting the topic, number of questions, and number of potential answers. To successfully navigate this project, you should have a basic understanding of Python programming, functions, variable assignments, and experience working with APIs.

What you will learn

  • Recognize the affect of poorly designed prompts when creating a multiple choice quiz
  • Utilise expertly designed prompts to create a quiz on a specific topic that represents the exact format and level-grading that we want
  • Develop a Python program that dynamically generates a multiple-choice quiz on any topic based on a topic, number of questions, and possible answers