@azure/ai-text-analytics 5.2.0-alpha.20210915.1 → 5.2.0-alpha.20211028.2
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 +14 -0
- package/README.md +3 -1
- package/dist/index.js +916 -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 +1 -1
- 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 -44
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +2 -3
- package/types/ai-text-analytics.d.ts +312 -11
- package/dist-esm/src/utils/url.browser.js +0 -6
- package/dist-esm/src/utils/url.browser.js.map +0 -1
- package/dist-esm/src/utils/url.js +0 -4
- package/dist-esm/src/utils/url.js.map +0 -1
|
@@ -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,82 @@ export declare interface Match {
|
|
|
838
883
|
length: number;
|
|
839
884
|
}
|
|
840
885
|
|
|
886
|
+
/**
|
|
887
|
+
* Options for a custom classify document multi categories action.
|
|
888
|
+
*/
|
|
889
|
+
export declare interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction {
|
|
890
|
+
/**
|
|
891
|
+
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
892
|
+
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
893
|
+
* disables input logging and may limit our ability to remediate issues that occur.
|
|
894
|
+
*/
|
|
895
|
+
disableServiceLogs?: boolean;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* The error of a custom classify document multi category action.
|
|
900
|
+
*/
|
|
901
|
+
export declare type MultiCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* The result of a custom classify document multi category action.
|
|
905
|
+
*/
|
|
906
|
+
export declare type MultiCategoryClassifyActionResult = MultiCategoryClassifyActionSuccessResult | MultiCategoryClassifyActionErrorResult;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* The results of a succeeded custom classify document multi category action.
|
|
910
|
+
*/
|
|
911
|
+
export declare interface MultiCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
912
|
+
/**
|
|
913
|
+
* Array of the results for each custom classify document multi category action.
|
|
914
|
+
*/
|
|
915
|
+
results: MultiCategoryClassifyResultArray;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* An error result from the custom classify document multi category operation on a multi document.
|
|
920
|
+
*/
|
|
921
|
+
export declare type MultiCategoryClassifyErrorResult = TextAnalyticsErrorResult;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* The result of the custom classify document multi categories operation on a multi document.
|
|
925
|
+
*/
|
|
926
|
+
export declare type MultiCategoryClassifyResult = MultiCategoryClassifySuccessResult | MultiCategoryClassifyErrorResult;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Array of `MultiCategoryClassifyResult` objects corresponding to a batch of input documents, and
|
|
930
|
+
* annotated with information about the batch operation.
|
|
931
|
+
*/
|
|
932
|
+
export declare interface MultiCategoryClassifyResultArray extends Array<MultiCategoryClassifyResult> {
|
|
933
|
+
/**
|
|
934
|
+
* Statistics about the input document batch and how it was processed
|
|
935
|
+
* by the service. This property will have a value when includeStatistics is set to true
|
|
936
|
+
* in the client call.
|
|
937
|
+
*/
|
|
938
|
+
statistics?: TextDocumentBatchStatistics;
|
|
939
|
+
/**
|
|
940
|
+
* The version of the text analytics custom project used by this operation on this
|
|
941
|
+
* batch of input documents.
|
|
942
|
+
*/
|
|
943
|
+
projectName: string;
|
|
944
|
+
/**
|
|
945
|
+
* The version of the text analytics custom deployment used by this operation on this
|
|
946
|
+
* batch of input documents.
|
|
947
|
+
*/
|
|
948
|
+
deploymentName: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* The result of the custom classify document multi categories operation on a multi document,
|
|
953
|
+
* containing the result of the classification.
|
|
954
|
+
*/
|
|
955
|
+
export declare interface MultiCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {
|
|
956
|
+
/**
|
|
957
|
+
* The collection of classifications in the input document.
|
|
958
|
+
*/
|
|
959
|
+
classifications: ClassificationCategory[];
|
|
960
|
+
}
|
|
961
|
+
|
|
841
962
|
/**
|
|
842
963
|
* Metadata information for an analysis poller operation.
|
|
843
964
|
*/
|
|
@@ -1206,6 +1327,73 @@ export declare interface RecognizeCategorizedEntitiesSuccessResult extends TextA
|
|
|
1206
1327
|
readonly entities: CategorizedEntity[];
|
|
1207
1328
|
}
|
|
1208
1329
|
|
|
1330
|
+
/**
|
|
1331
|
+
* Options for a custom recognize entities action.
|
|
1332
|
+
*/
|
|
1333
|
+
export declare interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction {
|
|
1334
|
+
/**
|
|
1335
|
+
* Specifies the measurement unit used to calculate the offset and length properties.
|
|
1336
|
+
* Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit".
|
|
1337
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
|
1338
|
+
*/
|
|
1339
|
+
stringIndexType?: StringIndexType;
|
|
1340
|
+
/**
|
|
1341
|
+
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1342
|
+
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
1343
|
+
* disables input logging and may limit our ability to remediate issues that occur.
|
|
1344
|
+
*/
|
|
1345
|
+
disableServiceLogs?: boolean;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* The result of a custom recognize entities action.
|
|
1350
|
+
*/
|
|
1351
|
+
export declare type RecognizeCustomEntitiesActionResult = RecongizeCustomEntitiesActionSuccessResult | RecongizeCustomEntitiesActionErrorResult;
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* An error result from the recognize custom entities operation on a single document.
|
|
1355
|
+
*/
|
|
1356
|
+
export declare type RecognizeCustomEntitiesErrorResult = TextAnalyticsErrorResult;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* The result of the custom recognize entities operation on a single document.
|
|
1360
|
+
*/
|
|
1361
|
+
export declare type RecognizeCustomEntitiesResult = RecognizeCustomEntitiesSuccessResult | RecognizeCustomEntitiesErrorResult;
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* Array of `CustomRecognizeEntitiesResult` objects corresponding to a batch of input documents, and
|
|
1365
|
+
* annotated with information about the batch operation.
|
|
1366
|
+
*/
|
|
1367
|
+
export declare interface RecognizeCustomEntitiesResultArray extends Array<RecognizeCustomEntitiesResult> {
|
|
1368
|
+
/**
|
|
1369
|
+
* Statistics about the input document batch and how it was processed
|
|
1370
|
+
* by the service. This property will have a value when includeStatistics is set to true
|
|
1371
|
+
* in the client call.
|
|
1372
|
+
*/
|
|
1373
|
+
statistics?: TextDocumentBatchStatistics;
|
|
1374
|
+
/**
|
|
1375
|
+
* The version of the text analytics custom project used by this operation on this
|
|
1376
|
+
* batch of input documents.
|
|
1377
|
+
*/
|
|
1378
|
+
projectName: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* The version of the text analytics custom deployment used by this operation on this
|
|
1381
|
+
* batch of input documents.
|
|
1382
|
+
*/
|
|
1383
|
+
deploymentName: string;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* The result of the recognize custom entities operation on a single document,
|
|
1388
|
+
* containing a collection of the entities identified in that document.
|
|
1389
|
+
*/
|
|
1390
|
+
export declare interface RecognizeCustomEntitiesSuccessResult extends TextAnalyticsSuccessResult {
|
|
1391
|
+
/**
|
|
1392
|
+
* The collection of entities identified in the input document.
|
|
1393
|
+
*/
|
|
1394
|
+
entities: CategorizedEntity[];
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1209
1397
|
/**
|
|
1210
1398
|
* Options for an entities linking action.
|
|
1211
1399
|
*/
|
|
@@ -1408,6 +1596,21 @@ export declare interface RecognizePiiEntitiesSuccessResult extends TextAnalytics
|
|
|
1408
1596
|
redactedText: string;
|
|
1409
1597
|
}
|
|
1410
1598
|
|
|
1599
|
+
/**
|
|
1600
|
+
* The error of a custom recognize entities action.
|
|
1601
|
+
*/
|
|
1602
|
+
export declare type RecongizeCustomEntitiesActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* The results of a succeeded custom recognize entities action.
|
|
1606
|
+
*/
|
|
1607
|
+
export declare interface RecongizeCustomEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1608
|
+
/**
|
|
1609
|
+
* Array of the results for each custom recognize entities action.
|
|
1610
|
+
*/
|
|
1611
|
+
results: RecognizeCustomEntitiesResultArray;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1411
1614
|
export declare interface SentenceAssessment {
|
|
1412
1615
|
/** Assessment sentiment in the sentence. */
|
|
1413
1616
|
sentiment: TokenSentimentValue;
|
|
@@ -1466,6 +1669,82 @@ export declare interface SentimentConfidenceScores {
|
|
|
1466
1669
|
negative: number;
|
|
1467
1670
|
}
|
|
1468
1671
|
|
|
1672
|
+
/**
|
|
1673
|
+
* Options for an custom classify document single category action.
|
|
1674
|
+
*/
|
|
1675
|
+
export declare interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction {
|
|
1676
|
+
/**
|
|
1677
|
+
* If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics
|
|
1678
|
+
* logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,
|
|
1679
|
+
* disables input logging and may limit our ability to remediate issues that occur.
|
|
1680
|
+
*/
|
|
1681
|
+
disableServiceLogs?: boolean;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* The error of a custom classify document single category action.
|
|
1686
|
+
*/
|
|
1687
|
+
export declare type SingleCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* The result of a custom classify document single category action.
|
|
1691
|
+
*/
|
|
1692
|
+
export declare type SingleCategoryClassifyActionResult = SingleCategoryClassifyActionSuccessResult | SingleCategoryClassifyActionErrorResult;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* The results of a succeeded custom classify document single category action.
|
|
1696
|
+
*/
|
|
1697
|
+
export declare interface SingleCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {
|
|
1698
|
+
/**
|
|
1699
|
+
* Array of the results for each custom classify document single category action.
|
|
1700
|
+
*/
|
|
1701
|
+
results: SingleCategoryClassifyResultArray;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* An error result from the custom classify document single category operation on a single document.
|
|
1706
|
+
*/
|
|
1707
|
+
export declare type SingleCategoryClassifyErrorResult = TextAnalyticsErrorResult;
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* The result of the custom classify document single category operation on a single document.
|
|
1711
|
+
*/
|
|
1712
|
+
export declare type SingleCategoryClassifyResult = SingleCategoryClassifySuccessResult | SingleCategoryClassifyErrorResult;
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Array of `SingleCategoryClassifyResult` objects corresponding to a batch of input documents, and
|
|
1716
|
+
* annotated with information about the batch operation.
|
|
1717
|
+
*/
|
|
1718
|
+
export declare interface SingleCategoryClassifyResultArray extends Array<SingleCategoryClassifyResult> {
|
|
1719
|
+
/**
|
|
1720
|
+
* Statistics about the input document batch and how it was processed
|
|
1721
|
+
* by the service. This property will have a value when includeStatistics is set to true
|
|
1722
|
+
* in the client call.
|
|
1723
|
+
*/
|
|
1724
|
+
statistics?: TextDocumentBatchStatistics;
|
|
1725
|
+
/**
|
|
1726
|
+
* The version of the text analytics custom project used by this operation on this
|
|
1727
|
+
* batch of input documents.
|
|
1728
|
+
*/
|
|
1729
|
+
projectName: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* The version of the text analytics custom deployment used by this operation on this
|
|
1732
|
+
* batch of input documents.
|
|
1733
|
+
*/
|
|
1734
|
+
deploymentName: string;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* The result of the custom classify document single category operation on a single document,
|
|
1739
|
+
* containing the result of the classification.
|
|
1740
|
+
*/
|
|
1741
|
+
export declare interface SingleCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {
|
|
1742
|
+
/**
|
|
1743
|
+
* The classification result of the input document.
|
|
1744
|
+
*/
|
|
1745
|
+
classification: ClassificationCategory;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1469
1748
|
/**
|
|
1470
1749
|
* Measurement units that can used to calculate the offset and length properties.
|
|
1471
1750
|
*/
|
|
@@ -1523,7 +1802,7 @@ export declare interface TargetSentiment {
|
|
|
1523
1802
|
}
|
|
1524
1803
|
|
|
1525
1804
|
/**
|
|
1526
|
-
* The type of a text analytics action.
|
|
1805
|
+
* The type of a standard text analytics action.
|
|
1527
1806
|
*/
|
|
1528
1807
|
export declare interface TextAnalyticsAction {
|
|
1529
1808
|
/**
|
|
@@ -1540,7 +1819,7 @@ export declare interface TextAnalyticsAction {
|
|
|
1540
1819
|
/**
|
|
1541
1820
|
* The error of an analyze batch action.
|
|
1542
1821
|
*/
|
|
1543
|
-
export declare interface TextAnalyticsActionErrorResult {
|
|
1822
|
+
export declare interface TextAnalyticsActionErrorResult extends TextAnalyticsActionState {
|
|
1544
1823
|
/**
|
|
1545
1824
|
* When this action was completed by the service.
|
|
1546
1825
|
*/
|
|
@@ -1552,39 +1831,61 @@ export declare interface TextAnalyticsActionErrorResult {
|
|
|
1552
1831
|
}
|
|
1553
1832
|
|
|
1554
1833
|
/**
|
|
1555
|
-
* Description of collection of actions for the analyze API to perform on input documents.
|
|
1834
|
+
* Description of collection of actions for the analyze API to perform on input documents.
|
|
1556
1835
|
*/
|
|
1557
1836
|
export declare interface TextAnalyticsActions {
|
|
1558
1837
|
/**
|
|
1559
|
-
* A collection of descriptions of entities recognition actions.
|
|
1838
|
+
* A collection of descriptions of entities recognition actions.
|
|
1560
1839
|
*/
|
|
1561
1840
|
recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[];
|
|
1562
1841
|
/**
|
|
1563
|
-
* A collection of descriptions of Pii entities recognition actions.
|
|
1842
|
+
* A collection of descriptions of Pii entities recognition actions.
|
|
1564
1843
|
*/
|
|
1565
1844
|
recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[];
|
|
1566
1845
|
/**
|
|
1567
|
-
* A collection of descriptions of key phrases recognition actions.
|
|
1846
|
+
* A collection of descriptions of key phrases recognition actions.
|
|
1568
1847
|
*/
|
|
1569
1848
|
extractKeyPhrasesActions?: ExtractKeyPhrasesAction[];
|
|
1570
1849
|
/**
|
|
1571
|
-
* A collection of descriptions of entities linking actions.
|
|
1850
|
+
* A collection of descriptions of entities linking actions.
|
|
1572
1851
|
*/
|
|
1573
1852
|
recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[];
|
|
1574
1853
|
/**
|
|
1575
|
-
* A collection of descriptions of sentiment analysis actions.
|
|
1854
|
+
* A collection of descriptions of sentiment analysis actions.
|
|
1576
1855
|
*/
|
|
1577
1856
|
analyzeSentimentActions?: AnalyzeSentimentAction[];
|
|
1578
1857
|
/**
|
|
1579
|
-
* A collection of descriptions of summarization extraction actions.
|
|
1858
|
+
* A collection of descriptions of summarization extraction actions.
|
|
1580
1859
|
*/
|
|
1581
1860
|
extractSummaryActions?: ExtractSummaryAction[];
|
|
1861
|
+
/**
|
|
1862
|
+
* A collection of descriptions of custom entity recognition actions.
|
|
1863
|
+
*/
|
|
1864
|
+
recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[];
|
|
1865
|
+
/**
|
|
1866
|
+
* A collection of descriptions of custom single classification actions.
|
|
1867
|
+
*/
|
|
1868
|
+
singleCategoryClassifyActions?: SingleCategoryClassifyAction[];
|
|
1869
|
+
/**
|
|
1870
|
+
* A collection of descriptions of custom multi classification actions.
|
|
1871
|
+
*/
|
|
1872
|
+
multiCategoryClassifyActions?: MultiCategoryClassifyAction[];
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* The state of an action
|
|
1877
|
+
*/
|
|
1878
|
+
export declare interface TextAnalyticsActionState {
|
|
1879
|
+
/**
|
|
1880
|
+
* The name of the action.
|
|
1881
|
+
*/
|
|
1882
|
+
actionName?: string;
|
|
1582
1883
|
}
|
|
1583
1884
|
|
|
1584
1885
|
/**
|
|
1585
1886
|
* The state of a succeeded action.
|
|
1586
1887
|
*/
|
|
1587
|
-
export declare interface TextAnalyticsActionSuccessState {
|
|
1888
|
+
export declare interface TextAnalyticsActionSuccessState extends TextAnalyticsActionState {
|
|
1588
1889
|
/**
|
|
1589
1890
|
* When this action was completed by the service.
|
|
1590
1891
|
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url.browser.js","sourceRoot":"","sources":["../../../src/utils/url.browser.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,GAAG,GAAG,GAAG,CAAC;AAChB,MAAM,eAAe,GAAG,eAAe,CAAC;AAExC,OAAO,EAAE,GAAG,IAAI,GAAG,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nconst url = URL;\nconst urlSearchParams = URLSearchParams;\n\nexport { url as URL, urlSearchParams as URLSearchParams };\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url.js","sourceRoot":"","sources":["../../../src/utils/url.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport { URL, URLSearchParams } from \"url\";\n"]}
|