From ec1462c9daa90f375068d07f1c224670c3707dfd Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Fri, 29 Oct 2021 15:42:56 -0400 Subject: [PATCH] [Text Analytics] Add links to Custom Text service docs (#18424) * [Text Analytics] Add links to Custom Text service docs * address feedback --- .../samples-dev/customText.ts | 1 + .../src/textAnalyticsClient.ts | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts index eef660a87b11..53d41d593c71 100644 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts @@ -5,6 +5,7 @@ * This sample applies actions for customer-trained models to several documents using * a long-running operation. This functionality uses the generic analysis endpoint, * which provides a way to group several different Text Analytics actions into a single request. + * For more information, please refer to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} * * @summary applies multiple Custom Text Analytics actions per document * @azsdk-weight 40 diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts index fe2a6db3a16b..a37c3f6c3686 100644 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts +++ b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts @@ -338,7 +338,8 @@ export interface ExtractSummaryAction extends TextAnalyticsAction { } /** - * Options for a custom recognize entities action. + * Options for a custom recognize entities action. For more information, please refer + * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition} */ export interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction { /** @@ -356,7 +357,8 @@ export interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction } /** - * Options for an custom classify document single category action. + * Options for an custom classify document single category action. For more information, please refer + * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} */ export interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction { /** @@ -368,7 +370,8 @@ export interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction } /** - * Options for a custom classify document multi categories action. + * Options for a custom classify document multi categories action. For more information, please refer + * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} */ export interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction { /** @@ -408,15 +411,18 @@ export interface TextAnalyticsActions { */ extractSummaryActions?: ExtractSummaryAction[]; /** - * A collection of descriptions of custom entity recognition actions. + * A collection of descriptions of custom entity recognition actions. For more information, please refer + * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition} */ recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[]; /** - * A collection of descriptions of custom single classification actions. + * A collection of descriptions of custom single classification actions. For more information, please refer + * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} */ singleCategoryClassifyActions?: SingleCategoryClassifyAction[]; /** - * A collection of descriptions of custom multi classification actions. + * A collection of descriptions of custom multi classification actions. For more information, please refer + * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} */ multiCategoryClassifyActions?: MultiCategoryClassifyAction[]; }