Skip to content

Commit 3c20805

Browse files
committed
update
1 parent 87c564f commit 3c20805

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/ai-foundry/openai/how-to/reasoning.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Azure OpenAI reasoning models are designed to tackle reasoning and problem-solvi
4949
| **API Version** | [v1 preview](../api-version-lifecycle.md#api-evolution) | [v1 preview](../api-version-lifecycle.md#api-evolution) | [v1 preview](../api-version-lifecycle.md#api-evolution) |
5050
| **[Developer Messages](#developer-messages)** ||||
5151
| **[Structured Outputs](./structured-outputs.md)** ||||
52-
| **[Context Window](../concepts/models.md#o-series-models)** | Input: 200,000 <br> Output: 100,000 | Input: 272,000 <br> Output: 100,000 | Input: 272,000 <br> Output: 100,000 | Input: 200,000 <br> Output: 100,000 | Input: 200,000 <br> Output: 100,000 | Input: 200,000 <br> Output: 100,000 | Input: 128,000 <br> Output: 65,536 |
52+
| **[Context Window](../concepts/models.md#o-series-models)** | Input: 272,000 <br> Output: 128,000 | Input: 272,000 <br> Output: 128,000 | Input: 272,000 <br> Output: 128,000 |
5353
| **[Reasoning effort](#reasoning-effort)** ||||
5454
| **[Image input](./gpt-with-vision.md)** ||||
5555
| Chat Completions API ||||
@@ -61,9 +61,9 @@ Azure OpenAI reasoning models are designed to tackle reasoning and problem-solvi
6161
| [Reasoning summary](#reasoning-summary) <sup>4</sup> ||||
6262
| Streaming ||||
6363

64-
<sup>1</sup> Parallel tool calls are not supported when `reasoning_effort` is set to `minimal`.
64+
<sup>1</sup> Parallel tool calls are not supported when `reasoning_effort` is set to `minimal`<br><br>
6565
<sup>2</sup> Reasoning models will only work with the `max_completion_tokens` parameter. <br><br>
66-
<sup>3</sup> The latest reasoning models support system messages to make migration easier. You should not use both a developer message and a system message in the same API request.
66+
<sup>3</sup> The latest reasoning models support system messages to make migration easier. You should not use both a developer message and a system message in the same API request.<br><br>
6767
<sup>4</sup> Access to the chain-of-thought reasoning summary is limited access only for `o3` & `o4-mini`.
6868

6969
# [O-Series Reasoning Models](#tab/o-series)
@@ -131,7 +131,7 @@ client = AzureOpenAI(
131131
)
132132

133133
response = client.chat.completions.create(
134-
model="o1-new", # replace with the model deployment name of your o1-preview, or o1-mini model
134+
model="o1-new", # replace with your model deployment name
135135
messages=[
136136
{"role": "user", "content": "What steps should I think about when writing my first Python API?"},
137137
],
@@ -334,11 +334,11 @@ token_provider = get_bearer_token_provider(
334334
client = AzureOpenAI(
335335
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
336336
azure_ad_token_provider=token_provider,
337-
api_version="2025-03-01-preview"
337+
api_version="2025-04-01-preview"
338338
)
339339

340340
response = client.chat.completions.create(
341-
model="o1-new", # replace with the model deployment name of your o1-preview, or o1-mini model
341+
model="o1-new", # replace with your model deployment name
342342
messages=[
343343
{"role": "developer","content": "You are a helpful assistant."}, # optional equivalent to a system message for reasoning models
344344
{"role": "user", "content": "What steps should I think about when writing my first Python API?"},
@@ -366,7 +366,7 @@ from openai import AzureOpenAI
366366
client = AzureOpenAI(
367367
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT"),
368368
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
369-
api_version="2025-03-01-preview"
369+
api_version="2025-04-01-preview"
370370
)
371371

372372
response = client.chat.completions.create(
@@ -419,7 +419,7 @@ Console.WriteLine($"{completion.Role}: {completion.Content[0].Text}");
419419

420420
## Reasoning summary
421421

422-
When using the latest `o3` and `o4-mini` models with the [Responses API](./responses.md) you can use the reasoning summary parameter to receive summaries of the model's chain of thought reasoning. This parameter can be set to `auto`, `concise`, or `detailed`. Access to this feature requires you to [Request Access](https://aka.ms/oai/o3access).
422+
When using the latest reasoning models with the [Responses API](./responses.md) you can use the reasoning summary parameter to receive summaries of the model's chain of thought reasoning. This parameter can be set to `auto`, `concise`, or `detailed`. Access to this feature requires you to [Request Access](https://aka.ms/oai/o3access).
423423

424424
> [!NOTE]
425425
> Even when enabled, reasoning summaries are not generated for every step/request. This is expected behavior.

0 commit comments

Comments
 (0)