Skip to content

Commit ce11b3e

Browse files
authored
Merge pull request #245390 from aahill/csa-fix
version fixes + image update
2 parents 86f2638 + eec2908 commit ce11b3e

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/cancel-training.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Use the following URL when creating your API request. Replace the placeholder va
2525
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2626
|`{PROJECT-NAME}` | The name for your project. This value is case-sensitive. | `EmailApp` |
2727
|`{JOB-ID}` | This value is the training job ID.| `XXXXX-XXXXX-XXXX-XX`|
28-
|`{API-VERSION}` | The version of the API you're calling. The value referenced is for the latest released [model version](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data). | `2022-05-01` |
28+
|`{API-VERSION}` | The version of the API you're calling. The value referenced is for the latest released [model version](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data). | `2023-04-15-preview` |
2929

3030
### Headers
3131

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/delete-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create a **DELETE** request using the following URL, headers, and JSON body to d
2424
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2525
|`{PROJECT-NAME}` | The name for your project. This value is case-sensitive. | `myProject` |
2626
|`{DEPLOYMENT-NAME}` | The name for your deployment name. This value is case-sensitive. | `prod` |
27-
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2022-05-01` |
27+
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2023-04-15-preview` |
2828

2929
### Headers
3030

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/deploy-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Submit a **PUT** request using the following URL, headers, and JSON body to subm
2121
| `{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2222
| `{PROJECT-NAME}` | The name of your project. This value is case-sensitive. | `myProject` |
2323
| `{DEPLOYMENT-NAME}` | The name of your deployment. This value is case-sensitive. | `staging` |
24-
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2022-05-01` |
24+
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2023-04-15-preview` |
2525

2626
#### Headers
2727

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/get-deployment-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the following **GET** request to query the status of the deployment job. You
2222
| `{PROJECT-NAME}` | The name of your project. This value is case-sensitive. | `myProject` |
2323
| `{DEPLOYMENT-NAME}` | The name of your deployment. This value is case-sensitive. | `staging` |
2424
|`{JOB-ID}` | The ID for locating your model's training status. This is in the `location` header value you received in the previous step. | `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx` |
25-
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2022-05-01` |
25+
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2023-04-15-preview` |
2626

2727
#### Headers
2828

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/get-import-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the following **GET** request to get the status of your importing your proje
2222
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2323
|`{PROJECT-NAME}` | The name of your project. This value is case-sensitive. | `myProject` |
2424
|`{JOB-ID}` | The ID for locating your model's training status. This value is in the `location` header value you received in the previous step. | `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx` |
25-
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. Learn more about other available [API versions](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) | `2022-05-01` |
25+
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. Learn more about other available [API versions](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) | `2023-04-15-preview` |
2626

2727
#### Headers
2828

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/get-training-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the following **GET** request to get the status of your model's training pro
2222
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2323
|`{PROJECT-NAME}` | The name of your project. This value is case-sensitive. | `myProject` |
2424
|`{JOB-ID}` | The ID for locating your model's training status. This value is in the `location` header value you received in the previous step. | `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx` |
25-
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2022-05-01` |
25+
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [model lifecycle](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2023-04-15-preview` |
2626

2727
#### Headers
2828

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/project-details.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To get Custom sentiment analysis project details, submit a **GET** request using
2222
|---------|---------|---------|
2323
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2424
|`{PROJECT-NAME}` | The name for your project. This value is case-sensitive. | `myProject` |
25-
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest released [model version](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data). | `2022-05-01` |
25+
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest released [model version](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data). | `2023-04-15-preview` |
2626

2727
### Headers
2828

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/swap-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Create a **POST** request using the following URL, headers, and JSON body to sta
2525
|---------|---------|---------|
2626
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2727
|`{PROJECT-NAME}` | The name for your project. This value is case-sensitive. | `myProject` |
28-
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest [model version](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) released. | `2022-05-01` |
28+
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest [model version](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) released. | `2023-04-15-preview` |
2929

3030

3131
### Headers

articles/ai-services/language-service/sentiment-opinion-mining/includes/custom/rest-api/train-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Submit a **POST** request using the following URL, headers, and JSON body to sub
1919
|---------|---------|---------|
2020
| `{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2121
| `{PROJECT-NAME}` | The name of your project. This value is case-sensitive. | `myProject` |
22-
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest version released. Learn more about other available [API versions](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) | `2022-05-01` |
22+
|`{API-VERSION}` | The version of the API you're calling. The value referenced here is for the latest version released. Learn more about other available [API versions](../../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) | `2023-04-15-preview` |
2323

2424
#### Headers
2525

@@ -49,7 +49,7 @@ Use the following JSON in your request body. The model will be given the `{MODEL
4949
|Key |Placeholder |Value | Example |
5050
|---------|---------|-----|----|
5151
| modelLabel | `{MODEL-NAME}` | The model name that will be assigned to your model once trained successfully. | `myModel` |
52-
| trainingConfigVersion | `{CONFIG-VERSION}` | This is the [model version](../../../../concepts/model-lifecycle.md) that will be used to train the model. | `2022-05-01`|
52+
| trainingConfigVersion | `{CONFIG-VERSION}` | This is the [model version](../../../../concepts/model-lifecycle.md) that will be used to train the model. | `2023-04-15-preview`|
5353
| evaluationOptions | | Option to split your data across training and testing sets. | `{}` |
5454
| kind | `percentage` | Split methods. Possible values are `percentage` or `manual`. <!--See [How to train a model](../../how-to/train-model.md#data-splitting) for more information.--> |`percentage`|
5555
| trainingSplitPercentage | `80`| Percentage of your tagged data to be included in the training set. Recommended value is `80`. | `80`|

articles/ai-services/language-service/sentiment-opinion-mining/includes/quickstarts/rest-api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.author: aahi
1010
ms.custom: ignite-fall-2021
1111
---
1212

13-
[Reference documentation](/rest/api/language/2022-05-01/text-analysis-runtime/analyze-text)
13+
<!--[Reference documentation](/rest/api/language/2022-05-01/text-analysis-runtime/analyze-text)-->
1414

1515
Use this quickstart to send sentiment analysis requests using the REST API. In the following example, you'll use cURL to identify the sentiment(s) expressed in a text sample, and perform aspect-based sentiment analysis.
1616

@@ -81,7 +81,7 @@ Use the following commands to send the API request using the program you're usin
8181
### Command prompt
8282

8383
```terminal
84-
curl -X POST "%LANGUAGE_ENDPOINT%/language/:analyze-text?api-version=2022-05-01" ^
84+
curl -X POST "%LANGUAGE_ENDPOINT%/language/:analyze-text?api-version=2023-04-15-preview" ^
8585
-H "Content-Type: application/json" ^
8686
-H "Ocp-Apim-Subscription-Key: %LANGUAGE_KEY%" ^
8787
-d "@C:\Users\<myaccount>\Desktop\test_sentiment_payload.json"
@@ -90,7 +90,7 @@ curl -X POST "%LANGUAGE_ENDPOINT%/language/:analyze-text?api-version=2022-05-01"
9090
### PowerShell
9191

9292
```terminal
93-
curl.exe -X POST $env:LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2022-05-01 `
93+
curl.exe -X POST $env:LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2023-04-15-preview `
9494
-H "Content-Type: application/json" `
9595
-H "Ocp-Apim-Subscription-Key: $env:LANGUAGE_KEY" `
9696
-d "@C:\Users\<myaccount>\Desktop\test_sentiment_payload.json"
@@ -101,7 +101,7 @@ curl.exe -X POST $env:LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2022-
101101
Use the following commands to send the API request using the program you're using. Replace `/home/mydir/test_sentiment_payload.json` with the location of the example JSON request file you created in the previous step.
102102

103103
```terminal
104-
curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2022-05-01 \
104+
curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2023-04-15-preview \
105105
-H "Content-Type: application/json" \
106106
-H "Ocp-Apim-Subscription-Key: $LANGUAGE_KEY" \
107107
-d "@/home/mydir/test_sentiment_payload.json"
@@ -112,7 +112,7 @@ curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2022-05-01 \
112112
Use the following commands to send the API request using the program you're using. Replace `/home/mydir/test_sentiment_payload.json` with the location of the example JSON request file you created in the previous step.
113113

114114
```terminal
115-
curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2022-05-01 \
115+
curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2023-04-15-preview \
116116
-H "Content-Type: application/json" \
117117
-H "Ocp-Apim-Subscription-Key: $LANGUAGE_KEY" \
118118
-d "@/home/mydir/test_sentiment_payload.json"
@@ -238,4 +238,4 @@ curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2022-05-01 \
238238

239239
* [Sentiment analysis and opinion mining language support](../../language-support.md)
240240
* [How to call the API](../../how-to/call-api.md)
241-
* [Reference documentation](/rest/api/language/2022-05-01/text-analysis-runtime/analyze-text)
241+
<!--* [Reference documentation](/rest/api/language/2022-05-01/text-analysis-runtime/analyze-text)-->

0 commit comments

Comments
 (0)