Skip to content

Commit 0c4a314

Browse files
committed
acrolinx
1 parent 6f559e7 commit 0c4a314

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-services/openai/how-to/migration-javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const scope = "https://cognitiveservices.azure.com/.default";
3939
const azureADTokenProvider = getBearerTokenProvider(credential, scope);
4040
```
4141

42-
`azureADTokenProvider` will be passed to the options object when creating the `AzureOpenAI` client.
42+
`azureADTokenProvider` is passed to the options object when creating the `AzureOpenAI` client.
4343

4444
### (Highly Discouraged) API Key
4545

@@ -173,7 +173,7 @@ const result = await client.getChatCompletions(deploymentName, messages, { azure
173173

174174
---
175175

176-
- `"@azure/openai/types"` is imported which adds Azure-specific definitions (e.g. `data_sources`) to the client types
176+
- `"@azure/openai/types"` is imported which adds Azure-specific definitions (for example, `data_sources`) to the client types
177177
- The `azureExtensionOptions` property has been replaced with the inner `data_sources` property.
178178
- The `parameters` property has been added to wrap the parameters of the extension, which mirrors the schema of the Azure OpenAI service API.
179179
- Camel case properties have been replaced with snake case properties.
@@ -493,7 +493,7 @@ for (const choice of results.choices) {
493493
494494
495495
- camel case properties have been replaced with snake case properties
496-
- `"@azure/openai/types"` is imported which adds Azure-specific definitions (e.g. content_filter_results) to the client types, see the [Azure types](#azure-types) section for more information
496+
- `"@azure/openai/types"` is imported which adds Azure-specific definitions (for example, content_filter_results) to the client types, see the [Azure types](#azure-types) section for more information
497497
498498
## Comparing Types
499499

0 commit comments

Comments
 (0)