Skip to content

Commit d73fc39

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into WI194292-servers-deploy
2 parents a9a8029 + 5456dbd commit d73fc39

File tree

335 files changed

+2730
-1901
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+2730
-1901
lines changed

articles/active-directory-b2c/partner-bindid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this tutorial, learn to integrate Azure Active Directory B2C (Azure AD B2C) a
2323

2424
The following architecture diagram illustrates the implementation:
2525

26-
![Diagram of the Transmit and Azure AD B2C architecture.](media/partner-bindid/partner-TransmitSecurity-architecture-diagram.png)
26+
![Diagram of the Transmit and Azure AD B2C architecture.](media/partner-bindid/partner-transmit-security-architecture-diagram.png)
2727

2828
1. User opens the Azure AD B2C sign-in page, and signs in or signs up.
2929
2. Azure AD B2C redirects the user to Transmit Security using an OpenID Connect (OIDC) request.

articles/ai-services/LUIS/includes/sdk-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Create two sets of variables: the first set you change, the second set leave as
118118

119119
## Authenticate the client
120120

121-
Create an [CognitiveServicesCredentials](/python/api/msrest/msrest.authentication.cognitiveservicescredentials) object with your key, and use it with your endpoint to create an [LUISAuthoringClient](/python/api/azure-cognitiveservices-language-luis/azure.cognitiveservices.language.luis.authoring.luisauthoringclient) object.
121+
Create an CognitiveServicesCredentials object with your key, and use it with your endpoint to create an [LUISAuthoringClient](/python/api/azure-cognitiveservices-language-luis/azure.cognitiveservices.language.luis.authoring.luisauthoringclient) object.
122122

123123
[!code-python[Authenticate the client](~/cognitive-services-quickstart-code/python/LUIS/sdk-3x/authoring_and_predict.py?name=AuthoringCreateClient)]
124124

articles/ai-services/content-moderator/includes/quickstarts/python-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ These code snippets show you how to do the following tasks with the Content Mode
8686

8787
## Authenticate the client
8888

89-
Instantiate a client with your endpoint and key. Create a [CognitiveServicesCredentials](/python/api/msrest/msrest.authentication.cognitiveservicescredentials) object with your key, and use it with your endpoint to create an [ContentModeratorClient](/python/api/azure-cognitiveservices-vision-contentmoderator/azure.cognitiveservices.vision.contentmoderator.content_moderator_client.contentmoderatorclient) object.
89+
Instantiate a client with your endpoint and key. Create a CognitiveServicesCredentials](/python/api/msrest/msrest.authentication.cognitiveservicescredentials object with your key, and use it with your endpoint to create an [ContentModeratorClient](/python/api/azure-cognitiveservices-vision-contentmoderator/azure.cognitiveservices.vision.contentmoderator.content_moderator_client.contentmoderatorclient) object.
9090

9191
[!code-python[](~/cognitive-services-quickstart-code/python/ContentModerator/ContentModeratorQuickstart.py?name=snippet_client)]
9292

articles/ai-services/immersive-reader/tutorial-ios-picture-immersive-reader.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class PictureLaunchViewController: UIViewController, UINavigationControllerDeleg
342342
self.cameraButton.isEnabled = true
343343

344344
}, onFailure: { error in
345-
print("An error occured launching the Immersive Reader: \(error)")
345+
print("An error occurred launching the Immersive Reader: \(error)")
346346
self.spinner.stopAnimating()
347347
self.activityIndicatorBackground.alpha = 0
348348
self.photoButton.isEnabled = true
@@ -357,7 +357,7 @@ class PictureLaunchViewController: UIViewController, UINavigationControllerDeleg
357357
self.cameraButton.isEnabled = true
358358

359359
}
360-
print("An error occured retrieving the token: \(error)")
360+
print("An error occurred retrieving the token: \(error)")
361361
})
362362

