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-services/openai/how-to/function-calling.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ At a high level you can break down working with functions into three steps:
39
39
*`gpt-4o` (`2024-08-06`)
40
40
*`gpt-4o` (`2024-11-20`)
41
41
*`gpt-4o-mini` (`2024-07-18`)
42
+
*`gpt-4.5-preview` (`2025-02-07`)
42
43
43
44
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)
44
45
@@ -272,6 +273,7 @@ TIMEZONE_DATA = {
272
273
273
274
defget_current_weather(location, unit=None):
274
275
"""Get the current weather for a given location"""
276
+
location_lower = location.lower()
275
277
print(f"get_current_weather called with location: {location}, unit: {unit}")
0 commit comments