Skip to content

Commit ab74838

Browse files
Merge pull request #3494 from mrbullwinkle/patch-20
[Azure OpenAI] Remove preview
2 parents f3d044f + 7a2424f commit ab74838

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 02/28/2025
1111
manager: nitinme
1212
---
1313

14-
# How to use function calling with Azure OpenAI Service (Preview)
14+
# How to use function calling with Azure OpenAI Service
1515

1616
The latest versions of gpt-35-turbo and gpt-4 are fine-tuned to work with functions and are able to both determine when and how a function should be called. If one or more functions are included in your request, the model determines if any of the functions should be called based on the context of the prompt. When the model determines that a function should be called, it responds with a JSON object including the arguments for the function.
1717

@@ -71,7 +71,7 @@ from zoneinfo import ZoneInfo
7171
client = AzureOpenAI(
7272
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
7373
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
74-
api_version="2024-05-01-preview"
74+
api_version="2025-02-01-preview"
7575
)
7676

7777
# Define the deployment you want to use for your chat completions API calls
@@ -250,7 +250,7 @@ from zoneinfo import ZoneInfo
250250
client = AzureOpenAI(
251251
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
252252
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
253-
api_version="2024-05-01-preview"
253+
api_version="2025-02-01-preview"
254254
)
255255

256256
# Provide the model deployment name you want to use for this example

0 commit comments

Comments
 (0)