- This event has passed.
8 PM – AI Agent – Joel
August 14 @ 8:00 am - 9:00 am
Today we did:
- We continued with the first project.
Homework:
- Create a new function, create_a_new_person()
- Inside the function ask AI to create a new person every you call the function, which will return a JSON in the following format
-
{ "name": "Gamas", "phone": "626-476-3067", "age": 49, "gender": "male" }
-
- If the age is between 13 and 19 then said “Gamas you are a teenager with phone number of 626-476-3067”. If not then just say “Gamas your phone number is 626-476-3067.
- Similar to JUDGE_SCHEMA, you need to create PERSON_SCHEMA and pass this to the AI.
- Inside the function ask AI to create a new person every you call the function, which will return a JSON in the following format
- Call the function from the main.