Skip to content

Choose your own adventure

Photo of Godfrey Nolan
Hosted By
Godfrey N.
Choose your own adventure

Details

Part 1: Calling a Chat Completion with Python

  • Theory:
  • Introduction to OpenAI's ChatGPT API: Discuss what the API offers and typical use cases. Understanding API keys and usage limits: Explain how to obtain an API key and the importance of managing usage to avoid excess charges.
  • Practical Demonstration
  • Setting up the vscode environment: Guide participants through setting up Python and necessary libraries.
  • Coding Session: Write a simple Python script to call ChatGPT API and the DallE API. Explain each part of the code, including handling API keys securely and parsing responses.

Part 2: Creating a Choose Your Own Adventure Game

  • Concept Introduction
  • Explain the structure of a Choose Your Own Adventure (CYOA) game.
  • Discuss how ChatGPT can be used to generate story elements and DALL·E to create accompanying visuals.
  • Practical Demonstration
  • Walk through finished CYOA code
Photo of OpenAI Application Explorers group
OpenAI Application Explorers
See more events
FREE