@azure/ai-text-analytics 5.2.0-alpha.20211026.2 → 5.2.0-alpha.20211103.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -1
- package/README.md +3 -1
- package/dist/index.js +917 -161
- package/dist/index.js.map +1 -1
- package/dist-esm/src/analyzeActionsResult.js +48 -10
- package/dist-esm/src/analyzeActionsResult.js.map +1 -1
- package/dist-esm/src/analyzeLro.js +2 -2
- package/dist-esm/src/analyzeLro.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +2 -2
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +620 -1
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +2 -1
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/healthLro.js +2 -2
- package/dist-esm/src/healthLro.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/multiCategoryClassifyResult.js +17 -0
- package/dist-esm/src/multiCategoryClassifyResult.js.map +1 -0
- package/dist-esm/src/multiCategoryClassifyResultArray.js +11 -0
- package/dist-esm/src/multiCategoryClassifyResultArray.js.map +1 -0
- package/dist-esm/src/recognizeCustomEntitiesResult.js +17 -0
- package/dist-esm/src/recognizeCustomEntitiesResult.js.map +1 -0
- package/dist-esm/src/recognizeCustomEntitiesResultArray.js +11 -0
- package/dist-esm/src/recognizeCustomEntitiesResultArray.js.map +1 -0
- package/dist-esm/src/singleCategoryClassifyResult.js +17 -0
- package/dist-esm/src/singleCategoryClassifyResult.js.map +1 -0
- package/dist-esm/src/singleCategoryClassifyResultArray.js +11 -0
- package/dist-esm/src/singleCategoryClassifyResultArray.js.map +1 -0
- package/dist-esm/src/textAnalyticsAction.js.map +1 -1
- package/dist-esm/src/textAnalyticsClient.js +7 -19
- package/dist-esm/src/textAnalyticsClient.js.map +1 -1
- package/dist-esm/src/textAnalyticsResult.js +16 -0
- package/dist-esm/src/textAnalyticsResult.js.map +1 -1
- package/dist-esm/src/util.js +28 -18
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +2 -2
- package/types/ai-text-analytics.d.ts +318 -11
|
@@ -74,6 +74,18 @@ export declare interface AnalyzeActionsResult {
|
|
|
74
74
|
* Array of the results for each extract summary action.
|
|
75
75
|
*/
|
|
76
76
|
extractSummaryResults: ExtractSummaryActionResult[];
|
|
77
|
+
/**
|
|
78
|
+
* Array of the results for each recognize custom entities action.
|
|
79
|
+
*/
|
|
80
|
+
recognizeCustomEntitiesResults: RecognizeCustomEntitiesActionResult[];
|
|
81
|
+
/**
|
|
82
|
+
* Array of the results for each custom classify document single category action.
|
|
83
|
+
*/
|
|
84
|
+
singleCategoryClassifyResults: SingleCategoryClassifyActionResult[];
|
|
85
|
+
/**
|
|
86
|
+
* Array of the results for each custom classify document multi category action.
|
|
87
|
+
*/
|
|
88
|
+
multiCategoryClassifyResults: MultiCategoryClassifyActionResult[];
|
|
77
89
|
}
|
|
78
90
|
|
|
79
91
|
/**
|
|
@@ -290,6 +302,39 @@ export declare interface BeginAnalyzeHealthcareEntitiesOptions extends TextAnaly
|
|
|
290
302
|
export declare interface CategorizedEntity extends Entity {
|
|
291
303
|
}
|
|
292
304
|
|
|
305
|
+
/**
|
|
306
|
+
* A classification result from a custom classify document single category action
|
|
307
|
+
*/
|
|
308
|
+
export declare interface ClassificationCategory extends ClassificationResult {
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export declare interface ClassificationResult {
|
|
312
|
+
/** Classification type. */
|
|
313
|
+
category: string;
|
|
314
|
+
/** Confidence score between 0 and 1 of the recognized classification. */
|
|
315
|
+
confidenceScore: number;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The type of a custom text analytics action.
|
|
320
|
+
*/
|
|
321
|
+
export declare interface CustomTextAnalyticsAction {
|
|
322
|
+
/**
|
|
323
|
+
* The project name for the text analytics model used by this operation on this
|
|
324
|
+
* batch of input documents.
|
|
325
|
+
*/
|
|
326
|
+
projectName: string;
|
|
327
|
+
/**
|
|
328
|
+
* The deployment name for the text analytics model used by this operation on this
|
|
329
|
+
* batch of input documents.
|
|
330
|
+
*/
|
|
331
|
+
deploymentName: string;
|
|
332
|
+
/**
|
|
333
|
+
* The preferred name for this action.
|
|
334
|
+
*/
|
|
335
|
+
actionName?: string;
|
|
336
|
+
}
|
|
337
|
+
|
|
293
338
|
/** Information about the language of a document as identified by the Text Analytics service. */
|
|
294
339
|
export declare interface DetectedLanguage {
|
|
295
340
|
/** Long name of a detected language (e.g. English, French). */
|
|
@@ -525,7 +570,7 @@ export declare interface ExtractSummaryAction extends TextAnalyticsAction {
|
|
|
525
570
|
*/
|
|
526
571
|
maxSentenceCount?: number;
|
|
527
572
|
/**
|
|
528
|
-
* Specifies how to sort the returned sentences. Please refer to {@link
|
|
573
|
+
* Specifies how to sort the returned sentences. Please refer to {@link KnownSummarySentencesOrderBy} for possible values.
|
|
529
574
|
*/
|
|
530
575
|
orderBy?: string;
|
|
531
576
|
}
|
|
@@ -838,6 +883,83 @@ export declare interface Match {
|
|
|
838
883
|
length: number;
|
|
839
884
|
}
|
|
840
885
|
|
|
886
|
+
/**
|
|
887
|
+
* Options for a custom classify document multi categories action. For more information, please refer
|
|
888
|
+
* to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}
|
|
889
|
+
*/
|
|
890
|
+
export declare interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction {
|
|
891
|
+
/**
|
|
892
|
+
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
893
|
+
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
894
|
+
* disables input logging and may limit our ability to remediate issues that occur.
|
|
895
|
+
*/
|
|
896
|
+
disableServiceLogs?: boolean;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* The error of a custom classify document multi category action.
|
|
901
|
+
*/
|
|
902
|
+
export declare type MultiCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* The result of a custom classify document multi category action.
|
|
906
|
+
*/
|
|
907
|
+
export declare type MultiCategoryClassifyActionResult = MultiCategoryClassifyActionSuccessResult | MultiCategoryClassifyActionErrorResult;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* The results of a succeeded custom classify document multi category action.
|
|
911
|
+
*/
|
|
912
|
+
export declare interface MultiCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
913
|
+
/**
|
|
914
|
+
* Array of the results for each custom classify document multi category action.
|
|
915
|
+
*/
|
|
916
|
+
results: MultiCategoryClassifyResultArray;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* An error result from the custom classify document multi category operation on a multi document.
|
|
921
|
+
*/
|
|
922
|
+
export declare type MultiCategoryClassifyErrorResult = TextAnalyticsErrorResult;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* The result of the custom classify document multi categories operation on a multi document.
|
|
926
|
+
*/
|
|
927
|
+
export declare type MultiCategoryClassifyResult = MultiCategoryClassifySuccessResult | MultiCategoryClassifyErrorResult;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Array of `MultiCategoryClassifyResult` objects corresponding to a batch of input documents, and
|
|
931
|
+
* annotated with information about the batch operation.
|
|
932
|
+
*/
|
|
933
|
+
export declare interface MultiCategoryClassifyResultArray extends Array<MultiCategoryClassifyResult> {
|
|
934
|
+
/**
|
|
935
|
+
* Statistics about the input document batch and how it was processed
|
|
936
|
+
* by the service. This property will have a value when includeStatistics is set to true
|
|
937
|
+
* in the client call.
|
|
938
|
+
*/
|
|
939
|
+
statistics?: TextDocumentBatchStatistics;
|
|
940
|
+
/**
|
|
941
|
+
* The version of the text analytics custom project used by this operation on this
|
|
942
|
+
* batch of input documents.
|
|
943
|
+
*/
|
|
944
|
+
projectName: string;
|
|
945
|
+
/**
|
|
946
|
+
* The version of the text analytics custom deployment used by this operation on this
|
|
947
|
+
* batch of input documents.
|
|
948
|
+
*/
|
|
949
|
+
deploymentName: string;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* The result of the custom classify document multi categories operation on a multi document,
|
|
954
|
+
* containing the result of the classification.
|
|
955
|
+
*/
|
|
956
|
+
export declare interface MultiCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {
|
|
957
|
+
/**
|
|
958
|
+
* The collection of classifications in the input document.
|
|
959
|
+
*/
|
|
960
|
+
classifications: ClassificationCategory[];
|
|
961
|
+
}
|
|
962
|
+
|
|
841
963
|
/**
|
|
842
964
|
* Metadata information for an analysis poller operation.
|
|
843
965
|
*/
|
|
@@ -1206,6 +1328,74 @@ export declare interface RecognizeCategorizedEntitiesSuccessResult extends TextA
|
|
|
1206
1328
|
readonly entities: CategorizedEntity[];
|
|
1207
1329
|
}
|
|
1208
1330
|
|
|
1331
|
+
/**
|
|
1332
|
+
* Options for a custom recognize entities action. For more information, please refer
|
|
1333
|
+
* to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition}
|
|
1334
|
+
*/
|
|
1335
|
+
export declare interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction {
|
|
1336
|
+
/**
|
|
1337
|
+
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1338
|
+
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1339
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1340
|
+
*/
|
|
1341
|
+
stringIndexType?: StringIndexType;
|
|
1342
|
+
/**
|
|
1343
|
+
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1344
|
+
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
1345
|
+
* disables input logging and may limit our ability to remediate issues that occur.
|
|
1346
|
+
*/
|
|
1347
|
+
disableServiceLogs?: boolean;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* The result of a custom recognize entities action.
|
|
1352
|
+
*/
|
|
1353
|
+
export declare type RecognizeCustomEntitiesActionResult = RecongizeCustomEntitiesActionSuccessResult | RecongizeCustomEntitiesActionErrorResult;
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* An error result from the recognize custom entities operation on a single document.
|
|
1357
|
+
*/
|
|
1358
|
+
export declare type RecognizeCustomEntitiesErrorResult = TextAnalyticsErrorResult;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* The result of the custom recognize entities operation on a single document.
|
|
1362
|
+
*/
|
|
1363
|
+
export declare type RecognizeCustomEntitiesResult = RecognizeCustomEntitiesSuccessResult | RecognizeCustomEntitiesErrorResult;
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Array of `CustomRecognizeEntitiesResult` objects corresponding to a batch of input documents, and
|
|
1367
|
+
* annotated with information about the batch operation.
|
|
1368
|
+
*/
|
|
1369
|
+
export declare interface RecognizeCustomEntitiesResultArray extends Array<RecognizeCustomEntitiesResult> {
|
|
1370
|
+
/**
|
|
1371
|
+
* Statistics about the input document batch and how it was processed
|
|
1372
|
+
* by the service. This property will have a value when includeStatistics is set to true
|
|
1373
|
+
* in the client call.
|
|
1374
|
+
*/
|
|
1375
|
+
statistics?: TextDocumentBatchStatistics;
|
|
1376
|
+
/**
|
|
1377
|
+
* The version of the text analytics custom project used by this operation on this
|
|
1378
|
+
* batch of input documents.
|
|
1379
|
+
*/
|
|
1380
|
+
projectName: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The version of the text analytics custom deployment used by this operation on this
|
|
1383
|
+
* batch of input documents.
|
|
1384
|
+
*/
|
|
1385
|
+
deploymentName: string;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* The result of the recognize custom entities operation on a single document,
|
|
1390
|
+
* containing a collection of the entities identified in that document.
|
|
1391
|
+
*/
|
|
1392
|
+
export declare interface RecognizeCustomEntitiesSuccessResult extends TextAnalyticsSuccessResult {
|
|
1393
|
+
/**
|
|
1394
|
+
* The collection of entities identified in the input document.
|
|
1395
|
+
*/
|
|
1396
|
+
entities: CategorizedEntity[];
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1209
1399
|
/**
|
|
1210
1400
|
* Options for an entities linking action.
|
|
1211
1401
|
*/
|
|
@@ -1408,6 +1598,21 @@ export declare interface RecognizePiiEntitiesSuccessResult extends TextAnalytics
|
|
|
1408
1598
|
redactedText: string;
|
|
1409
1599
|
}
|
|
1410
1600
|
|
|
1601
|
+
/**
|
|
1602
|
+
* The error of a custom recognize entities action.
|
|
1603
|
+
*/
|
|
1604
|
+
export declare type RecongizeCustomEntitiesActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* The results of a succeeded custom recognize entities action.
|
|
1608
|
+
*/
|
|
1609
|
+
export declare interface RecongizeCustomEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1610
|
+
/**
|
|
1611
|
+
* Array of the results for each custom recognize entities action.
|
|
1612
|
+
*/
|
|
1613
|
+
results: RecognizeCustomEntitiesResultArray;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1411
1616
|
export declare interface SentenceAssessment {
|
|
1412
1617
|
/** Assessment sentiment in the sentence. */
|
|
1413
1618
|
sentiment: TokenSentimentValue;
|
|
@@ -1466,6 +1671,83 @@ export declare interface SentimentConfidenceScores {
|
|
|
1466
1671
|
negative: number;
|
|
1467
1672
|
}
|
|
1468
1673
|
|
|
1674
|
+
/**
|
|
1675
|
+
* Options for an custom classify document single category action. For more information, please refer
|
|
1676
|
+
* to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}
|
|
1677
|
+
*/
|
|
1678
|
+
export declare interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction {
|
|
1679
|
+
/**
|
|
1680
|
+
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1681
|
+
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
1682
|
+
* disables input logging and may limit our ability to remediate issues that occur.
|
|
1683
|
+
*/
|
|
1684
|
+
disableServiceLogs?: boolean;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* The error of a custom classify document single category action.
|
|
1689
|
+
*/
|
|
1690
|
+
export declare type SingleCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* The result of a custom classify document single category action.
|
|
1694
|
+
*/
|
|
1695
|
+
export declare type SingleCategoryClassifyActionResult = SingleCategoryClassifyActionSuccessResult | SingleCategoryClassifyActionErrorResult;
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* The results of a succeeded custom classify document single category action.
|
|
1699
|
+
*/
|
|
1700
|
+
export declare interface SingleCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1701
|
+
/**
|
|
1702
|
+
* Array of the results for each custom classify document single category action.
|
|
1703
|
+
*/
|
|
1704
|
+
results: SingleCategoryClassifyResultArray;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* An error result from the custom classify document single category operation on a single document.
|
|
1709
|
+
*/
|
|
1710
|
+
export declare type SingleCategoryClassifyErrorResult = TextAnalyticsErrorResult;
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* The result of the custom classify document single category operation on a single document.
|
|
1714
|
+
*/
|
|
1715
|
+
export declare type SingleCategoryClassifyResult = SingleCategoryClassifySuccessResult | SingleCategoryClassifyErrorResult;
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* Array of `SingleCategoryClassifyResult` objects corresponding to a batch of input documents, and
|
|
1719
|
+
* annotated with information about the batch operation.
|
|
1720
|
+
*/
|
|
1721
|
+
export declare interface SingleCategoryClassifyResultArray extends Array<SingleCategoryClassifyResult> {
|
|
1722
|
+
/**
|
|
1723
|
+
* Statistics about the input document batch and how it was processed
|
|
1724
|
+
* by the service. This property will have a value when includeStatistics is set to true
|
|
1725
|
+
* in the client call.
|
|
1726
|
+
*/
|
|
1727
|
+
statistics?: TextDocumentBatchStatistics;
|
|
1728
|
+
/**
|
|
1729
|
+
* The version of the text analytics custom project used by this operation on this
|
|
1730
|
+
* batch of input documents.
|
|
1731
|
+
*/
|
|
1732
|
+
projectName: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* The version of the text analytics custom deployment used by this operation on this
|
|
1735
|
+
* batch of input documents.
|
|
1736
|
+
*/
|
|
1737
|
+
deploymentName: string;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* The result of the custom classify document single category operation on a single document,
|
|
1742
|
+
* containing the result of the classification.
|
|
1743
|
+
*/
|
|
1744
|
+
export declare interface SingleCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {
|
|
1745
|
+
/**
|
|
1746
|
+
* The classification result of the input document.
|
|
1747
|
+
*/
|
|
1748
|
+
classification: ClassificationCategory;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1469
1751
|
/**
|
|
1470
1752
|
* Measurement units that can used to calculate the offset and length properties.
|
|
1471
1753
|
*/
|
|
@@ -1523,7 +1805,7 @@ export declare interface TargetSentiment {
|
|
|
1523
1805
|
}
|
|
1524
1806
|
|
|
1525
1807
|
/**
|
|
1526
|
-
* The type of a text analytics action.
|
|
1808
|
+
* The type of a standard text analytics action.
|
|
1527
1809
|
*/
|
|
1528
1810
|
export declare interface TextAnalyticsAction {
|
|
1529
1811
|
/**
|
|
@@ -1540,7 +1822,7 @@ export declare interface TextAnalyticsAction {
|
|
|
1540
1822
|
/**
|
|
1541
1823
|
* The error of an analyze batch action.
|
|
1542
1824
|
*/
|
|
1543
|
-
export declare interface TextAnalyticsActionErrorResult {
|
|
1825
|
+
export declare interface TextAnalyticsActionErrorResult extends TextAnalyticsActionState {
|
|
1544
1826
|
/**
|
|
1545
1827
|
* When this action was completed by the service.
|
|
1546
1828
|
*/
|
|
@@ -1552,39 +1834,64 @@ export declare interface TextAnalyticsActionErrorResult {
|
|
|
1552
1834
|
}
|
|
1553
1835
|
|
|
1554
1836
|
/**
|
|
1555
|
-
* Description of collection of actions for the analyze API to perform on input documents.
|
|
1837
|
+
* Description of collection of actions for the analyze API to perform on input documents.
|
|
1556
1838
|
*/
|
|
1557
1839
|
export declare interface TextAnalyticsActions {
|
|
1558
1840
|
/**
|
|
1559
|
-
* A collection of descriptions of entities recognition actions.
|
|
1841
|
+
* A collection of descriptions of entities recognition actions.
|
|
1560
1842
|
*/
|
|
1561
1843
|
recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[];
|
|
1562
1844
|
/**
|
|
1563
|
-
* A collection of descriptions of Pii entities recognition actions.
|
|
1845
|
+
* A collection of descriptions of Pii entities recognition actions.
|
|
1564
1846
|
*/
|
|
1565
1847
|
recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[];
|
|
1566
1848
|
/**
|
|
1567
|
-
* A collection of descriptions of key phrases recognition actions.
|
|
1849
|
+
* A collection of descriptions of key phrases recognition actions.
|
|
1568
1850
|
*/
|
|
1569
1851
|
extractKeyPhrasesActions?: ExtractKeyPhrasesAction[];
|
|
1570
1852
|
/**
|
|
1571
|
-
* A collection of descriptions of entities linking actions.
|
|
1853
|
+
* A collection of descriptions of entities linking actions.
|
|
1572
1854
|
*/
|
|
1573
1855
|
recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[];
|
|
1574
1856
|
/**
|
|
1575
|
-
* A collection of descriptions of sentiment analysis actions.
|
|
1857
|
+
* A collection of descriptions of sentiment analysis actions.
|
|
1576
1858
|
*/
|
|
1577
1859
|
analyzeSentimentActions?: AnalyzeSentimentAction[];
|
|
1578
1860
|
/**
|
|
1579
|
-
* A collection of descriptions of summarization extraction actions.
|
|
1861
|
+
* A collection of descriptions of summarization extraction actions.
|
|
1580
1862
|
*/
|
|
1581
1863
|
extractSummaryActions?: ExtractSummaryAction[];
|
|
1864
|
+
/**
|
|
1865
|
+
* A collection of descriptions of custom entity recognition actions. For more information, please refer
|
|
1866
|
+
* to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition}
|
|
1867
|
+
*/
|
|
1868
|
+
recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[];
|
|
1869
|
+
/**
|
|
1870
|
+
* A collection of descriptions of custom single classification actions. For more information, please refer
|
|
1871
|
+
* to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}
|
|
1872
|
+
*/
|
|
1873
|
+
singleCategoryClassifyActions?: SingleCategoryClassifyAction[];
|
|
1874
|
+
/**
|
|
1875
|
+
* A collection of descriptions of custom multi classification actions. For more information, please refer
|
|
1876
|
+
* to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}
|
|
1877
|
+
*/
|
|
1878
|
+
multiCategoryClassifyActions?: MultiCategoryClassifyAction[];
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* The state of an action
|
|
1883
|
+
*/
|
|
1884
|
+
export declare interface TextAnalyticsActionState {
|
|
1885
|
+
/**
|
|
1886
|
+
* The name of the action.
|
|
1887
|
+
*/
|
|
1888
|
+
actionName?: string;
|
|
1582
1889
|
}
|
|
1583
1890
|
|
|
1584
1891
|
/**
|
|
1585
1892
|
* The state of a succeeded action.
|
|
1586
1893
|
*/
|
|
1587
|
-
export declare interface TextAnalyticsActionSuccessState {
|
|
1894
|
+
export declare interface TextAnalyticsActionSuccessState extends TextAnalyticsActionState {
|
|
1588
1895
|
/**
|
|
1589
1896
|
* When this action was completed by the service.
|
|
1590
1897
|
*/
|