From 81d50b1ec21b1a321b95dfde6d96ed1c892ea9c0 Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Thu, 15 Jun 2023 09:32:44 +0900 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0ac4c04..d5c77b4 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ class UserDetails(OpenAISchema): completion = openai.ChatCompletion.create( model="gpt-3.5-turbo-0613", + functions=[UserDetails.openai_schema] messages=[ {"role": "system", "content": "I'm going to ask for user details. Use UserDetails to parse this data."}, {"role": "user", "content": "My name is John Doe and I'm 30 years old."},