You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for more on how to properly specify types and descriptions of
1138
1138
schema fields when specifying a Pydantic or TypedDict class.
1139
1139
1140
-
.. versionchanged:: 0.2.26
1141
-
1142
-
Added support for TypedDict class.
1143
-
1144
1140
include_raw:
1145
1141
If False then only the parsed structured output is returned. If
1146
1142
an error occurs during model output parsing it will be raised. If True
@@ -1222,6 +1218,10 @@ class AnswerWithJustification(BaseModel):
1222
1218
# 'answer': 'They weigh the same',
1223
1219
# 'justification': 'Both a pound of bricks and a pound of feathers weigh one pound. The weight is the same, but the volume and density of the two substances differ.'
0 commit comments