mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
formatting
This commit is contained in:
@@ -12,6 +12,7 @@ class UserExtract(BaseModel):
|
||||
name: str
|
||||
age: int
|
||||
|
||||
|
||||
user: UserExtract = openai.ChatCompletion.create(
|
||||
model="gpt-3.5-turbo",
|
||||
response_model=UserExtract,
|
||||
@@ -20,4 +21,4 @@ user: UserExtract = openai.ChatCompletion.create(
|
||||
],
|
||||
) # type: ignore
|
||||
|
||||
print(user)
|
||||
print(user)
|
||||
|
||||
Reference in New Issue
Block a user