Skip to content

Commit e3ba8e6

Browse files
committed
update
1 parent cde58f8 commit e3ba8e6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

articles/ai-services/openai/how-to/function-calling.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ At a high level you can break down working with functions into three steps:
3939
* `gpt-4o` (`2024-08-06`)
4040
* `gpt-4o` (`2024-11-20`)
4141
* `gpt-4o-mini` (`2024-07-18`)
42+
* `gpt-4.5-preview` (`2025-02-07`)
4243

4344
Support for parallel function was first added in API version [`2023-12-01-preview`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-12-01-preview/inference.json)
4445

@@ -272,6 +273,7 @@ TIMEZONE_DATA = {
272273

273274
def get_current_weather(location, unit=None):
274275
"""Get the current weather for a given location"""
276+
location_lower = location.lower()
275277
print(f"get_current_weather called with location: {location}, unit: {unit}")
276278

277279
for key in WEATHER_DATA:

articles/ai-services/openai/how-to/structured-outputs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 01/30/2025
9+
ms.date: 02/28/2025
1010
author: mrbullwinkle
1111
ms.author: mbullwin
1212
recommendations: false
@@ -25,6 +25,7 @@ Structured outputs make a model follow a [JSON Schema](https://json-schema.org/o
2525
2626
## Supported models
2727

28+
- `gpt-4.5-preview` version `2025-02-07`
2829
- `o3-mini` version `2025-01-31`
2930
- `o1` version: `2024-12-17`
3031
- `gpt-4o-mini` version: `2024-07-18`

0 commit comments

Comments
 (0)