American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

8 PM – AI Agents – Darin

August 20 @ 8:00 pm - 9:00 pm

Today We Did
  1. We learned how to create Open AI API Key.
  2. We learned about 122 different types of OpenAI models.
Homework

Go through this website: https://developers.openai.com/api/docs/guides/text?lang=python

Answer these questions in your latest python file of which will be shared in the next class:

  • OpenAI describes three message roles: developer, user, and assistant. Explain what each one represents.
  • The documentation says that developer messages have higher priority than user messages. Suppose:

    Developer: Always answer in one sentence.
    User: Explain gravity using five paragraphs.

    Which instruction should the model follow regarding the length of the answer, and why

Details

Date:
August 20
Time:
8:00 pm - 9:00 pm
Event Categories:
,