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
Copy file name to clipboardExpand all lines: articles/ai-foundry/model-inference/includes/use-structured-outputs/python.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ class Issue(BaseModel, extra="forbid"):
198
198
Some things to notice:
199
199
200
200
* We represent schemas using a class that inherits from `BaseModel`.
201
-
* We set `extra="forbid"` to instruct Pyndantic to _not_ accept additional properties from what we've specified.
201
+
* We set `extra="forbid"` to instruct Pydantic to _not_ accept additional properties from what we've specified.
202
202
* We use type annotations to indicate the expected types.
203
203
*`Literal` indicates we expect specific fixed values.
204
204
@@ -330,7 +330,7 @@ Let's consider the following chart:
330
330
331
331
:::image type="content" source="../../media/use-structured-outputs/example-graph-treecover.png" alt-text="An example image showing a chart with the annual loss in thousand square kilometers of global tree cover across different climate zones." lightbox="../../media/use-structured-outputs/example-graph-treecover.png":::
332
332
333
-
We can define a generic schema that can be used to encode the information contained in the chart and then use it for further analysis. We use [Pyndatic objects as described before](#use-pydantic-objects).
333
+
We can define a generic schema that can be used to encode the information contained in the chart and then use it for further analysis. We use [Pydantic objects as described before](#use-pydantic-objects).
0 commit comments