Skip to content

Commit b70241c

Browse files
authored
Fix typos in azure-ai-inference samples (#42868)
1 parent 5e20087 commit b70241c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/ai/azure-ai-inference/samples/sample_chat_completions_with_structured_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def sample_chat_completions_with_structured_output():
102102
},
103103
"prep_time": {
104104
"type": "integer",
105-
"description": "Preperation time in minutes",
105+
"description": "Preparation time in minutes",
106106
},
107107
"cooking_time": {
108108
"type": "integer",

sdk/ai/azure-ai-inference/samples/sample_chat_completions_with_structured_output_pydantic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class CookingRecipe(BaseModel):
7878
title: str
7979
servings: int
8080
prep_time: int = Field(
81-
description="Preperation time in minutes",
81+
description="Preparation time in minutes",
8282
)
8383
cooking_time: int = Field(
8484
description="Cooking time in minutes",

0 commit comments

Comments
 (0)