363363
}, onFailure: { error in
@@ -375,7 +375,7 @@ class PictureLaunchViewController: UIViewController, UINavigationControllerDeleg
375375
/// -onSuccess: A closure that gets called when the token is successfully recieved using Azure Active Directory authentication.
376376
/// -theToken: The token for the Immersive Reader recieved using Azure Active Directory authentication.
377377
/// -onFailure: A closure that gets called when the token fails to be obtained from the Azure Active Directory Authentication.
378-
/// -theError: The error that occured when the token fails to be obtained from the Azure Active Directory Authentication.
378+
/// -theError: The error that occurred when the token fails to be obtained from the Azure Active Directory Authentication.
379379
func getToken(onSuccess: @escaping (_ theToken: String) -> Void, onFailure: @escaping ( _ theError: String) -> Void) {
380380

381381
let tokenForm = "grant_type=client_credentials&resource=https://cognitiveservices.azure.com/&client_id=" + Constants.clientId + "&client_secret=" + Constants.clientSecret

articles/ai-services/language-service/personally-identifiable-information/concepts/conversations-entity-categories.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The PII preview feature includes the ability to detect personal (`PII`) informat
2222

2323
The following entity categories are returned when you're sending API requests PII feature.
2424

25-
## Category: Name
25+
## Category: Person
2626

2727
This category contains the following entity:
2828

@@ -38,7 +38,9 @@ This category contains the following entity:
3838

3939
All first, middle, last or full name is considered PII regardless of whether it is the speaker’s name, the agent’s name, someone else’s name or a different version of the speaker’s full name (Chris vs. Christopher).
4040

41-
To get this entity category, add `Name` to the `pii-categories` parameter. `Name` will be returned in the API response if detected.
41+
To get this entity category, add `Person` to the `pii-categories` parameter. `Person` will be returned in the API response if detected.
42+
> [!NOTE]
43+
> As of the 2023-04-15-preview API onwards, this category is 'Person' instead of 'Name'.
4244
4345
:::column-end:::
4446

articles/ai-services/openai/concepts/models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ GPT-4 version 0314 is the first version of the model released. Version 0613 is
8484
See [model versions](../concepts/model-versions.md) to learn about how Azure OpenAI Service handles model version upgrades, and [working with models](../how-to/working-with-models.md) to learn how to view and configure the model version settings of your GPT-4 deployments.
8585

8686
> [!NOTE]
87-
> Version `0314` of `gpt-4` and `gpt-4-32k` will be retired no earlier than July 5, 2024. See [model updates](../how-to/working-with-models.md#model-updates) for model upgrade behavior.
87+
> Version `0613` of `gpt-4` and `gpt-4-32k` will be retired on June 13, 2024. Version `0314` of `gpt-4` and `gpt-4-32k` will be retired on July 5, 2024. See [model updates](../how-to/working-with-models.md#model-updates) for model upgrade behavior.
8888
8989
| Model ID | Max Request (tokens) | Training Data (up to) |
9090
| --- | :--- | :---: |
@@ -121,7 +121,7 @@ GPT-3.5 Turbo version 0301 is the first version of the model released. Version
121121
See [model versions](../concepts/model-versions.md) to learn about how Azure OpenAI Service handles model version upgrades, and [working with models](../how-to/working-with-models.md) to learn how to view and configure the model version settings of your GPT-3.5 Turbo deployments.
122122

123123
> [!NOTE]
124-
> Version `0301` of `gpt-35-turbo` will be retired no earlier than July 5, 2024. See [model updates](../how-to/working-with-models.md#model-updates) for model upgrade behavior.
124+
> Version `0613` of `gpt-35-turbo` and `gpt-35-turbo-16k` will be retired on June 13, 2024. Version `0301` of `gpt-35-turbo` will be retired on July 5, 2024. See [model updates](../how-to/working-with-models.md#model-updates) for model upgrade behavior.
125125
126126
### GPT-3.5-Turbo model availability
127127

articles/ai-services/openai/how-to/gpt-with-vision.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Follow these steps to set up a video retrieval system and integrate it with your
311311
{
312312
"type": "AzureComputerVisionVideoIndex",
313313
"parameters": {
314-
"computerVisionBaseUrl": "<your_computer_vision_endpoint>",
314+
"endpoint": "<your_computer_vision_endpoint>",
315315
"computerVisionApiKey": "<your_computer_vision_key>",
316316
"indexName": "<name_of_your_index>",
317317
"videoUrls": ["<your_video_SAS_URL>"]
@@ -328,12 +328,7 @@ Follow these steps to set up a video retrieval system and integrate it with your
328328
{
329329
"type": "text",
330330
"text": "Describe this video:"
331-
}
332-
]
333-
},
334-
{
335-
"role": "user",
336-
"content": [
331+
},
337332
{
338333
"type": "acv_document_id",
339334
"acv_document_id": "<your_video_ID>"

articles/ai-services/openai/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deploymen
7777
| ```logprobs``` | integer | Optional | null | Include the log probabilities on the logprobs most likely tokens, as well the chosen tokens. For example, if logprobs is 10, the API will return a list of the 10 most likely tokens. the API will always return the logprob of the sampled token, so there might be up to logprobs+1 elements in the response. This parameter cannot be used with `gpt-35-turbo`. |
7878
| ```suffix```| string | Optional | null | The suffix that comes after a completion of inserted text. |
7979
| ```echo``` | boolean | Optional | False | Echo back the prompt in addition to the completion. This parameter cannot be used with `gpt-35-turbo`. |
80-
| ```stop``` | string or array | Optional | null | Up to four sequences where the API will stop generating further tokens. The returned text won't contain the stop sequence. |
80+
| ```stop``` | string or array | Optional | null | Up to four sequences where the API will stop generating further tokens. The returned text won't contain the stop sequence. For GPT-4 Turbo with Vision, up to two sequences are supported. |
8181
| ```presence_penalty``` | number | Optional | 0 | Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. |
8282
| ```frequency_penalty``` | number | Optional | 0 | Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. |
8383
| ```best_of``` | integer | Optional | 1 | Generates best_of completions server-side and returns the "best" (the one with the lowest log probability per token). Results can't be streamed. When used with n, best_of controls the number of candidate completions and n specifies how many to return – best_of must be greater than n. Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop. This parameter cannot be used with `gpt-35-turbo`. |

articles/ai-services/personalizer/concept-rewards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ By adding up reward scores, your final reward may be outside the expected score
9494

9595
## Reward wait time
9696

97-
Personalizer will correlate the information of a Rank call with the rewards sent in Reward calls to train the model, which may come at different times. Personalizer waits for the reward score for a defined limited time, starting when the corresponding Rank call occured. This is done even if the Rank call was made using deferred activation](concept-active-inactive-events.md).
97+
Personalizer will correlate the information of a Rank call with the rewards sent in Reward calls to train the model, which may come at different times. Personalizer waits for the reward score for a defined limited time, starting when the corresponding Rank call occurred. This is done even if the Rank call was made using deferred activation](concept-active-inactive-events.md).
9898

9999
If the **Reward Wait Time** expires and there has been no reward information, a default reward is applied to that event for training. You can select a reward wait time of 10 minutes, 4 hours, 12 hours, or 24 hours. If your scenario requires longer reward wait times (e.g., for marketing email campaigns) we are offering a private preview of longer wait times. Open a support ticket in the Azure portal to get in contact with team and see if you qualify and it can be offered to you.
100100

0 commit comments

Comments
 (0)