Skip to content

Commit 70306a6

Browse files
committed
acrolinx
1 parent 414e292 commit 70306a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ The following are currently unsupported with o1-series models:
6464

6565
## Usage
6666

67-
These models do [not currently support](#api--feature-support) the same set of parameters as other models that use the chat completions API.
67+
These models [don't currently support the same set of parameters](#api--feature-support) as other models that use the chat completions API.
6868

6969
# [Python (Microsoft Entra ID)](#tab/python-secure)
7070

71-
You will need to upgrade your OpenAI client library for access to the latest parameters.
71+
You'll need to upgrade your OpenAI client library for access to the latest parameters.
7272

7373
```cmd
7474
pip install openai --upgrade
7575
```
7676

77-
If you are new to using Microsoft Entra ID for authentication see [How to configure Azure OpenAI Service with Microsoft Entra ID authentication](../how-to/managed-identity.md).
77+
If you're new to using Microsoft Entra ID for authentication see [How to configure Azure OpenAI Service with Microsoft Entra ID authentication](../how-to/managed-identity.md).
7878

7979
```python
8080
from openai import AzureOpenAI
@@ -233,7 +233,7 @@ print(response.model_dump_json(indent=2))
233233
## Reasoning effort
234234

235235
> [!NOTE]
236-
> Reasoning models have `reasoning_tokens` as part of `completion_tokens_details` in the model response. These are hidden tokens that are not returned as part of the message response content but are used by the model to help generate a final answer to your request. `2024-12-01-preview` adds an additional new parameter `reasoning_effort` which can be set to `low`, `medium`, or `high` with the latest `o1` model. The higher the effort setting, the longer the model will spend processing the request, which will generally result in a larger number of `reasoning_tokens`.
236+
> Reasoning models have `reasoning_tokens` as part of `completion_tokens_details` in the model response. These are hidden tokens that aren't returned as part of the message response content but are used by the model to help generate a final answer to your request. `2024-12-01-preview` adds an additional new parameter `reasoning_effort` which can be set to `low`, `medium`, or `high` with the latest `o1` model. The higher the effort setting, the longer the model will spend processing the request, which will generally result in a larger number of `reasoning_tokens`.
237237
238238
## Developer messages
239239

@@ -246,7 +246,7 @@ Adding a developer message to the previous code example would look as follows:
246246

247247
# [Python (Microsoft Entra ID)](#tab/python-secure)
248248

249-
You will need to upgrade your OpenAI client library for access to the latest parameters.
249+
You'll need to upgrade your OpenAI client library for access to the latest parameters.
250250

251251
```cmd
252252
pip install openai --upgrade

0 commit comments

Comments
 (0)