Loading Events

« All Events

  • This event has passed.

8 PM – AI Agents – Darin

September 3 @ 8:00 pm - 9:00 pm

Today We Did

  1. Got started on the 20 questions game using OpenAI API

Homework

  1. Count how much it costs to run a game of 20_questions with gpt-5. You may need to edit the functions to return response.usage.input_tokens and response.usage.output_tokens
  2. Add error handling for failing to generate responses
  3. Fix the game by adding better logging of the prompt and model output

Notes:

You can reach me at ddjapri@ayclogic.com.

All class notes can be found here.

Details