Update README.md

This commit is contained in:
Jason Liu
2023-06-15 09:32:44 +09:00
committed by GitHub
parent 7555ef01ae
commit 81d50b1ec2
+1
View File
@@ -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."},