@azure/ai-language-text 1.0.1-alpha.20221014.1 → 1.1.0-alpha.20221101.3
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/README.md +132 -17
- package/dist/index.js +1725 -312
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +2 -2
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +454 -0
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +1170 -287
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +1 -1
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models.js +11 -0
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/textAnalysisClient.js +3 -2
- package/dist-esm/src/textAnalysisClient.js.map +1 -1
- package/dist-esm/src/transforms.js +24 -3
- package/dist-esm/src/transforms.js.map +1 -1
- package/package.json +1 -1
- package/types/ai-language-text.d.ts +1222 -5
package/dist/index.js
CHANGED
@@ -42,7 +42,7 @@ const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
|
|
42
42
|
/**
|
43
43
|
* @internal
|
44
44
|
*/
|
45
|
-
const SDK_VERSION = "1.0.1";
|
45
|
+
const SDK_VERSION = "1.1.0-beta.1";
|
46
46
|
/**
|
47
47
|
* @internal
|
48
48
|
*/
|
@@ -331,6 +331,12 @@ const AnalyzeTextJobsInput = {
|
|
331
331
|
name: "String"
|
332
332
|
}
|
333
333
|
},
|
334
|
+
defaultLanguage: {
|
335
|
+
serializedName: "defaultLanguage",
|
336
|
+
type: {
|
337
|
+
name: "String"
|
338
|
+
}
|
339
|
+
},
|
334
340
|
analysisInput: {
|
335
341
|
serializedName: "analysisInput",
|
336
342
|
type: {
|
@@ -586,6 +592,7 @@ const TextDocumentBatchStatistics = {
|
|
586
592
|
type: {
|
587
593
|
name: "Composite",
|
588
594
|
className: "TextDocumentBatchStatistics",
|
595
|
+
additionalProperties: { type: { name: "Object" } },
|
589
596
|
modelProperties: {
|
590
597
|
documentCount: {
|
591
598
|
serializedName: "documentsCount",
|
@@ -681,10 +688,10 @@ const ActionCommon = {
|
|
681
688
|
}
|
682
689
|
}
|
683
690
|
};
|
684
|
-
const
|
691
|
+
const CustomResult = {
|
685
692
|
type: {
|
686
693
|
name: "Composite",
|
687
|
-
className: "
|
694
|
+
className: "CustomResult",
|
688
695
|
modelProperties: {
|
689
696
|
errors: {
|
690
697
|
serializedName: "errors",
|
@@ -706,8 +713,15 @@ const PreBuiltResult = {
|
|
706
713
|
className: "TextDocumentBatchStatistics"
|
707
714
|
}
|
708
715
|
},
|
709
|
-
|
710
|
-
serializedName: "
|
716
|
+
projectName: {
|
717
|
+
serializedName: "projectName",
|
718
|
+
required: true,
|
719
|
+
type: {
|
720
|
+
name: "String"
|
721
|
+
}
|
722
|
+
},
|
723
|
+
deploymentName: {
|
724
|
+
serializedName: "deploymentName",
|
711
725
|
required: true,
|
712
726
|
type: {
|
713
727
|
name: "String"
|
@@ -738,40 +752,18 @@ const DocumentError = {
|
|
738
752
|
}
|
739
753
|
}
|
740
754
|
};
|
741
|
-
const
|
755
|
+
const BaseResolution = {
|
742
756
|
type: {
|
743
757
|
name: "Composite",
|
744
|
-
className: "
|
758
|
+
className: "BaseResolution",
|
759
|
+
uberParent: "BaseResolution",
|
760
|
+
polymorphicDiscriminator: {
|
761
|
+
serializedName: "resolutionKind",
|
762
|
+
clientName: "resolutionKind"
|
763
|
+
},
|
745
764
|
modelProperties: {
|
746
|
-
|
747
|
-
serializedName: "
|
748
|
-
required: true,
|
749
|
-
type: {
|
750
|
-
name: "Sequence",
|
751
|
-
element: {
|
752
|
-
type: {
|
753
|
-
name: "Composite",
|
754
|
-
className: "DocumentError"
|
755
|
-
}
|
756
|
-
}
|
757
|
-
}
|
758
|
-
},
|
759
|
-
statistics: {
|
760
|
-
serializedName: "statistics",
|
761
|
-
type: {
|
762
|
-
name: "Composite",
|
763
|
-
className: "TextDocumentBatchStatistics"
|
764
|
-
}
|
765
|
-
},
|
766
|
-
projectName: {
|
767
|
-
serializedName: "projectName",
|
768
|
-
required: true,
|
769
|
-
type: {
|
770
|
-
name: "String"
|
771
|
-
}
|
772
|
-
},
|
773
|
-
deploymentName: {
|
774
|
-
serializedName: "deploymentName",
|
765
|
+
resolutionKind: {
|
766
|
+
serializedName: "resolutionKind",
|
775
767
|
required: true,
|
776
768
|
type: {
|
777
769
|
name: "String"
|
@@ -908,6 +900,56 @@ const TextDocumentStatistics = {
|
|
908
900
|
}
|
909
901
|
}
|
910
902
|
};
|
903
|
+
const DocumentDetectedLanguage = {
|
904
|
+
type: {
|
905
|
+
name: "Composite",
|
906
|
+
className: "DocumentDetectedLanguage",
|
907
|
+
modelProperties: {
|
908
|
+
detectedLanguage: {
|
909
|
+
serializedName: "detectedLanguage",
|
910
|
+
type: {
|
911
|
+
name: "Composite",
|
912
|
+
className: "DetectedLanguage"
|
913
|
+
}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
}
|
917
|
+
};
|
918
|
+
const DetectedLanguage = {
|
919
|
+
type: {
|
920
|
+
name: "Composite",
|
921
|
+
className: "DetectedLanguage",
|
922
|
+
modelProperties: {
|
923
|
+
name: {
|
924
|
+
serializedName: "name",
|
925
|
+
required: true,
|
926
|
+
type: {
|
927
|
+
name: "String"
|
928
|
+
}
|
929
|
+
},
|
930
|
+
iso6391Name: {
|
931
|
+
serializedName: "iso6391Name",
|
932
|
+
required: true,
|
933
|
+
type: {
|
934
|
+
name: "String"
|
935
|
+
}
|
936
|
+
},
|
937
|
+
confidenceScore: {
|
938
|
+
serializedName: "confidenceScore",
|
939
|
+
required: true,
|
940
|
+
type: {
|
941
|
+
name: "Number"
|
942
|
+
}
|
943
|
+
},
|
944
|
+
script: {
|
945
|
+
serializedName: "script",
|
946
|
+
type: {
|
947
|
+
name: "String"
|
948
|
+
}
|
949
|
+
}
|
950
|
+
}
|
951
|
+
}
|
952
|
+
};
|
911
953
|
const ClassificationCategory = {
|
912
954
|
type: {
|
913
955
|
name: "Composite",
|
@@ -1073,6 +1115,12 @@ const HealthcareRelation = {
|
|
1073
1115
|
name: "String"
|
1074
1116
|
}
|
1075
1117
|
},
|
1118
|
+
confidenceScore: {
|
1119
|
+
serializedName: "confidenceScore",
|
1120
|
+
type: {
|
1121
|
+
name: "Number"
|
1122
|
+
}
|
1123
|
+
},
|
1076
1124
|
entities: {
|
1077
1125
|
serializedName: "entities",
|
1078
1126
|
required: true,
|
@@ -1111,6 +1159,63 @@ const HealthcareRelationEntity = {
|
|
1111
1159
|
}
|
1112
1160
|
}
|
1113
1161
|
};
|
1162
|
+
const PreBuiltResult = {
|
1163
|
+
type: {
|
1164
|
+
name: "Composite",
|
1165
|
+
className: "PreBuiltResult",
|
1166
|
+
modelProperties: {
|
1167
|
+
errors: {
|
1168
|
+
serializedName: "errors",
|
1169
|
+
required: true,
|
1170
|
+
type: {
|
1171
|
+
name: "Sequence",
|
1172
|
+
element: {
|
1173
|
+
type: {
|
1174
|
+
name: "Composite",
|
1175
|
+
className: "InputError"
|
1176
|
+
}
|
1177
|
+
}
|
1178
|
+
}
|
1179
|
+
},
|
1180
|
+
statistics: {
|
1181
|
+
serializedName: "statistics",
|
1182
|
+
type: {
|
1183
|
+
name: "Composite",
|
1184
|
+
className: "TextDocumentBatchStatistics"
|
1185
|
+
}
|
1186
|
+
},
|
1187
|
+
modelVersion: {
|
1188
|
+
serializedName: "modelVersion",
|
1189
|
+
required: true,
|
1190
|
+
type: {
|
1191
|
+
name: "String"
|
1192
|
+
}
|
1193
|
+
}
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
};
|
1197
|
+
const InputError = {
|
1198
|
+
type: {
|
1199
|
+
name: "Composite",
|
1200
|
+
className: "InputError",
|
1201
|
+
modelProperties: {
|
1202
|
+
id: {
|
1203
|
+
serializedName: "id",
|
1204
|
+
required: true,
|
1205
|
+
type: {
|
1206
|
+
name: "String"
|
1207
|
+
}
|
1208
|
+
},
|
1209
|
+
error: {
|
1210
|
+
serializedName: "error",
|
1211
|
+
type: {
|
1212
|
+
name: "Composite",
|
1213
|
+
className: "ErrorModel"
|
1214
|
+
}
|
1215
|
+
}
|
1216
|
+
}
|
1217
|
+
}
|
1218
|
+
};
|
1114
1219
|
const SentimentConfidenceScores = {
|
1115
1220
|
type: {
|
1116
1221
|
name: "Composite",
|
@@ -1458,27 +1563,34 @@ const Match = {
|
|
1458
1563
|
}
|
1459
1564
|
}
|
1460
1565
|
};
|
1461
|
-
const
|
1566
|
+
const SummarySentence = {
|
1462
1567
|
type: {
|
1463
1568
|
name: "Composite",
|
1464
|
-
className: "
|
1569
|
+
className: "SummarySentence",
|
1465
1570
|
modelProperties: {
|
1466
|
-
|
1467
|
-
serializedName: "
|
1571
|
+
text: {
|
1572
|
+
serializedName: "text",
|
1468
1573
|
required: true,
|
1469
1574
|
type: {
|
1470
1575
|
name: "String"
|
1471
1576
|
}
|
1472
1577
|
},
|
1473
|
-
|
1474
|
-
serializedName: "
|
1578
|
+
rankScore: {
|
1579
|
+
serializedName: "rankScore",
|
1475
1580
|
required: true,
|
1476
1581
|
type: {
|
1477
|
-
name: "
|
1582
|
+
name: "Number"
|
1478
1583
|
}
|
1479
1584
|
},
|
1480
|
-
|
1481
|
-
serializedName: "
|
1585
|
+
offset: {
|
1586
|
+
serializedName: "offset",
|
1587
|
+
required: true,
|
1588
|
+
type: {
|
1589
|
+
name: "Number"
|
1590
|
+
}
|
1591
|
+
},
|
1592
|
+
length: {
|
1593
|
+
serializedName: "length",
|
1482
1594
|
required: true,
|
1483
1595
|
type: {
|
1484
1596
|
name: "Number"
|
@@ -1501,19 +1613,32 @@ const Pagination = {
|
|
1501
1613
|
}
|
1502
1614
|
}
|
1503
1615
|
};
|
1504
|
-
const
|
1616
|
+
const AbstractiveSummarizationTaskParametersBase = {
|
1505
1617
|
type: {
|
1506
1618
|
name: "Composite",
|
1507
|
-
className: "
|
1619
|
+
className: "AbstractiveSummarizationTaskParametersBase",
|
1508
1620
|
modelProperties: {
|
1509
|
-
|
1510
|
-
serializedName: "
|
1621
|
+
maxSentenceCount: {
|
1622
|
+
serializedName: "sentenceCount",
|
1623
|
+
type: {
|
1624
|
+
name: "Number"
|
1625
|
+
}
|
1626
|
+
},
|
1627
|
+
stringIndexType: {
|
1628
|
+
defaultValue: "Utf16CodeUnit",
|
1629
|
+
serializedName: "stringIndexType",
|
1630
|
+
type: {
|
1631
|
+
name: "String"
|
1632
|
+
}
|
1633
|
+
},
|
1634
|
+
phraseControls: {
|
1635
|
+
serializedName: "phraseControls",
|
1511
1636
|
type: {
|
1512
1637
|
name: "Sequence",
|
1513
1638
|
element: {
|
1514
1639
|
type: {
|
1515
1640
|
name: "Composite",
|
1516
|
-
className: "
|
1641
|
+
className: "PhraseControl"
|
1517
1642
|
}
|
1518
1643
|
}
|
1519
1644
|
}
|
@@ -1521,62 +1646,170 @@ const JobErrors = {
|
|
1521
1646
|
}
|
1522
1647
|
}
|
1523
1648
|
};
|
1524
|
-
const
|
1525
|
-
serializedName: "EntityLinking",
|
1649
|
+
const PhraseControl = {
|
1526
1650
|
type: {
|
1527
1651
|
name: "Composite",
|
1528
|
-
className: "
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1652
|
+
className: "PhraseControl",
|
1653
|
+
modelProperties: {
|
1654
|
+
targetPhrase: {
|
1655
|
+
serializedName: "targetPhrase",
|
1656
|
+
required: true,
|
1533
1657
|
type: {
|
1534
|
-
name: "
|
1535
|
-
className: "MultiLanguageAnalysisInput"
|
1658
|
+
name: "String"
|
1536
1659
|
}
|
1537
|
-
},
|
1538
|
-
|
1660
|
+
},
|
1661
|
+
strategy: {
|
1662
|
+
serializedName: "strategy",
|
1663
|
+
required: true,
|
1539
1664
|
type: {
|
1540
|
-
name: "
|
1541
|
-
|
1665
|
+
name: "Enum",
|
1666
|
+
allowedValues: ["encourage", "discourage", "disallow"]
|
1542
1667
|
}
|
1543
|
-
}
|
1668
|
+
}
|
1669
|
+
}
|
1544
1670
|
}
|
1545
1671
|
};
|
1546
|
-
const
|
1547
|
-
serializedName: "EntityRecognition",
|
1672
|
+
const AbstractiveSummarizationResultBase = {
|
1548
1673
|
type: {
|
1549
1674
|
name: "Composite",
|
1550
|
-
className: "
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
type: {
|
1556
|
-
name: "Composite",
|
1557
|
-
className: "MultiLanguageAnalysisInput"
|
1558
|
-
}
|
1559
|
-
}, parameters: {
|
1560
|
-
serializedName: "parameters",
|
1675
|
+
className: "AbstractiveSummarizationResultBase",
|
1676
|
+
modelProperties: {
|
1677
|
+
documents: {
|
1678
|
+
serializedName: "documents",
|
1679
|
+
required: true,
|
1561
1680
|
type: {
|
1562
|
-
name: "
|
1563
|
-
|
1681
|
+
name: "Sequence",
|
1682
|
+
element: {
|
1683
|
+
type: {
|
1684
|
+
name: "Composite",
|
1685
|
+
className: "AbstractiveSummarizationResultBaseDocumentsItem"
|
1686
|
+
}
|
1687
|
+
}
|
1564
1688
|
}
|
1565
|
-
}
|
1689
|
+
}
|
1690
|
+
}
|
1566
1691
|
}
|
1567
1692
|
};
|
1568
|
-
const
|
1569
|
-
serializedName: "KeyPhraseExtraction",
|
1693
|
+
const AbstractiveSummary = {
|
1570
1694
|
type: {
|
1571
1695
|
name: "Composite",
|
1572
|
-
className: "
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1696
|
+
className: "AbstractiveSummary",
|
1697
|
+
modelProperties: {
|
1698
|
+
text: {
|
1699
|
+
serializedName: "text",
|
1700
|
+
required: true,
|
1577
1701
|
type: {
|
1578
|
-
name: "
|
1579
|
-
|
1702
|
+
name: "String"
|
1703
|
+
}
|
1704
|
+
},
|
1705
|
+
contexts: {
|
1706
|
+
serializedName: "contexts",
|
1707
|
+
type: {
|
1708
|
+
name: "Sequence",
|
1709
|
+
element: {
|
1710
|
+
type: {
|
1711
|
+
name: "Composite",
|
1712
|
+
className: "SummaryContext"
|
1713
|
+
}
|
1714
|
+
}
|
1715
|
+
}
|
1716
|
+
}
|
1717
|
+
}
|
1718
|
+
}
|
1719
|
+
};
|
1720
|
+
const SummaryContext = {
|
1721
|
+
type: {
|
1722
|
+
name: "Composite",
|
1723
|
+
className: "SummaryContext",
|
1724
|
+
modelProperties: {
|
1725
|
+
offset: {
|
1726
|
+
serializedName: "offset",
|
1727
|
+
required: true,
|
1728
|
+
type: {
|
1729
|
+
name: "Number"
|
1730
|
+
}
|
1731
|
+
},
|
1732
|
+
length: {
|
1733
|
+
serializedName: "length",
|
1734
|
+
required: true,
|
1735
|
+
type: {
|
1736
|
+
name: "Number"
|
1737
|
+
}
|
1738
|
+
}
|
1739
|
+
}
|
1740
|
+
}
|
1741
|
+
};
|
1742
|
+
const QuantityResolution = {
|
1743
|
+
type: {
|
1744
|
+
name: "Composite",
|
1745
|
+
className: "QuantityResolution",
|
1746
|
+
modelProperties: {
|
1747
|
+
value: {
|
1748
|
+
serializedName: "value",
|
1749
|
+
required: true,
|
1750
|
+
type: {
|
1751
|
+
name: "Number"
|
1752
|
+
}
|
1753
|
+
}
|
1754
|
+
}
|
1755
|
+
}
|
1756
|
+
};
|
1757
|
+
const AnalyzeTextEntityLinkingInput = {
|
1758
|
+
serializedName: "EntityLinking",
|
1759
|
+
type: {
|
1760
|
+
name: "Composite",
|
1761
|
+
className: "AnalyzeTextEntityLinkingInput",
|
1762
|
+
uberParent: "AnalyzeAction",
|
1763
|
+
polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
|
1764
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
|
1765
|
+
serializedName: "analysisInput",
|
1766
|
+
type: {
|
1767
|
+
name: "Composite",
|
1768
|
+
className: "MultiLanguageAnalysisInput"
|
1769
|
+
}
|
1770
|
+
}, parameters: {
|
1771
|
+
serializedName: "parameters",
|
1772
|
+
type: {
|
1773
|
+
name: "Composite",
|
1774
|
+
className: "EntityLinkingAction"
|
1775
|
+
}
|
1776
|
+
} })
|
1777
|
+
}
|
1778
|
+
};
|
1779
|
+
const AnalyzeTextEntityRecognitionInput = {
|
1780
|
+
serializedName: "EntityRecognition",
|
1781
|
+
type: {
|
1782
|
+
name: "Composite",
|
1783
|
+
className: "AnalyzeTextEntityRecognitionInput",
|
1784
|
+
uberParent: "AnalyzeAction",
|
1785
|
+
polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
|
1786
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
|
1787
|
+
serializedName: "analysisInput",
|
1788
|
+
type: {
|
1789
|
+
name: "Composite",
|
1790
|
+
className: "MultiLanguageAnalysisInput"
|
1791
|
+
}
|
1792
|
+
}, parameters: {
|
1793
|
+
serializedName: "parameters",
|
1794
|
+
type: {
|
1795
|
+
name: "Composite",
|
1796
|
+
className: "EntityRecognitionAction"
|
1797
|
+
}
|
1798
|
+
} })
|
1799
|
+
}
|
1800
|
+
};
|
1801
|
+
const AnalyzeTextKeyPhraseExtractionInput = {
|
1802
|
+
serializedName: "KeyPhraseExtraction",
|
1803
|
+
type: {
|
1804
|
+
name: "Composite",
|
1805
|
+
className: "AnalyzeTextKeyPhraseExtractionInput",
|
1806
|
+
uberParent: "AnalyzeAction",
|
1807
|
+
polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
|
1808
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
|
1809
|
+
serializedName: "analysisInput",
|
1810
|
+
type: {
|
1811
|
+
name: "Composite",
|
1812
|
+
className: "MultiLanguageAnalysisInput"
|
1580
1813
|
}
|
1581
1814
|
}, parameters: {
|
1582
1815
|
serializedName: "parameters",
|
@@ -1653,6 +1886,28 @@ const AnalyzeTextSentimentAnalysisInput = {
|
|
1653
1886
|
} })
|
1654
1887
|
}
|
1655
1888
|
};
|
1889
|
+
const AnalyzeTextDynamicClassificationInput = {
|
1890
|
+
serializedName: "DynamicClassification",
|
1891
|
+
type: {
|
1892
|
+
name: "Composite",
|
1893
|
+
className: "AnalyzeTextDynamicClassificationInput",
|
1894
|
+
uberParent: "AnalyzeAction",
|
1895
|
+
polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
|
1896
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
|
1897
|
+
serializedName: "analysisInput",
|
1898
|
+
type: {
|
1899
|
+
name: "Composite",
|
1900
|
+
className: "MultiLanguageAnalysisInput"
|
1901
|
+
}
|
1902
|
+
}, parameters: {
|
1903
|
+
serializedName: "parameters",
|
1904
|
+
type: {
|
1905
|
+
name: "Composite",
|
1906
|
+
className: "DynamicClassificationAction"
|
1907
|
+
}
|
1908
|
+
} })
|
1909
|
+
}
|
1910
|
+
};
|
1656
1911
|
const SentimentTaskResult = {
|
1657
1912
|
serializedName: "SentimentAnalysisResults",
|
1658
1913
|
type: {
|
@@ -1749,6 +2004,22 @@ const LanguageDetectionTaskResult = {
|
|
1749
2004
|
} })
|
1750
2005
|
}
|
1751
2006
|
};
|
2007
|
+
const DynamicClassificationTaskResult = {
|
2008
|
+
serializedName: "DynamicClassificationResults",
|
2009
|
+
type: {
|
2010
|
+
name: "Composite",
|
2011
|
+
className: "DynamicClassificationTaskResult",
|
2012
|
+
uberParent: "AnalyzeTextTaskResult",
|
2013
|
+
polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
|
2014
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
|
2015
|
+
serializedName: "results",
|
2016
|
+
type: {
|
2017
|
+
name: "Composite",
|
2018
|
+
className: "DynamicClassificationResult"
|
2019
|
+
}
|
2020
|
+
} })
|
2021
|
+
}
|
2022
|
+
};
|
1752
2023
|
const AnalyzeBatchAction = {
|
1753
2024
|
serializedName: "AnalyzeBatchAction",
|
1754
2025
|
type: {
|
@@ -1794,6 +2065,32 @@ const AnalyzeTextJobState = {
|
|
1794
2065
|
modelProperties: Object.assign(Object.assign(Object.assign({}, JobState.type.modelProperties), TasksState.type.modelProperties), AnalyzeTextJobStatistics.type.modelProperties)
|
1795
2066
|
}
|
1796
2067
|
};
|
2068
|
+
const DocumentRequestStatistics = {
|
2069
|
+
type: {
|
2070
|
+
name: "Composite",
|
2071
|
+
className: "DocumentRequestStatistics",
|
2072
|
+
additionalProperties: { type: { name: "Object" } },
|
2073
|
+
modelProperties: Object.assign(Object.assign({}, TextDocumentBatchStatistics.type.modelProperties), { documentsCount: {
|
2074
|
+
serializedName: "documentsCount",
|
2075
|
+
required: true,
|
2076
|
+
type: {
|
2077
|
+
name: "Number"
|
2078
|
+
}
|
2079
|
+
}, validDocumentsCount: {
|
2080
|
+
serializedName: "validDocumentsCount",
|
2081
|
+
required: true,
|
2082
|
+
type: {
|
2083
|
+
name: "Number"
|
2084
|
+
}
|
2085
|
+
}, erroneousDocumentsCount: {
|
2086
|
+
serializedName: "erroneousDocumentsCount",
|
2087
|
+
required: true,
|
2088
|
+
type: {
|
2089
|
+
name: "Number"
|
2090
|
+
}
|
2091
|
+
} })
|
2092
|
+
}
|
2093
|
+
};
|
1797
2094
|
const ActionPrebuilt = {
|
1798
2095
|
type: {
|
1799
2096
|
name: "Composite",
|
@@ -1826,11 +2123,11 @@ const ActionCustom = {
|
|
1826
2123
|
} })
|
1827
2124
|
}
|
1828
2125
|
};
|
1829
|
-
const
|
2126
|
+
const CustomEntitiesResult = {
|
1830
2127
|
type: {
|
1831
2128
|
name: "Composite",
|
1832
|
-
className: "
|
1833
|
-
modelProperties: Object.assign(Object.assign({},
|
2129
|
+
className: "CustomEntitiesResult",
|
2130
|
+
modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
|
1834
2131
|
serializedName: "documents",
|
1835
2132
|
required: true,
|
1836
2133
|
type: {
|
@@ -1838,18 +2135,18 @@ const HealthcareResult = {
|
|
1838
2135
|
element: {
|
1839
2136
|
type: {
|
1840
2137
|
name: "Composite",
|
1841
|
-
className: "
|
2138
|
+
className: "CustomEntitiesResultDocumentsItem"
|
1842
2139
|
}
|
1843
2140
|
}
|
1844
2141
|
}
|
1845
2142
|
} })
|
1846
2143
|
}
|
1847
2144
|
};
|
1848
|
-
const
|
2145
|
+
const CustomLabelClassificationResult = {
|
1849
2146
|
type: {
|
1850
2147
|
name: "Composite",
|
1851
|
-
className: "
|
1852
|
-
modelProperties: Object.assign(Object.assign({},
|
2148
|
+
className: "CustomLabelClassificationResult",
|
2149
|
+
modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
|
1853
2150
|
serializedName: "documents",
|
1854
2151
|
required: true,
|
1855
2152
|
type: {
|
@@ -1857,159 +2154,350 @@ const SentimentResponse = {
|
|
1857
2154
|
element: {
|
1858
2155
|
type: {
|
1859
2156
|
name: "Composite",
|
1860
|
-
className: "
|
2157
|
+
className: "CustomLabelClassificationResultDocumentsItem"
|
1861
2158
|
}
|
1862
2159
|
}
|
1863
2160
|
}
|
1864
2161
|
} })
|
1865
2162
|
}
|
1866
2163
|
};
|
1867
|
-
const
|
2164
|
+
const AgeResolution = {
|
2165
|
+
serializedName: "AgeResolution",
|
1868
2166
|
type: {
|
1869
2167
|
name: "Composite",
|
1870
|
-
className: "
|
1871
|
-
|
1872
|
-
|
2168
|
+
className: "AgeResolution",
|
2169
|
+
uberParent: "BaseResolution",
|
2170
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2171
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2172
|
+
serializedName: "unit",
|
1873
2173
|
required: true,
|
1874
2174
|
type: {
|
1875
|
-
name: "
|
1876
|
-
element: {
|
1877
|
-
type: {
|
1878
|
-
name: "Composite",
|
1879
|
-
className: "EntitiesResultDocumentsItem"
|
1880
|
-
}
|
1881
|
-
}
|
2175
|
+
name: "String"
|
1882
2176
|
}
|
1883
2177
|
} })
|
1884
2178
|
}
|
1885
2179
|
};
|
1886
|
-
const
|
2180
|
+
const VolumeResolution = {
|
2181
|
+
serializedName: "VolumeResolution",
|
1887
2182
|
type: {
|
1888
2183
|
name: "Composite",
|
1889
|
-
className: "
|
1890
|
-
|
1891
|
-
|
2184
|
+
className: "VolumeResolution",
|
2185
|
+
uberParent: "BaseResolution",
|
2186
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2187
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2188
|
+
serializedName: "unit",
|
1892
2189
|
required: true,
|
1893
2190
|
type: {
|
1894
|
-
name: "
|
1895
|
-
element: {
|
1896
|
-
type: {
|
1897
|
-
name: "Composite",
|
1898
|
-
className: "EntityLinkingResultDocumentsItem"
|
1899
|
-
}
|
1900
|
-
}
|
2191
|
+
name: "String"
|
1901
2192
|
}
|
1902
2193
|
} })
|
1903
2194
|
}
|
1904
2195
|
};
|
1905
|
-
const
|
2196
|
+
const SpeedResolution = {
|
2197
|
+
serializedName: "SpeedResolution",
|
1906
2198
|
type: {
|
1907
2199
|
name: "Composite",
|
1908
|
-
className: "
|
1909
|
-
|
1910
|
-
|
2200
|
+
className: "SpeedResolution",
|
2201
|
+
uberParent: "BaseResolution",
|
2202
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2203
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2204
|
+
serializedName: "unit",
|
1911
2205
|
required: true,
|
1912
2206
|
type: {
|
1913
|
-
name: "
|
1914
|
-
element: {
|
1915
|
-
type: {
|
1916
|
-
name: "Composite",
|
1917
|
-
className: "PiiResultDocumentsItem"
|
1918
|
-
}
|
1919
|
-
}
|
2207
|
+
name: "String"
|
1920
2208
|
}
|
1921
2209
|
} })
|
1922
2210
|
}
|
1923
2211
|
};
|
1924
|
-
const
|
2212
|
+
const AreaResolution = {
|
2213
|
+
serializedName: "AreaResolution",
|
1925
2214
|
type: {
|
1926
2215
|
name: "Composite",
|
1927
|
-
className: "
|
1928
|
-
|
1929
|
-
|
2216
|
+
className: "AreaResolution",
|
2217
|
+
uberParent: "BaseResolution",
|
2218
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2219
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2220
|
+
serializedName: "unit",
|
1930
2221
|
required: true,
|
1931
2222
|
type: {
|
1932
|
-
name: "
|
1933
|
-
element: {
|
1934
|
-
type: {
|
1935
|
-
name: "Composite",
|
1936
|
-
className: "KeyPhraseResultDocumentsItem"
|
1937
|
-
}
|
1938
|
-
}
|
2223
|
+
name: "String"
|
1939
2224
|
}
|
1940
2225
|
} })
|
1941
2226
|
}
|
1942
2227
|
};
|
1943
|
-
const
|
2228
|
+
const LengthResolution = {
|
2229
|
+
serializedName: "LengthResolution",
|
1944
2230
|
type: {
|
1945
2231
|
name: "Composite",
|
1946
|
-
className: "
|
1947
|
-
|
1948
|
-
|
2232
|
+
className: "LengthResolution",
|
2233
|
+
uberParent: "BaseResolution",
|
2234
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2235
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2236
|
+
serializedName: "unit",
|
1949
2237
|
required: true,
|
1950
2238
|
type: {
|
1951
|
-
name: "
|
1952
|
-
element: {
|
1953
|
-
type: {
|
1954
|
-
name: "Composite",
|
1955
|
-
className: "LanguageDetectionDocumentResult"
|
1956
|
-
}
|
1957
|
-
}
|
2239
|
+
name: "String"
|
1958
2240
|
}
|
1959
2241
|
} })
|
1960
2242
|
}
|
1961
2243
|
};
|
1962
|
-
const
|
2244
|
+
const InformationResolution = {
|
2245
|
+
serializedName: "InformationResolution",
|
1963
2246
|
type: {
|
1964
2247
|
name: "Composite",
|
1965
|
-
className: "
|
1966
|
-
|
1967
|
-
|
2248
|
+
className: "InformationResolution",
|
2249
|
+
uberParent: "BaseResolution",
|
2250
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2251
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2252
|
+
serializedName: "unit",
|
1968
2253
|
required: true,
|
1969
2254
|
type: {
|
1970
|
-
name: "
|
1971
|
-
element: {
|
1972
|
-
type: {
|
1973
|
-
name: "Composite",
|
1974
|
-
className: "CustomEntitiesResultDocumentsItem"
|
1975
|
-
}
|
1976
|
-
}
|
2255
|
+
name: "String"
|
1977
2256
|
}
|
1978
2257
|
} })
|
1979
2258
|
}
|
1980
2259
|
};
|
1981
|
-
const
|
2260
|
+
const TemperatureResolution = {
|
2261
|
+
serializedName: "TemperatureResolution",
|
1982
2262
|
type: {
|
1983
2263
|
name: "Composite",
|
1984
|
-
className: "
|
1985
|
-
|
1986
|
-
|
2264
|
+
className: "TemperatureResolution",
|
2265
|
+
uberParent: "BaseResolution",
|
2266
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2267
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2268
|
+
serializedName: "unit",
|
1987
2269
|
required: true,
|
1988
2270
|
type: {
|
1989
|
-
name: "
|
1990
|
-
element: {
|
1991
|
-
type: {
|
1992
|
-
name: "Composite",
|
1993
|
-
className: "CustomLabelClassificationResultDocumentsItem"
|
1994
|
-
}
|
1995
|
-
}
|
2271
|
+
name: "String"
|
1996
2272
|
}
|
1997
2273
|
} })
|
1998
2274
|
}
|
1999
2275
|
};
|
2000
|
-
const
|
2276
|
+
const WeightResolution = {
|
2277
|
+
serializedName: "WeightResolution",
|
2001
2278
|
type: {
|
2002
2279
|
name: "Composite",
|
2003
|
-
className: "
|
2004
|
-
|
2005
|
-
|
2280
|
+
className: "WeightResolution",
|
2281
|
+
uberParent: "BaseResolution",
|
2282
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2283
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
|
2284
|
+
serializedName: "unit",
|
2006
2285
|
required: true,
|
2286
|
+
type: {
|
2287
|
+
name: "String"
|
2288
|
+
}
|
2289
|
+
} })
|
2290
|
+
}
|
2291
|
+
};
|
2292
|
+
const CurrencyResolution = {
|
2293
|
+
serializedName: "CurrencyResolution",
|
2294
|
+
type: {
|
2295
|
+
name: "Composite",
|
2296
|
+
className: "CurrencyResolution",
|
2297
|
+
uberParent: "BaseResolution",
|
2298
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2299
|
+
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { iso4217: {
|
2300
|
+
serializedName: "ISO4217",
|
2301
|
+
type: {
|
2302
|
+
name: "String"
|
2303
|
+
}
|
2304
|
+
}, unit: {
|
2305
|
+
serializedName: "unit",
|
2306
|
+
required: true,
|
2307
|
+
type: {
|
2308
|
+
name: "String"
|
2309
|
+
}
|
2310
|
+
} })
|
2311
|
+
}
|
2312
|
+
};
|
2313
|
+
const BooleanResolution = {
|
2314
|
+
serializedName: "BooleanResolution",
|
2315
|
+
type: {
|
2316
|
+
name: "Composite",
|
2317
|
+
className: "BooleanResolution",
|
2318
|
+
uberParent: "BaseResolution",
|
2319
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2320
|
+
modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { value: {
|
2321
|
+
serializedName: "value",
|
2322
|
+
required: true,
|
2323
|
+
type: {
|
2324
|
+
name: "Boolean"
|
2325
|
+
}
|
2326
|
+
} })
|
2327
|
+
}
|
2328
|
+
};
|
2329
|
+
const DateTimeResolution = {
|
2330
|
+
serializedName: "DateTimeResolution",
|
2331
|
+
type: {
|
2332
|
+
name: "Composite",
|
2333
|
+
className: "DateTimeResolution",
|
2334
|
+
uberParent: "BaseResolution",
|
2335
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2336
|
+
modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { timex: {
|
2337
|
+
serializedName: "timex",
|
2338
|
+
required: true,
|
2339
|
+
type: {
|
2340
|
+
name: "String"
|
2341
|
+
}
|
2342
|
+
}, dateTimeSubKind: {
|
2343
|
+
serializedName: "dateTimeSubKind",
|
2344
|
+
required: true,
|
2345
|
+
type: {
|
2346
|
+
name: "String"
|
2347
|
+
}
|
2348
|
+
}, value: {
|
2349
|
+
serializedName: "value",
|
2350
|
+
required: true,
|
2351
|
+
type: {
|
2352
|
+
name: "String"
|
2353
|
+
}
|
2354
|
+
}, modifier: {
|
2355
|
+
serializedName: "modifier",
|
2356
|
+
type: {
|
2357
|
+
name: "String"
|
2358
|
+
}
|
2359
|
+
} })
|
2360
|
+
}
|
2361
|
+
};
|
2362
|
+
const NumberResolution = {
|
2363
|
+
serializedName: "NumberResolution",
|
2364
|
+
type: {
|
2365
|
+
name: "Composite",
|
2366
|
+
className: "NumberResolution",
|
2367
|
+
uberParent: "BaseResolution",
|
2368
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2369
|
+
modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { numberKind: {
|
2370
|
+
serializedName: "numberKind",
|
2371
|
+
required: true,
|
2372
|
+
type: {
|
2373
|
+
name: "String"
|
2374
|
+
}
|
2375
|
+
}, value: {
|
2376
|
+
serializedName: "value",
|
2377
|
+
required: true,
|
2378
|
+
type: {
|
2379
|
+
name: "String"
|
2380
|
+
}
|
2381
|
+
} })
|
2382
|
+
}
|
2383
|
+
};
|
2384
|
+
const OrdinalResolution = {
|
2385
|
+
serializedName: "OrdinalResolution",
|
2386
|
+
type: {
|
2387
|
+
name: "Composite",
|
2388
|
+
className: "OrdinalResolution",
|
2389
|
+
uberParent: "BaseResolution",
|
2390
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2391
|
+
modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { offset: {
|
2392
|
+
serializedName: "offset",
|
2393
|
+
required: true,
|
2394
|
+
type: {
|
2395
|
+
name: "String"
|
2396
|
+
}
|
2397
|
+
}, relativeTo: {
|
2398
|
+
serializedName: "relativeTo",
|
2399
|
+
required: true,
|
2400
|
+
type: {
|
2401
|
+
name: "String"
|
2402
|
+
}
|
2403
|
+
}, value: {
|
2404
|
+
serializedName: "value",
|
2405
|
+
required: true,
|
2406
|
+
type: {
|
2407
|
+
name: "String"
|
2408
|
+
}
|
2409
|
+
} })
|
2410
|
+
}
|
2411
|
+
};
|
2412
|
+
const TemporalSpanResolution = {
|
2413
|
+
serializedName: "TemporalSpanResolution",
|
2414
|
+
type: {
|
2415
|
+
name: "Composite",
|
2416
|
+
className: "TemporalSpanResolution",
|
2417
|
+
uberParent: "BaseResolution",
|
2418
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2419
|
+
modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { begin: {
|
2420
|
+
serializedName: "begin",
|
2421
|
+
type: {
|
2422
|
+
name: "String"
|
2423
|
+
}
|
2424
|
+
}, end: {
|
2425
|
+
serializedName: "end",
|
2426
|
+
type: {
|
2427
|
+
name: "String"
|
2428
|
+
}
|
2429
|
+
}, duration: {
|
2430
|
+
serializedName: "duration",
|
2431
|
+
type: {
|
2432
|
+
name: "String"
|
2433
|
+
}
|
2434
|
+
}, modifier: {
|
2435
|
+
serializedName: "modifier",
|
2436
|
+
type: {
|
2437
|
+
name: "String"
|
2438
|
+
}
|
2439
|
+
} })
|
2440
|
+
}
|
2441
|
+
};
|
2442
|
+
const NumericRangeResolution = {
|
2443
|
+
serializedName: "NumericRangeResolution",
|
2444
|
+
type: {
|
2445
|
+
name: "Composite",
|
2446
|
+
className: "NumericRangeResolution",
|
2447
|
+
uberParent: "BaseResolution",
|
2448
|
+
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2449
|
+
modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { rangeKind: {
|
2450
|
+
serializedName: "rangeKind",
|
2451
|
+
required: true,
|
2452
|
+
type: {
|
2453
|
+
name: "String"
|
2454
|
+
}
|
2455
|
+
}, minimum: {
|
2456
|
+
serializedName: "minimum",
|
2457
|
+
required: true,
|
2458
|
+
type: {
|
2459
|
+
name: "Number"
|
2460
|
+
}
|
2461
|
+
}, maximum: {
|
2462
|
+
serializedName: "maximum",
|
2463
|
+
required: true,
|
2464
|
+
type: {
|
2465
|
+
name: "Number"
|
2466
|
+
}
|
2467
|
+
} })
|
2468
|
+
}
|
2469
|
+
};
|
2470
|
+
const EntityWithResolution = {
|
2471
|
+
type: {
|
2472
|
+
name: "Composite",
|
2473
|
+
className: "EntityWithResolution",
|
2474
|
+
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { resolutions: {
|
2475
|
+
serializedName: "resolutions",
|
2007
2476
|
type: {
|
2008
2477
|
name: "Sequence",
|
2009
2478
|
element: {
|
2010
2479
|
type: {
|
2011
2480
|
name: "Composite",
|
2012
|
-
className: "
|
2481
|
+
className: "BaseResolution"
|
2482
|
+
}
|
2483
|
+
}
|
2484
|
+
}
|
2485
|
+
} })
|
2486
|
+
}
|
2487
|
+
};
|
2488
|
+
const EntitiesDocumentResult = {
|
2489
|
+
type: {
|
2490
|
+
name: "Composite",
|
2491
|
+
className: "EntitiesDocumentResult",
|
2492
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
|
2493
|
+
serializedName: "entities",
|
2494
|
+
required: true,
|
2495
|
+
type: {
|
2496
|
+
name: "Sequence",
|
2497
|
+
element: {
|
2498
|
+
type: {
|
2499
|
+
name: "Composite",
|
2500
|
+
className: "EntityWithResolution"
|
2013
2501
|
}
|
2014
2502
|
}
|
2015
2503
|
}
|
@@ -2059,118 +2547,417 @@ const HealthcareEntitiesDocumentResult = {
|
|
2059
2547
|
element: {
|
2060
2548
|
type: {
|
2061
2549
|
name: "Composite",
|
2062
|
-
className: "HealthcareRelation"
|
2550
|
+
className: "HealthcareRelation"
|
2551
|
+
}
|
2552
|
+
}
|
2553
|
+
}
|
2554
|
+
}, fhirBundle: {
|
2555
|
+
serializedName: "fhirBundle",
|
2556
|
+
type: {
|
2557
|
+
name: "Dictionary",
|
2558
|
+
value: { type: { name: "any" } }
|
2559
|
+
}
|
2560
|
+
} })
|
2561
|
+
}
|
2562
|
+
};
|
2563
|
+
const SentimentDocumentResult = {
|
2564
|
+
type: {
|
2565
|
+
name: "Composite",
|
2566
|
+
className: "SentimentDocumentResult",
|
2567
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { sentiment: {
|
2568
|
+
serializedName: "sentiment",
|
2569
|
+
required: true,
|
2570
|
+
type: {
|
2571
|
+
name: "Enum",
|
2572
|
+
allowedValues: ["positive", "neutral", "negative", "mixed"]
|
2573
|
+
}
|
2574
|
+
}, confidenceScores: {
|
2575
|
+
serializedName: "confidenceScores",
|
2576
|
+
type: {
|
2577
|
+
name: "Composite",
|
2578
|
+
className: "SentimentConfidenceScores"
|
2579
|
+
}
|
2580
|
+
}, sentences: {
|
2581
|
+
serializedName: "sentences",
|
2582
|
+
required: true,
|
2583
|
+
type: {
|
2584
|
+
name: "Sequence",
|
2585
|
+
element: {
|
2586
|
+
type: {
|
2587
|
+
name: "Composite",
|
2588
|
+
className: "SentenceSentiment"
|
2589
|
+
}
|
2590
|
+
}
|
2591
|
+
}
|
2592
|
+
} })
|
2593
|
+
}
|
2594
|
+
};
|
2595
|
+
const LinkedEntitiesDocumentResult = {
|
2596
|
+
type: {
|
2597
|
+
name: "Composite",
|
2598
|
+
className: "LinkedEntitiesDocumentResult",
|
2599
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
|
2600
|
+
serializedName: "entities",
|
2601
|
+
required: true,
|
2602
|
+
type: {
|
2603
|
+
name: "Sequence",
|
2604
|
+
element: {
|
2605
|
+
type: {
|
2606
|
+
name: "Composite",
|
2607
|
+
className: "LinkedEntity"
|
2608
|
+
}
|
2609
|
+
}
|
2610
|
+
}
|
2611
|
+
} })
|
2612
|
+
}
|
2613
|
+
};
|
2614
|
+
const PiiEntitiesDocumentResult = {
|
2615
|
+
type: {
|
2616
|
+
name: "Composite",
|
2617
|
+
className: "PiiEntitiesDocumentResult",
|
2618
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { redactedText: {
|
2619
|
+
serializedName: "redactedText",
|
2620
|
+
required: true,
|
2621
|
+
type: {
|
2622
|
+
name: "String"
|
2623
|
+
}
|
2624
|
+
}, entities: {
|
2625
|
+
serializedName: "entities",
|
2626
|
+
required: true,
|
2627
|
+
type: {
|
2628
|
+
name: "Sequence",
|
2629
|
+
element: {
|
2630
|
+
type: {
|
2631
|
+
name: "Composite",
|
2632
|
+
className: "Entity"
|
2633
|
+
}
|
2634
|
+
}
|
2635
|
+
}
|
2636
|
+
} })
|
2637
|
+
}
|
2638
|
+
};
|
2639
|
+
const ExtractedSummaryDocumentResult = {
|
2640
|
+
type: {
|
2641
|
+
name: "Composite",
|
2642
|
+
className: "ExtractedSummaryDocumentResult",
|
2643
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { sentences: {
|
2644
|
+
serializedName: "sentences",
|
2645
|
+
required: true,
|
2646
|
+
type: {
|
2647
|
+
name: "Sequence",
|
2648
|
+
element: {
|
2649
|
+
type: {
|
2650
|
+
name: "Composite",
|
2651
|
+
className: "SummarySentence"
|
2652
|
+
}
|
2653
|
+
}
|
2654
|
+
}
|
2655
|
+
} })
|
2656
|
+
}
|
2657
|
+
};
|
2658
|
+
const KeyPhrasesDocumentResult = {
|
2659
|
+
type: {
|
2660
|
+
name: "Composite",
|
2661
|
+
className: "KeyPhrasesDocumentResult",
|
2662
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { keyPhrases: {
|
2663
|
+
serializedName: "keyPhrases",
|
2664
|
+
required: true,
|
2665
|
+
type: {
|
2666
|
+
name: "Sequence",
|
2667
|
+
element: {
|
2668
|
+
type: {
|
2669
|
+
name: "String"
|
2670
|
+
}
|
2671
|
+
}
|
2672
|
+
}
|
2673
|
+
} })
|
2674
|
+
}
|
2675
|
+
};
|
2676
|
+
const LanguageDetectionDocumentResult = {
|
2677
|
+
type: {
|
2678
|
+
name: "Composite",
|
2679
|
+
className: "LanguageDetectionDocumentResult",
|
2680
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { detectedLanguage: {
|
2681
|
+
serializedName: "detectedLanguage",
|
2682
|
+
type: {
|
2683
|
+
name: "Composite",
|
2684
|
+
className: "DetectedLanguage"
|
2685
|
+
}
|
2686
|
+
} })
|
2687
|
+
}
|
2688
|
+
};
|
2689
|
+
const AbstractiveSummaryDocumentResult = {
|
2690
|
+
type: {
|
2691
|
+
name: "Composite",
|
2692
|
+
className: "AbstractiveSummaryDocumentResult",
|
2693
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { summaries: {
|
2694
|
+
serializedName: "summaries",
|
2695
|
+
required: true,
|
2696
|
+
type: {
|
2697
|
+
name: "Sequence",
|
2698
|
+
element: {
|
2699
|
+
type: {
|
2700
|
+
name: "Composite",
|
2701
|
+
className: "AbstractiveSummary"
|
2702
|
+
}
|
2703
|
+
}
|
2704
|
+
}
|
2705
|
+
} })
|
2706
|
+
}
|
2707
|
+
};
|
2708
|
+
const CustomEntitiesResultDocumentsItem = {
|
2709
|
+
type: {
|
2710
|
+
name: "Composite",
|
2711
|
+
className: "CustomEntitiesResultDocumentsItem",
|
2712
|
+
modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2713
|
+
}
|
2714
|
+
};
|
2715
|
+
const CustomLabelClassificationResultDocumentsItem = {
|
2716
|
+
type: {
|
2717
|
+
name: "Composite",
|
2718
|
+
className: "CustomLabelClassificationResultDocumentsItem",
|
2719
|
+
modelProperties: Object.assign(Object.assign({}, ClassificationDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2720
|
+
}
|
2721
|
+
};
|
2722
|
+
const HealthcareResultDocumentsItem = {
|
2723
|
+
type: {
|
2724
|
+
name: "Composite",
|
2725
|
+
className: "HealthcareResultDocumentsItem",
|
2726
|
+
modelProperties: Object.assign(Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2727
|
+
}
|
2728
|
+
};
|
2729
|
+
const SentimentResponseDocumentsItem = {
|
2730
|
+
type: {
|
2731
|
+
name: "Composite",
|
2732
|
+
className: "SentimentResponseDocumentsItem",
|
2733
|
+
modelProperties: Object.assign(Object.assign({}, SentimentDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2734
|
+
}
|
2735
|
+
};
|
2736
|
+
const EntitiesResultDocumentsItem = {
|
2737
|
+
type: {
|
2738
|
+
name: "Composite",
|
2739
|
+
className: "EntitiesResultDocumentsItem",
|
2740
|
+
modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2741
|
+
}
|
2742
|
+
};
|
2743
|
+
const EntityLinkingResultDocumentsItem = {
|
2744
|
+
type: {
|
2745
|
+
name: "Composite",
|
2746
|
+
className: "EntityLinkingResultDocumentsItem",
|
2747
|
+
modelProperties: Object.assign(Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2748
|
+
}
|
2749
|
+
};
|
2750
|
+
const PiiResultDocumentsItem = {
|
2751
|
+
type: {
|
2752
|
+
name: "Composite",
|
2753
|
+
className: "PiiResultDocumentsItem",
|
2754
|
+
modelProperties: Object.assign(Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2755
|
+
}
|
2756
|
+
};
|
2757
|
+
const ExtractiveSummarizationResultDocumentsItem = {
|
2758
|
+
type: {
|
2759
|
+
name: "Composite",
|
2760
|
+
className: "ExtractiveSummarizationResultDocumentsItem",
|
2761
|
+
modelProperties: Object.assign(Object.assign({}, ExtractedSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2762
|
+
}
|
2763
|
+
};
|
2764
|
+
const KeyPhraseResultDocumentsItem = {
|
2765
|
+
type: {
|
2766
|
+
name: "Composite",
|
2767
|
+
className: "KeyPhraseResultDocumentsItem",
|
2768
|
+
modelProperties: Object.assign(Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2769
|
+
}
|
2770
|
+
};
|
2771
|
+
const AbstractiveSummarizationResultBaseDocumentsItem = {
|
2772
|
+
type: {
|
2773
|
+
name: "Composite",
|
2774
|
+
className: "AbstractiveSummarizationResultBaseDocumentsItem",
|
2775
|
+
modelProperties: Object.assign(Object.assign({}, AbstractiveSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2776
|
+
}
|
2777
|
+
};
|
2778
|
+
const HealthcareResult = {
|
2779
|
+
type: {
|
2780
|
+
name: "Composite",
|
2781
|
+
className: "HealthcareResult",
|
2782
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2783
|
+
serializedName: "documents",
|
2784
|
+
required: true,
|
2785
|
+
type: {
|
2786
|
+
name: "Sequence",
|
2787
|
+
element: {
|
2788
|
+
type: {
|
2789
|
+
name: "Composite",
|
2790
|
+
className: "HealthcareResultDocumentsItem"
|
2791
|
+
}
|
2792
|
+
}
|
2793
|
+
}
|
2794
|
+
} })
|
2795
|
+
}
|
2796
|
+
};
|
2797
|
+
const SentimentResponse = {
|
2798
|
+
type: {
|
2799
|
+
name: "Composite",
|
2800
|
+
className: "SentimentResponse",
|
2801
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2802
|
+
serializedName: "documents",
|
2803
|
+
required: true,
|
2804
|
+
type: {
|
2805
|
+
name: "Sequence",
|
2806
|
+
element: {
|
2807
|
+
type: {
|
2808
|
+
name: "Composite",
|
2809
|
+
className: "SentimentResponseDocumentsItem"
|
2810
|
+
}
|
2811
|
+
}
|
2812
|
+
}
|
2813
|
+
} })
|
2814
|
+
}
|
2815
|
+
};
|
2816
|
+
const EntitiesResult = {
|
2817
|
+
type: {
|
2818
|
+
name: "Composite",
|
2819
|
+
className: "EntitiesResult",
|
2820
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2821
|
+
serializedName: "documents",
|
2822
|
+
required: true,
|
2823
|
+
type: {
|
2824
|
+
name: "Sequence",
|
2825
|
+
element: {
|
2826
|
+
type: {
|
2827
|
+
name: "Composite",
|
2828
|
+
className: "EntitiesResultDocumentsItem"
|
2829
|
+
}
|
2830
|
+
}
|
2831
|
+
}
|
2832
|
+
} })
|
2833
|
+
}
|
2834
|
+
};
|
2835
|
+
const EntityLinkingResult = {
|
2836
|
+
type: {
|
2837
|
+
name: "Composite",
|
2838
|
+
className: "EntityLinkingResult",
|
2839
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2840
|
+
serializedName: "documents",
|
2841
|
+
required: true,
|
2842
|
+
type: {
|
2843
|
+
name: "Sequence",
|
2844
|
+
element: {
|
2845
|
+
type: {
|
2846
|
+
name: "Composite",
|
2847
|
+
className: "EntityLinkingResultDocumentsItem"
|
2848
|
+
}
|
2849
|
+
}
|
2850
|
+
}
|
2851
|
+
} })
|
2852
|
+
}
|
2853
|
+
};
|
2854
|
+
const PiiResult = {
|
2855
|
+
type: {
|
2856
|
+
name: "Composite",
|
2857
|
+
className: "PiiResult",
|
2858
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2859
|
+
serializedName: "documents",
|
2860
|
+
required: true,
|
2861
|
+
type: {
|
2862
|
+
name: "Sequence",
|
2863
|
+
element: {
|
2864
|
+
type: {
|
2865
|
+
name: "Composite",
|
2866
|
+
className: "PiiResultDocumentsItem"
|
2063
2867
|
}
|
2064
2868
|
}
|
2065
2869
|
}
|
2066
2870
|
} })
|
2067
2871
|
}
|
2068
2872
|
};
|
2069
|
-
const
|
2873
|
+
const ExtractiveSummarizationResult = {
|
2070
2874
|
type: {
|
2071
2875
|
name: "Composite",
|
2072
|
-
className: "
|
2073
|
-
modelProperties: Object.assign(Object.assign({},
|
2074
|
-
serializedName: "
|
2075
|
-
required: true,
|
2076
|
-
type: {
|
2077
|
-
name: "Enum",
|
2078
|
-
allowedValues: ["positive", "neutral", "negative", "mixed"]
|
2079
|
-
}
|
2080
|
-
}, confidenceScores: {
|
2081
|
-
serializedName: "confidenceScores",
|
2082
|
-
type: {
|
2083
|
-
name: "Composite",
|
2084
|
-
className: "SentimentConfidenceScores"
|
2085
|
-
}
|
2086
|
-
}, sentences: {
|
2087
|
-
serializedName: "sentences",
|
2876
|
+
className: "ExtractiveSummarizationResult",
|
2877
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2878
|
+
serializedName: "documents",
|
2088
2879
|
required: true,
|
2089
2880
|
type: {
|
2090
2881
|
name: "Sequence",
|
2091
2882
|
element: {
|
2092
2883
|
type: {
|
2093
2884
|
name: "Composite",
|
2094
|
-
className: "
|
2885
|
+
className: "ExtractiveSummarizationResultDocumentsItem"
|
2095
2886
|
}
|
2096
2887
|
}
|
2097
2888
|
}
|
2098
2889
|
} })
|
2099
2890
|
}
|
2100
2891
|
};
|
2101
|
-
const
|
2892
|
+
const KeyPhraseResult = {
|
2102
2893
|
type: {
|
2103
2894
|
name: "Composite",
|
2104
|
-
className: "
|
2105
|
-
modelProperties: Object.assign(Object.assign({},
|
2106
|
-
serializedName: "
|
2895
|
+
className: "KeyPhraseResult",
|
2896
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2897
|
+
serializedName: "documents",
|
2107
2898
|
required: true,
|
2108
2899
|
type: {
|
2109
2900
|
name: "Sequence",
|
2110
2901
|
element: {
|
2111
2902
|
type: {
|
2112
2903
|
name: "Composite",
|
2113
|
-
className: "
|
2904
|
+
className: "KeyPhraseResultDocumentsItem"
|
2114
2905
|
}
|
2115
2906
|
}
|
2116
2907
|
}
|
2117
2908
|
} })
|
2118
2909
|
}
|
2119
2910
|
};
|
2120
|
-
const
|
2911
|
+
const LanguageDetectionResult = {
|
2121
2912
|
type: {
|
2122
2913
|
name: "Composite",
|
2123
|
-
className: "
|
2124
|
-
modelProperties: Object.assign(Object.assign({},
|
2125
|
-
serializedName: "
|
2126
|
-
required: true,
|
2127
|
-
type: {
|
2128
|
-
name: "String"
|
2129
|
-
}
|
2130
|
-
}, entities: {
|
2131
|
-
serializedName: "entities",
|
2914
|
+
className: "LanguageDetectionResult",
|
2915
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2916
|
+
serializedName: "documents",
|
2132
2917
|
required: true,
|
2133
2918
|
type: {
|
2134
2919
|
name: "Sequence",
|
2135
2920
|
element: {
|
2136
2921
|
type: {
|
2137
2922
|
name: "Composite",
|
2138
|
-
className: "
|
2923
|
+
className: "LanguageDetectionDocumentResult"
|
2139
2924
|
}
|
2140
2925
|
}
|
2141
2926
|
}
|
2142
2927
|
} })
|
2143
2928
|
}
|
2144
2929
|
};
|
2145
|
-
const
|
2930
|
+
const DynamicClassificationResult = {
|
2146
2931
|
type: {
|
2147
2932
|
name: "Composite",
|
2148
|
-
className: "
|
2149
|
-
modelProperties: Object.assign(Object.assign({},
|
2150
|
-
serializedName: "
|
2933
|
+
className: "DynamicClassificationResult",
|
2934
|
+
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2935
|
+
serializedName: "documents",
|
2151
2936
|
required: true,
|
2152
2937
|
type: {
|
2153
2938
|
name: "Sequence",
|
2154
2939
|
element: {
|
2155
2940
|
type: {
|
2156
|
-
name: "
|
2941
|
+
name: "Composite",
|
2942
|
+
className: "DynamicClassificationResultDocumentsItem"
|
2157
2943
|
}
|
2158
2944
|
}
|
2159
2945
|
}
|
2160
2946
|
} })
|
2161
2947
|
}
|
2162
2948
|
};
|
2163
|
-
const
|
2949
|
+
const AbstractiveSummarizationResult = {
|
2164
2950
|
type: {
|
2165
2951
|
name: "Composite",
|
2166
|
-
className: "
|
2167
|
-
modelProperties: Object.assign(Object.assign({},
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2952
|
+
className: "AbstractiveSummarizationResult",
|
2953
|
+
modelProperties: Object.assign(Object.assign({}, AbstractiveSummarizationResultBase.type.modelProperties), PreBuiltResult.type.modelProperties)
|
2954
|
+
}
|
2955
|
+
};
|
2956
|
+
const AbstractiveSummarizationAction = {
|
2957
|
+
type: {
|
2958
|
+
name: "Composite",
|
2959
|
+
className: "AbstractiveSummarizationAction",
|
2960
|
+
modelProperties: Object.assign(Object.assign({}, AbstractiveSummarizationTaskParametersBase.type.modelProperties), ActionPrebuilt.type.modelProperties)
|
2174
2961
|
}
|
2175
2962
|
};
|
2176
2963
|
const CustomEntitiesLROTask = {
|
@@ -2301,6 +3088,22 @@ const PiiLROTask = {
|
|
2301
3088
|
} })
|
2302
3089
|
}
|
2303
3090
|
};
|
3091
|
+
const ExtractiveSummarizationLROTask = {
|
3092
|
+
serializedName: "ExtractiveSummarization",
|
3093
|
+
type: {
|
3094
|
+
name: "Composite",
|
3095
|
+
className: "ExtractiveSummarizationLROTask",
|
3096
|
+
uberParent: "BatchActionState",
|
3097
|
+
polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
|
3098
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3099
|
+
serializedName: "parameters",
|
3100
|
+
type: {
|
3101
|
+
name: "Composite",
|
3102
|
+
className: "ExtractiveSummarizationAction"
|
3103
|
+
}
|
3104
|
+
} })
|
3105
|
+
}
|
3106
|
+
};
|
2304
3107
|
const KeyPhraseLROTask = {
|
2305
3108
|
serializedName: "KeyPhraseExtraction",
|
2306
3109
|
type: {
|
@@ -2317,6 +3120,22 @@ const KeyPhraseLROTask = {
|
|
2317
3120
|
} })
|
2318
3121
|
}
|
2319
3122
|
};
|
3123
|
+
const AbstractiveSummarizationLROTask = {
|
3124
|
+
serializedName: "AbstractiveSummarization",
|
3125
|
+
type: {
|
3126
|
+
name: "Composite",
|
3127
|
+
className: "AbstractiveSummarizationLROTask",
|
3128
|
+
uberParent: "BatchActionState",
|
3129
|
+
polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
|
3130
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
|
3131
|
+
serializedName: "parameters",
|
3132
|
+
type: {
|
3133
|
+
name: "Composite",
|
3134
|
+
className: "AbstractiveSummarizationAction"
|
3135
|
+
}
|
3136
|
+
} })
|
3137
|
+
}
|
3138
|
+
};
|
2320
3139
|
const EntityRecognitionLROResult = {
|
2321
3140
|
serializedName: "EntityRecognitionLROResults",
|
2322
3141
|
type: {
|
@@ -2413,6 +3232,22 @@ const PiiEntityRecognitionLROResult = {
|
|
2413
3232
|
} })
|
2414
3233
|
}
|
2415
3234
|
};
|
3235
|
+
const ExtractiveSummarizationLROResult = {
|
3236
|
+
serializedName: "ExtractiveSummarizationLROResults",
|
3237
|
+
type: {
|
3238
|
+
name: "Composite",
|
3239
|
+
className: "ExtractiveSummarizationLROResult",
|
3240
|
+
uberParent: "TaskState",
|
3241
|
+
polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
|
3242
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3243
|
+
serializedName: "results",
|
3244
|
+
type: {
|
3245
|
+
name: "Composite",
|
3246
|
+
className: "ExtractiveSummarizationResult"
|
3247
|
+
}
|
3248
|
+
} })
|
3249
|
+
}
|
3250
|
+
};
|
2416
3251
|
const HealthcareLROResult = {
|
2417
3252
|
serializedName: "HealthcareLROResults",
|
2418
3253
|
type: {
|
@@ -2461,6 +3296,22 @@ const KeyPhraseExtractionLROResult = {
|
|
2461
3296
|
} })
|
2462
3297
|
}
|
2463
3298
|
};
|
3299
|
+
const AbstractiveSummarizationLROResult = {
|
3300
|
+
serializedName: "AbstractiveSummarizationLROResults",
|
3301
|
+
type: {
|
3302
|
+
name: "Composite",
|
3303
|
+
className: "AbstractiveSummarizationLROResult",
|
3304
|
+
uberParent: "TaskState",
|
3305
|
+
polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
|
3306
|
+
modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
|
3307
|
+
serializedName: "results",
|
3308
|
+
type: {
|
3309
|
+
name: "Composite",
|
3310
|
+
className: "AbstractiveSummarizationResult"
|
3311
|
+
}
|
3312
|
+
} })
|
3313
|
+
}
|
3314
|
+
};
|
2464
3315
|
const EntityLinkingAction = {
|
2465
3316
|
type: {
|
2466
3317
|
name: "Composite",
|
@@ -2552,11 +3403,70 @@ const SentimentAnalysisAction = {
|
|
2552
3403
|
} })
|
2553
3404
|
}
|
2554
3405
|
};
|
3406
|
+
const DynamicClassificationAction = {
|
3407
|
+
type: {
|
3408
|
+
name: "Composite",
|
3409
|
+
className: "DynamicClassificationAction",
|
3410
|
+
modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { classificationType: {
|
3411
|
+
defaultValue: "Multi",
|
3412
|
+
serializedName: "classificationType",
|
3413
|
+
type: {
|
3414
|
+
name: "String"
|
3415
|
+
}
|
3416
|
+
}, categories: {
|
3417
|
+
serializedName: "categories",
|
3418
|
+
required: true,
|
3419
|
+
type: {
|
3420
|
+
name: "Sequence",
|
3421
|
+
element: {
|
3422
|
+
type: {
|
3423
|
+
name: "String"
|
3424
|
+
}
|
3425
|
+
}
|
3426
|
+
}
|
3427
|
+
} })
|
3428
|
+
}
|
3429
|
+
};
|
2555
3430
|
const HealthcareAction = {
|
2556
3431
|
type: {
|
2557
3432
|
name: "Composite",
|
2558
3433
|
className: "HealthcareAction",
|
2559
|
-
modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), {
|
3434
|
+
modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { fhirVersion: {
|
3435
|
+
serializedName: "fhirVersion",
|
3436
|
+
type: {
|
3437
|
+
name: "String"
|
3438
|
+
}
|
3439
|
+
}, documentType: {
|
3440
|
+
serializedName: "documentType",
|
3441
|
+
type: {
|
3442
|
+
name: "String"
|
3443
|
+
}
|
3444
|
+
}, stringIndexType: {
|
3445
|
+
defaultValue: "Utf16CodeUnit",
|
3446
|
+
serializedName: "stringIndexType",
|
3447
|
+
type: {
|
3448
|
+
name: "String"
|
3449
|
+
}
|
3450
|
+
} })
|
3451
|
+
}
|
3452
|
+
};
|
3453
|
+
const ExtractiveSummarizationAction = {
|
3454
|
+
type: {
|
3455
|
+
name: "Composite",
|
3456
|
+
className: "ExtractiveSummarizationAction",
|
3457
|
+
modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { maxSentenceCount: {
|
3458
|
+
defaultValue: 3,
|
3459
|
+
serializedName: "sentenceCount",
|
3460
|
+
type: {
|
3461
|
+
name: "Number"
|
3462
|
+
}
|
3463
|
+
}, orderBy: {
|
3464
|
+
defaultValue: "Offset",
|
3465
|
+
serializedName: "sortBy",
|
3466
|
+
type: {
|
3467
|
+
name: "String"
|
3468
|
+
}
|
3469
|
+
}, stringIndexType: {
|
2560
3470
|
defaultValue: "Utf16CodeUnit",
|
2561
3471
|
serializedName: "stringIndexType",
|
2562
3472
|
type: {
|
@@ -2592,62 +3502,13 @@ const CustomMultiLabelClassificationAction = {
|
|
2592
3502
|
modelProperties: Object.assign({}, ActionCustom.type.modelProperties)
|
2593
3503
|
}
|
2594
3504
|
};
|
2595
|
-
const
|
2596
|
-
type: {
|
2597
|
-
name: "Composite",
|
2598
|
-
className: "CustomEntitiesResultDocumentsItem",
|
2599
|
-
modelProperties: Object.assign({}, EntitiesDocumentResult.type.modelProperties)
|
2600
|
-
}
|
2601
|
-
};
|
2602
|
-
const EntitiesResultDocumentsItem = {
|
2603
|
-
type: {
|
2604
|
-
name: "Composite",
|
2605
|
-
className: "EntitiesResultDocumentsItem",
|
2606
|
-
modelProperties: Object.assign({}, EntitiesDocumentResult.type.modelProperties)
|
2607
|
-
}
|
2608
|
-
};
|
2609
|
-
const CustomLabelClassificationResultDocumentsItem = {
|
3505
|
+
const DynamicClassificationResultDocumentsItem = {
|
2610
3506
|
type: {
|
2611
3507
|
name: "Composite",
|
2612
|
-
className: "
|
3508
|
+
className: "DynamicClassificationResultDocumentsItem",
|
2613
3509
|
modelProperties: Object.assign({}, ClassificationDocumentResult.type.modelProperties)
|
2614
3510
|
}
|
2615
3511
|
};
|
2616
|
-
const HealthcareResultDocumentsItem = {
|
2617
|
-
type: {
|
2618
|
-
name: "Composite",
|
2619
|
-
className: "HealthcareResultDocumentsItem",
|
2620
|
-
modelProperties: Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties)
|
2621
|
-
}
|
2622
|
-
};
|
2623
|
-
const SentimentResponseDocumentsItem = {
|
2624
|
-
type: {
|
2625
|
-
name: "Composite",
|
2626
|
-
className: "SentimentResponseDocumentsItem",
|
2627
|
-
modelProperties: Object.assign({}, SentimentDocumentResult.type.modelProperties)
|
2628
|
-
}
|
2629
|
-
};
|
2630
|
-
const EntityLinkingResultDocumentsItem = {
|
2631
|
-
type: {
|
2632
|
-
name: "Composite",
|
2633
|
-
className: "EntityLinkingResultDocumentsItem",
|
2634
|
-
modelProperties: Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties)
|
2635
|
-
}
|
2636
|
-
};
|
2637
|
-
const PiiResultDocumentsItem = {
|
2638
|
-
type: {
|
2639
|
-
name: "Composite",
|
2640
|
-
className: "PiiResultDocumentsItem",
|
2641
|
-
modelProperties: Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties)
|
2642
|
-
}
|
2643
|
-
};
|
2644
|
-
const KeyPhraseResultDocumentsItem = {
|
2645
|
-
type: {
|
2646
|
-
name: "Composite",
|
2647
|
-
className: "KeyPhraseResultDocumentsItem",
|
2648
|
-
modelProperties: Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties)
|
2649
|
-
}
|
2650
|
-
};
|
2651
3512
|
const GeneratedClientAnalyzeBatchHeaders = {
|
2652
3513
|
type: {
|
2653
3514
|
name: "Composite",
|
@@ -2679,20 +3540,38 @@ const AnalyzeTextCancelJobHeaders = {
|
|
2679
3540
|
let discriminators = {
|
2680
3541
|
AnalyzeAction: AnalyzeAction,
|
2681
3542
|
AnalyzeTextTaskResult: AnalyzeTextTaskResult,
|
3543
|
+
BaseResolution: BaseResolution,
|
2682
3544
|
"AnalyzeAction.EntityLinking": AnalyzeTextEntityLinkingInput,
|
2683
3545
|
"AnalyzeAction.EntityRecognition": AnalyzeTextEntityRecognitionInput,
|
2684
3546
|
"AnalyzeAction.KeyPhraseExtraction": AnalyzeTextKeyPhraseExtractionInput,
|
2685
3547
|
"AnalyzeAction.PiiEntityRecognition": AnalyzeTextPiiEntitiesRecognitionInput,
|
2686
3548
|
"AnalyzeAction.LanguageDetection": AnalyzeTextLanguageDetectionInput,
|
2687
3549
|
"AnalyzeAction.SentimentAnalysis": AnalyzeTextSentimentAnalysisInput,
|
3550
|
+
"AnalyzeAction.DynamicClassification": AnalyzeTextDynamicClassificationInput,
|
2688
3551
|
"AnalyzeTextTaskResult.SentimentAnalysisResults": SentimentTaskResult,
|
2689
3552
|
"AnalyzeTextTaskResult.EntityRecognitionResults": EntitiesTaskResult,
|
2690
3553
|
"AnalyzeTextTaskResult.EntityLinkingResults": EntityLinkingTaskResult,
|
2691
3554
|
"AnalyzeTextTaskResult.PiiEntityRecognitionResults": PiiTaskResult,
|
2692
3555
|
"AnalyzeTextTaskResult.KeyPhraseExtractionResults": KeyPhraseTaskResult,
|
2693
3556
|
"AnalyzeTextTaskResult.LanguageDetectionResults": LanguageDetectionTaskResult,
|
3557
|
+
"AnalyzeTextTaskResult.DynamicClassificationResults": DynamicClassificationTaskResult,
|
2694
3558
|
"BatchActionState.AnalyzeBatchAction": AnalyzeBatchAction,
|
2695
3559
|
"TaskState.AnalyzeTextLROResult": AnalyzeTextLROResult,
|
3560
|
+
"BaseResolution.AgeResolution": AgeResolution,
|
3561
|
+
"BaseResolution.VolumeResolution": VolumeResolution,
|
3562
|
+
"BaseResolution.SpeedResolution": SpeedResolution,
|
3563
|
+
"BaseResolution.AreaResolution": AreaResolution,
|
3564
|
+
"BaseResolution.LengthResolution": LengthResolution,
|
3565
|
+
"BaseResolution.InformationResolution": InformationResolution,
|
3566
|
+
"BaseResolution.TemperatureResolution": TemperatureResolution,
|
3567
|
+
"BaseResolution.WeightResolution": WeightResolution,
|
3568
|
+
"BaseResolution.CurrencyResolution": CurrencyResolution,
|
3569
|
+
"BaseResolution.BooleanResolution": BooleanResolution,
|
3570
|
+
"BaseResolution.DateTimeResolution": DateTimeResolution,
|
3571
|
+
"BaseResolution.NumberResolution": NumberResolution,
|
3572
|
+
"BaseResolution.OrdinalResolution": OrdinalResolution,
|
3573
|
+
"BaseResolution.TemporalSpanResolution": TemporalSpanResolution,
|
3574
|
+
"BaseResolution.NumericRangeResolution": NumericRangeResolution,
|
2696
3575
|
"BatchActionState.CustomEntityRecognition": CustomEntitiesLROTask,
|
2697
3576
|
"BatchActionState.CustomSingleLabelClassification": CustomSingleLabelClassificationLROTask,
|
2698
3577
|
"BatchActionState.CustomMultiLabelClassification": CustomMultiLabelClassificationLROTask,
|
@@ -2701,16 +3580,20 @@ let discriminators = {
|
|
2701
3580
|
"BatchActionState.EntityRecognition": EntitiesLROTask,
|
2702
3581
|
"BatchActionState.EntityLinking": EntityLinkingLROTask,
|
2703
3582
|
"BatchActionState.PiiEntityRecognition": PiiLROTask,
|
3583
|
+
"BatchActionState.ExtractiveSummarization": ExtractiveSummarizationLROTask,
|
2704
3584
|
"BatchActionState.KeyPhraseExtraction": KeyPhraseLROTask,
|
3585
|
+
"BatchActionState.AbstractiveSummarization": AbstractiveSummarizationLROTask,
|
2705
3586
|
"TaskState.EntityRecognitionLROResults": EntityRecognitionLROResult,
|
2706
3587
|
"TaskState.CustomEntityRecognitionLROResults": CustomEntityRecognitionLROResult,
|
2707
3588
|
"TaskState.CustomSingleLabelClassificationLROResults": CustomSingleLabelClassificationLROResult,
|
2708
3589
|
"TaskState.CustomMultiLabelClassificationLROResults": CustomMultiLabelClassificationLROResult,
|
2709
3590
|
"TaskState.EntityLinkingLROResults": EntityLinkingLROResult,
|
2710
3591
|
"TaskState.PiiEntityRecognitionLROResults": PiiEntityRecognitionLROResult,
|
3592
|
+
"TaskState.ExtractiveSummarizationLROResults": ExtractiveSummarizationLROResult,
|
2711
3593
|
"TaskState.HealthcareLROResults": HealthcareLROResult,
|
2712
3594
|
"TaskState.SentimentAnalysisLROResults": SentimentLROResult,
|
2713
|
-
"TaskState.KeyPhraseExtractionLROResults": KeyPhraseExtractionLROResult
|
3595
|
+
"TaskState.KeyPhraseExtractionLROResults": KeyPhraseExtractionLROResult,
|
3596
|
+
"TaskState.AbstractiveSummarizationLROResults": AbstractiveSummarizationLROResult
|
2714
3597
|
};
|
2715
3598
|
|
2716
3599
|
var Mappers = /*#__PURE__*/Object.freeze({
|
@@ -2733,19 +3616,23 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
2733
3616
|
LanguageDetectionAnalysisInput: LanguageDetectionAnalysisInput,
|
2734
3617
|
LanguageDetectionInput: LanguageDetectionInput,
|
2735
3618
|
ActionCommon: ActionCommon,
|
2736
|
-
PreBuiltResult: PreBuiltResult,
|
2737
|
-
DocumentError: DocumentError,
|
2738
3619
|
CustomResult: CustomResult,
|
3620
|
+
DocumentError: DocumentError,
|
3621
|
+
BaseResolution: BaseResolution,
|
2739
3622
|
Entity: Entity,
|
2740
3623
|
DocumentResult: DocumentResult,
|
2741
3624
|
DocumentWarning: DocumentWarning,
|
2742
3625
|
TextDocumentStatistics: TextDocumentStatistics,
|
3626
|
+
DocumentDetectedLanguage: DocumentDetectedLanguage,
|
3627
|
+
DetectedLanguage: DetectedLanguage,
|
2743
3628
|
ClassificationCategory: ClassificationCategory,
|
2744
3629
|
HealthcareEntity: HealthcareEntity,
|
2745
3630
|
HealthcareAssertion: HealthcareAssertion,
|
2746
3631
|
EntityDataSource: EntityDataSource,
|
2747
3632
|
HealthcareRelation: HealthcareRelation,
|
2748
3633
|
HealthcareRelationEntity: HealthcareRelationEntity,
|
3634
|
+
PreBuiltResult: PreBuiltResult,
|
3635
|
+
InputError: InputError,
|
2749
3636
|
SentimentConfidenceScores: SentimentConfidenceScores,
|
2750
3637
|
SentenceSentiment: SentenceSentiment,
|
2751
3638
|
SentenceTarget: SentenceTarget,
|
@@ -2754,43 +3641,83 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
2754
3641
|
AssessmentSentiment: AssessmentSentiment,
|
2755
3642
|
LinkedEntity: LinkedEntity,
|
2756
3643
|
Match: Match,
|
2757
|
-
|
3644
|
+
SummarySentence: SummarySentence,
|
2758
3645
|
Pagination: Pagination,
|
2759
|
-
|
3646
|
+
AbstractiveSummarizationTaskParametersBase: AbstractiveSummarizationTaskParametersBase,
|
3647
|
+
PhraseControl: PhraseControl,
|
3648
|
+
AbstractiveSummarizationResultBase: AbstractiveSummarizationResultBase,
|
3649
|
+
AbstractiveSummary: AbstractiveSummary,
|
3650
|
+
SummaryContext: SummaryContext,
|
3651
|
+
QuantityResolution: QuantityResolution,
|
2760
3652
|
AnalyzeTextEntityLinkingInput: AnalyzeTextEntityLinkingInput,
|
2761
3653
|
AnalyzeTextEntityRecognitionInput: AnalyzeTextEntityRecognitionInput,
|
2762
3654
|
AnalyzeTextKeyPhraseExtractionInput: AnalyzeTextKeyPhraseExtractionInput,
|
2763
3655
|
AnalyzeTextPiiEntitiesRecognitionInput: AnalyzeTextPiiEntitiesRecognitionInput,
|
2764
3656
|
AnalyzeTextLanguageDetectionInput: AnalyzeTextLanguageDetectionInput,
|
2765
3657
|
AnalyzeTextSentimentAnalysisInput: AnalyzeTextSentimentAnalysisInput,
|
3658
|
+
AnalyzeTextDynamicClassificationInput: AnalyzeTextDynamicClassificationInput,
|
2766
3659
|
SentimentTaskResult: SentimentTaskResult,
|
2767
3660
|
EntitiesTaskResult: EntitiesTaskResult,
|
2768
3661
|
EntityLinkingTaskResult: EntityLinkingTaskResult,
|
2769
3662
|
PiiTaskResult: PiiTaskResult,
|
2770
3663
|
KeyPhraseTaskResult: KeyPhraseTaskResult,
|
2771
3664
|
LanguageDetectionTaskResult: LanguageDetectionTaskResult,
|
3665
|
+
DynamicClassificationTaskResult: DynamicClassificationTaskResult,
|
2772
3666
|
AnalyzeBatchAction: AnalyzeBatchAction,
|
2773
3667
|
AnalyzeTextLROResult: AnalyzeTextLROResult,
|
2774
3668
|
AnalyzeTextJobState: AnalyzeTextJobState,
|
3669
|
+
DocumentRequestStatistics: DocumentRequestStatistics,
|
2775
3670
|
ActionPrebuilt: ActionPrebuilt,
|
2776
3671
|
ActionCustom: ActionCustom,
|
2777
|
-
HealthcareResult: HealthcareResult,
|
2778
|
-
SentimentResponse: SentimentResponse,
|
2779
|
-
EntitiesResult: EntitiesResult,
|
2780
|
-
EntityLinkingResult: EntityLinkingResult,
|
2781
|
-
PiiResult: PiiResult,
|
2782
|
-
KeyPhraseResult: KeyPhraseResult,
|
2783
|
-
LanguageDetectionResult: LanguageDetectionResult,
|
2784
3672
|
CustomEntitiesResult: CustomEntitiesResult,
|
2785
3673
|
CustomLabelClassificationResult: CustomLabelClassificationResult,
|
3674
|
+
AgeResolution: AgeResolution,
|
3675
|
+
VolumeResolution: VolumeResolution,
|
3676
|
+
SpeedResolution: SpeedResolution,
|
3677
|
+
AreaResolution: AreaResolution,
|
3678
|
+
LengthResolution: LengthResolution,
|
3679
|
+
InformationResolution: InformationResolution,
|
3680
|
+
TemperatureResolution: TemperatureResolution,
|
3681
|
+
WeightResolution: WeightResolution,
|
3682
|
+
CurrencyResolution: CurrencyResolution,
|
3683
|
+
BooleanResolution: BooleanResolution,
|
3684
|
+
DateTimeResolution: DateTimeResolution,
|
3685
|
+
NumberResolution: NumberResolution,
|
3686
|
+
OrdinalResolution: OrdinalResolution,
|
3687
|
+
TemporalSpanResolution: TemporalSpanResolution,
|
3688
|
+
NumericRangeResolution: NumericRangeResolution,
|
3689
|
+
EntityWithResolution: EntityWithResolution,
|
2786
3690
|
EntitiesDocumentResult: EntitiesDocumentResult,
|
2787
3691
|
ClassificationDocumentResult: ClassificationDocumentResult,
|
2788
3692
|
HealthcareEntitiesDocumentResult: HealthcareEntitiesDocumentResult,
|
2789
3693
|
SentimentDocumentResult: SentimentDocumentResult,
|
2790
3694
|
LinkedEntitiesDocumentResult: LinkedEntitiesDocumentResult,
|
2791
3695
|
PiiEntitiesDocumentResult: PiiEntitiesDocumentResult,
|
3696
|
+
ExtractedSummaryDocumentResult: ExtractedSummaryDocumentResult,
|
2792
3697
|
KeyPhrasesDocumentResult: KeyPhrasesDocumentResult,
|
2793
3698
|
LanguageDetectionDocumentResult: LanguageDetectionDocumentResult,
|
3699
|
+
AbstractiveSummaryDocumentResult: AbstractiveSummaryDocumentResult,
|
3700
|
+
CustomEntitiesResultDocumentsItem: CustomEntitiesResultDocumentsItem,
|
3701
|
+
CustomLabelClassificationResultDocumentsItem: CustomLabelClassificationResultDocumentsItem,
|
3702
|
+
HealthcareResultDocumentsItem: HealthcareResultDocumentsItem,
|
3703
|
+
SentimentResponseDocumentsItem: SentimentResponseDocumentsItem,
|
3704
|
+
EntitiesResultDocumentsItem: EntitiesResultDocumentsItem,
|
3705
|
+
EntityLinkingResultDocumentsItem: EntityLinkingResultDocumentsItem,
|
3706
|
+
PiiResultDocumentsItem: PiiResultDocumentsItem,
|
3707
|
+
ExtractiveSummarizationResultDocumentsItem: ExtractiveSummarizationResultDocumentsItem,
|
3708
|
+
KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
|
3709
|
+
AbstractiveSummarizationResultBaseDocumentsItem: AbstractiveSummarizationResultBaseDocumentsItem,
|
3710
|
+
HealthcareResult: HealthcareResult,
|
3711
|
+
SentimentResponse: SentimentResponse,
|
3712
|
+
EntitiesResult: EntitiesResult,
|
3713
|
+
EntityLinkingResult: EntityLinkingResult,
|
3714
|
+
PiiResult: PiiResult,
|
3715
|
+
ExtractiveSummarizationResult: ExtractiveSummarizationResult,
|
3716
|
+
KeyPhraseResult: KeyPhraseResult,
|
3717
|
+
LanguageDetectionResult: LanguageDetectionResult,
|
3718
|
+
DynamicClassificationResult: DynamicClassificationResult,
|
3719
|
+
AbstractiveSummarizationResult: AbstractiveSummarizationResult,
|
3720
|
+
AbstractiveSummarizationAction: AbstractiveSummarizationAction,
|
2794
3721
|
CustomEntitiesLROTask: CustomEntitiesLROTask,
|
2795
3722
|
CustomSingleLabelClassificationLROTask: CustomSingleLabelClassificationLROTask,
|
2796
3723
|
CustomMultiLabelClassificationLROTask: CustomMultiLabelClassificationLROTask,
|
@@ -2799,34 +3726,33 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
2799
3726
|
EntitiesLROTask: EntitiesLROTask,
|
2800
3727
|
EntityLinkingLROTask: EntityLinkingLROTask,
|
2801
3728
|
PiiLROTask: PiiLROTask,
|
3729
|
+
ExtractiveSummarizationLROTask: ExtractiveSummarizationLROTask,
|
2802
3730
|
KeyPhraseLROTask: KeyPhraseLROTask,
|
3731
|
+
AbstractiveSummarizationLROTask: AbstractiveSummarizationLROTask,
|
2803
3732
|
EntityRecognitionLROResult: EntityRecognitionLROResult,
|
2804
3733
|
CustomEntityRecognitionLROResult: CustomEntityRecognitionLROResult,
|
2805
3734
|
CustomSingleLabelClassificationLROResult: CustomSingleLabelClassificationLROResult,
|
2806
3735
|
CustomMultiLabelClassificationLROResult: CustomMultiLabelClassificationLROResult,
|
2807
3736
|
EntityLinkingLROResult: EntityLinkingLROResult,
|
2808
3737
|
PiiEntityRecognitionLROResult: PiiEntityRecognitionLROResult,
|
3738
|
+
ExtractiveSummarizationLROResult: ExtractiveSummarizationLROResult,
|
2809
3739
|
HealthcareLROResult: HealthcareLROResult,
|
2810
3740
|
SentimentLROResult: SentimentLROResult,
|
2811
3741
|
KeyPhraseExtractionLROResult: KeyPhraseExtractionLROResult,
|
3742
|
+
AbstractiveSummarizationLROResult: AbstractiveSummarizationLROResult,
|
2812
3743
|
EntityLinkingAction: EntityLinkingAction,
|
2813
3744
|
EntityRecognitionAction: EntityRecognitionAction,
|
2814
3745
|
KeyPhraseExtractionAction: KeyPhraseExtractionAction,
|
2815
3746
|
PiiEntityRecognitionAction: PiiEntityRecognitionAction,
|
2816
3747
|
LanguageDetectionAction: LanguageDetectionAction,
|
2817
3748
|
SentimentAnalysisAction: SentimentAnalysisAction,
|
3749
|
+
DynamicClassificationAction: DynamicClassificationAction,
|
2818
3750
|
HealthcareAction: HealthcareAction,
|
3751
|
+
ExtractiveSummarizationAction: ExtractiveSummarizationAction,
|
2819
3752
|
CustomEntityRecognitionAction: CustomEntityRecognitionAction,
|
2820
3753
|
CustomSingleLabelClassificationAction: CustomSingleLabelClassificationAction,
|
2821
3754
|
CustomMultiLabelClassificationAction: CustomMultiLabelClassificationAction,
|
2822
|
-
|
2823
|
-
EntitiesResultDocumentsItem: EntitiesResultDocumentsItem,
|
2824
|
-
CustomLabelClassificationResultDocumentsItem: CustomLabelClassificationResultDocumentsItem,
|
2825
|
-
HealthcareResultDocumentsItem: HealthcareResultDocumentsItem,
|
2826
|
-
SentimentResponseDocumentsItem: SentimentResponseDocumentsItem,
|
2827
|
-
EntityLinkingResultDocumentsItem: EntityLinkingResultDocumentsItem,
|
2828
|
-
PiiResultDocumentsItem: PiiResultDocumentsItem,
|
2829
|
-
KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
|
3755
|
+
DynamicClassificationResultDocumentsItem: DynamicClassificationResultDocumentsItem,
|
2830
3756
|
GeneratedClientAnalyzeBatchHeaders: GeneratedClientAnalyzeBatchHeaders,
|
2831
3757
|
AnalyzeTextCancelJobHeaders: AnalyzeTextCancelJobHeaders,
|
2832
3758
|
discriminators: discriminators
|
@@ -2879,7 +3805,7 @@ const endpoint = {
|
|
2879
3805
|
const apiVersion = {
|
2880
3806
|
parameterPath: "apiVersion",
|
2881
3807
|
mapper: {
|
2882
|
-
defaultValue: "2022-
|
3808
|
+
defaultValue: "2022-10-01-preview",
|
2883
3809
|
isConstant: true,
|
2884
3810
|
serializedName: "api-version",
|
2885
3811
|
type: {
|
@@ -2981,6 +3907,13 @@ function toSentimentAnalysisResult(docIds, results) {
|
|
2981
3907
|
},
|
2982
3908
|
});
|
2983
3909
|
}
|
3910
|
+
function toDynamicClassificationResult(docIds, results) {
|
3911
|
+
return transformDocumentResults(docIds, results, {
|
3912
|
+
// FIXME: Fixing a service bug, see https://github.com/Azure/azure-sdk-for-js/issues/23617
|
3913
|
+
processSuccess: ({ class: classes, id, warnings, statistics, classifications, }) => (Object.assign({ id,
|
3914
|
+
warnings, classifications: classes ? classes : classifications !== null && classifications !== void 0 ? classifications : [] }, (statistics ? { statistics } : {}))),
|
3915
|
+
});
|
3916
|
+
}
|
2984
3917
|
/**
|
2985
3918
|
* Converts a sentence sentiment object returned by the service to another that
|
2986
3919
|
* is user-friendly.
|
@@ -3059,6 +3992,9 @@ function transformActionResult(actionName, docIds, response) {
|
|
3059
3992
|
case "LanguageDetectionResults": {
|
3060
3993
|
return toLanguageDetectionResult(docIds, response.results);
|
3061
3994
|
}
|
3995
|
+
case "DynamicClassificationResults": {
|
3996
|
+
return toDynamicClassificationResult(docIds, response.results);
|
3997
|
+
}
|
3062
3998
|
default: {
|
3063
3999
|
const __exhaust = response;
|
3064
4000
|
throw new Error(`Unsupported results kind: ${__exhaust} for an action of type ${actionName}`);
|
@@ -3121,9 +4057,10 @@ function toHealthcareResult(docIds, results) {
|
|
3121
4057
|
return Object.assign({ dataSources: dataSources !== null && dataSources !== void 0 ? dataSources : [] }, rest);
|
3122
4058
|
}
|
3123
4059
|
function makeHealthcareRelation(entities) {
|
3124
|
-
return (
|
3125
|
-
relationType:
|
3126
|
-
|
4060
|
+
return ({ entities: generatedEntities, relationType, confidenceScore, }) => ({
|
4061
|
+
relationType: relationType,
|
4062
|
+
confidenceScore,
|
4063
|
+
roles: generatedEntities.map((role) => ({
|
3127
4064
|
entity: entities[parseHealthcareEntityIndex(role.ref)],
|
3128
4065
|
name: role.role,
|
3129
4066
|
})),
|
@@ -3200,6 +4137,16 @@ function transformAnalyzeBatchResults(docIds, response = []) {
|
|
3200
4137
|
return Object.assign(Object.assign(Object.assign({ kind: "CustomMultiLabelClassification", results: toCustomSingleLabelClassificationResult(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { deploymentName,
|
3201
4138
|
projectName });
|
3202
4139
|
}
|
4140
|
+
case "ExtractiveSummarizationLROResults": {
|
4141
|
+
const { results } = actionData;
|
4142
|
+
const { modelVersion, statistics } = results;
|
4143
|
+
return Object.assign(Object.assign(Object.assign({ kind: "ExtractiveSummarization", results: transformDocumentResults(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { modelVersion });
|
4144
|
+
}
|
4145
|
+
case "AbstractiveSummarizationLROResults": {
|
4146
|
+
const { results } = actionData;
|
4147
|
+
const { modelVersion, statistics } = results;
|
4148
|
+
return Object.assign(Object.assign(Object.assign({ kind: "AbstractiveSummarization", results: transformDocumentResults(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { modelVersion });
|
4149
|
+
}
|
3203
4150
|
default: {
|
3204
4151
|
throw new Error(`Unsupported results kind: ${kind}`);
|
3205
4152
|
}
|
@@ -3475,7 +4422,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
|
|
3475
4422
|
const defaults = {
|
3476
4423
|
requestContentType: "application/json; charset=utf-8"
|
3477
4424
|
};
|
3478
|
-
const packageDetails = `azsdk-js-ai-language-text/1.0.1`;
|
4425
|
+
const packageDetails = `azsdk-js-ai-language-text/1.1.0-beta.1`;
|
3479
4426
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
3480
4427
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
3481
4428
|
: `${packageDetails}`;
|
@@ -3502,7 +4449,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
|
|
3502
4449
|
// Parameter assignments
|
3503
4450
|
this.endpoint = endpoint;
|
3504
4451
|
// Assigning values to Constant parameters
|
3505
|
-
this.apiVersion = options.apiVersion || "2022-
|
4452
|
+
this.apiVersion = options.apiVersion || "2022-10-01-preview";
|
3506
4453
|
this.analyzeText = new AnalyzeTextImpl(this);
|
3507
4454
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
3508
4455
|
}
|
@@ -3709,14 +4656,15 @@ class TextAnalysisClient {
|
|
3709
4656
|
}
|
3710
4657
|
// implementation
|
3711
4658
|
async beginAnalyzeBatch(actions, documents, languageOrOptions, options = {}) {
|
4659
|
+
var _a;
|
3712
4660
|
let realOptions;
|
3713
4661
|
let realInputs;
|
3714
4662
|
if (!Array.isArray(documents) || documents.length === 0) {
|
3715
4663
|
throw new Error("'documents' must be a non-empty array");
|
3716
4664
|
}
|
3717
4665
|
if (isStringArray(documents)) {
|
3718
|
-
const
|
3719
|
-
realInputs = convertToTextDocumentInput(documents,
|
4666
|
+
const languageHint = (_a = languageOrOptions) !== null && _a !== void 0 ? _a : this.defaultLanguage;
|
4667
|
+
realInputs = convertToTextDocumentInput(documents, languageHint);
|
3720
4668
|
realOptions = options;
|
3721
4669
|
}
|
3722
4670
|
else {
|
@@ -3826,6 +4774,8 @@ var KnownAnalyzeTextTaskKind;
|
|
3826
4774
|
KnownAnalyzeTextTaskKind["LanguageDetection"] = "LanguageDetection";
|
3827
4775
|
/** EntityLinking */
|
3828
4776
|
KnownAnalyzeTextTaskKind["EntityLinking"] = "EntityLinking";
|
4777
|
+
/** DynamicClassification */
|
4778
|
+
KnownAnalyzeTextTaskKind["DynamicClassification"] = "DynamicClassification";
|
3829
4779
|
})(KnownAnalyzeTextTaskKind || (KnownAnalyzeTextTaskKind = {}));
|
3830
4780
|
/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */
|
3831
4781
|
var KnownAnalyzeTextTaskResultsKind;
|
@@ -3842,6 +4792,8 @@ var KnownAnalyzeTextTaskResultsKind;
|
|
3842
4792
|
KnownAnalyzeTextTaskResultsKind["LanguageDetectionResults"] = "LanguageDetectionResults";
|
3843
4793
|
/** EntityLinkingResults */
|
3844
4794
|
KnownAnalyzeTextTaskResultsKind["EntityLinkingResults"] = "EntityLinkingResults";
|
4795
|
+
/** DynamicClassificationResults */
|
4796
|
+
KnownAnalyzeTextTaskResultsKind["DynamicClassificationResults"] = "DynamicClassificationResults";
|
3845
4797
|
})(KnownAnalyzeTextTaskResultsKind || (KnownAnalyzeTextTaskResultsKind = {}));
|
3846
4798
|
/** Known values of {@link ErrorCode} that the service accepts. */
|
3847
4799
|
exports.KnownErrorCode = void 0;
|
@@ -3930,12 +4882,16 @@ var KnownAnalyzeTextLROTaskKind;
|
|
3930
4882
|
KnownAnalyzeTextLROTaskKind["EntityLinking"] = "EntityLinking";
|
3931
4883
|
/** Healthcare */
|
3932
4884
|
KnownAnalyzeTextLROTaskKind["Healthcare"] = "Healthcare";
|
4885
|
+
/** ExtractiveSummarization */
|
4886
|
+
KnownAnalyzeTextLROTaskKind["ExtractiveSummarization"] = "ExtractiveSummarization";
|
3933
4887
|
/** CustomEntityRecognition */
|
3934
4888
|
KnownAnalyzeTextLROTaskKind["CustomEntityRecognition"] = "CustomEntityRecognition";
|
3935
4889
|
/** CustomSingleLabelClassification */
|
3936
4890
|
KnownAnalyzeTextLROTaskKind["CustomSingleLabelClassification"] = "CustomSingleLabelClassification";
|
3937
4891
|
/** CustomMultiLabelClassification */
|
3938
4892
|
KnownAnalyzeTextLROTaskKind["CustomMultiLabelClassification"] = "CustomMultiLabelClassification";
|
4893
|
+
/** AbstractiveSummarization */
|
4894
|
+
KnownAnalyzeTextLROTaskKind["AbstractiveSummarization"] = "AbstractiveSummarization";
|
3939
4895
|
})(KnownAnalyzeTextLROTaskKind || (KnownAnalyzeTextLROTaskKind = {}));
|
3940
4896
|
/** Known values of {@link OperationStatus} that the service accepts. */
|
3941
4897
|
var KnownOperationStatus;
|
@@ -3970,12 +4926,16 @@ var KnownAnalyzeTextLROResultsKind;
|
|
3970
4926
|
KnownAnalyzeTextLROResultsKind["EntityLinkingLROResults"] = "EntityLinkingLROResults";
|
3971
4927
|
/** HealthcareLROResults */
|
3972
4928
|
KnownAnalyzeTextLROResultsKind["HealthcareLROResults"] = "HealthcareLROResults";
|
4929
|
+
/** ExtractiveSummarizationLROResults */
|
4930
|
+
KnownAnalyzeTextLROResultsKind["ExtractiveSummarizationLROResults"] = "ExtractiveSummarizationLROResults";
|
3973
4931
|
/** CustomEntityRecognitionLROResults */
|
3974
4932
|
KnownAnalyzeTextLROResultsKind["CustomEntityRecognitionLROResults"] = "CustomEntityRecognitionLROResults";
|
3975
4933
|
/** CustomSingleLabelClassificationLROResults */
|
3976
4934
|
KnownAnalyzeTextLROResultsKind["CustomSingleLabelClassificationLROResults"] = "CustomSingleLabelClassificationLROResults";
|
3977
4935
|
/** CustomMultiLabelClassificationLROResults */
|
3978
4936
|
KnownAnalyzeTextLROResultsKind["CustomMultiLabelClassificationLROResults"] = "CustomMultiLabelClassificationLROResults";
|
4937
|
+
/** AbstractiveSummarizationLROResults */
|
4938
|
+
KnownAnalyzeTextLROResultsKind["AbstractiveSummarizationLROResults"] = "AbstractiveSummarizationLROResults";
|
3979
4939
|
})(KnownAnalyzeTextLROResultsKind || (KnownAnalyzeTextLROResultsKind = {}));
|
3980
4940
|
/** Known values of {@link State} that the service accepts. */
|
3981
4941
|
var KnownState;
|
@@ -4361,6 +5321,48 @@ exports.KnownPiiEntityCategory = void 0;
|
|
4361
5321
|
/** Default */
|
4362
5322
|
KnownPiiEntityCategory["Default"] = "Default";
|
4363
5323
|
})(exports.KnownPiiEntityCategory || (exports.KnownPiiEntityCategory = {}));
|
5324
|
+
/** Known values of {@link ClassificationType} that the service accepts. */
|
5325
|
+
exports.KnownClassificationType = void 0;
|
5326
|
+
(function (KnownClassificationType) {
|
5327
|
+
/** Single */
|
5328
|
+
KnownClassificationType["Single"] = "Single";
|
5329
|
+
/** Multi */
|
5330
|
+
KnownClassificationType["Multi"] = "Multi";
|
5331
|
+
})(exports.KnownClassificationType || (exports.KnownClassificationType = {}));
|
5332
|
+
/** Known values of {@link ResolutionKind} that the service accepts. */
|
5333
|
+
exports.KnownResolutionKind = void 0;
|
5334
|
+
(function (KnownResolutionKind) {
|
5335
|
+
/** BooleanResolution */
|
5336
|
+
KnownResolutionKind["BooleanResolution"] = "BooleanResolution";
|
5337
|
+
/** DateTimeResolution */
|
5338
|
+
KnownResolutionKind["DateTimeResolution"] = "DateTimeResolution";
|
5339
|
+
/** NumberResolution */
|
5340
|
+
KnownResolutionKind["NumberResolution"] = "NumberResolution";
|
5341
|
+
/** OrdinalResolution */
|
5342
|
+
KnownResolutionKind["OrdinalResolution"] = "OrdinalResolution";
|
5343
|
+
/** SpeedResolution */
|
5344
|
+
KnownResolutionKind["SpeedResolution"] = "SpeedResolution";
|
5345
|
+
/** WeightResolution */
|
5346
|
+
KnownResolutionKind["WeightResolution"] = "WeightResolution";
|
5347
|
+
/** LengthResolution */
|
5348
|
+
KnownResolutionKind["LengthResolution"] = "LengthResolution";
|
5349
|
+
/** VolumeResolution */
|
5350
|
+
KnownResolutionKind["VolumeResolution"] = "VolumeResolution";
|
5351
|
+
/** AreaResolution */
|
5352
|
+
KnownResolutionKind["AreaResolution"] = "AreaResolution";
|
5353
|
+
/** AgeResolution */
|
5354
|
+
KnownResolutionKind["AgeResolution"] = "AgeResolution";
|
5355
|
+
/** InformationResolution */
|
5356
|
+
KnownResolutionKind["InformationResolution"] = "InformationResolution";
|
5357
|
+
/** TemperatureResolution */
|
5358
|
+
KnownResolutionKind["TemperatureResolution"] = "TemperatureResolution";
|
5359
|
+
/** CurrencyResolution */
|
5360
|
+
KnownResolutionKind["CurrencyResolution"] = "CurrencyResolution";
|
5361
|
+
/** NumericRangeResolution */
|
5362
|
+
KnownResolutionKind["NumericRangeResolution"] = "NumericRangeResolution";
|
5363
|
+
/** TemporalSpanResolution */
|
5364
|
+
KnownResolutionKind["TemporalSpanResolution"] = "TemporalSpanResolution";
|
5365
|
+
})(exports.KnownResolutionKind || (exports.KnownResolutionKind = {}));
|
4364
5366
|
/** Known values of {@link WarningCode} that the service accepts. */
|
4365
5367
|
var KnownWarningCode;
|
4366
5368
|
(function (KnownWarningCode) {
|
@@ -4369,8 +5371,42 @@ var KnownWarningCode;
|
|
4369
5371
|
/** DocumentTruncated */
|
4370
5372
|
KnownWarningCode["DocumentTruncated"] = "DocumentTruncated";
|
4371
5373
|
})(KnownWarningCode || (KnownWarningCode = {}));
|
5374
|
+
/** Known values of {@link ScriptKind} that the service accepts. */
|
5375
|
+
exports.KnownScriptKind = void 0;
|
5376
|
+
(function (KnownScriptKind) {
|
5377
|
+
/** Latin */
|
5378
|
+
KnownScriptKind["Latin"] = "Latin";
|
5379
|
+
})(exports.KnownScriptKind || (exports.KnownScriptKind = {}));
|
5380
|
+
/** Known values of {@link FhirVersion} that the service accepts. */
|
5381
|
+
var KnownFhirVersion;
|
5382
|
+
(function (KnownFhirVersion) {
|
5383
|
+
/** Four01 */
|
5384
|
+
KnownFhirVersion["Four01"] = "4.0.1";
|
5385
|
+
})(KnownFhirVersion || (KnownFhirVersion = {}));
|
5386
|
+
/** Known values of {@link DocumentType} that the service accepts. */
|
5387
|
+
exports.KnownDocumentType = void 0;
|
5388
|
+
(function (KnownDocumentType) {
|
5389
|
+
/** None */
|
5390
|
+
KnownDocumentType["None"] = "None";
|
5391
|
+
/** ClinicalTrial */
|
5392
|
+
KnownDocumentType["ClinicalTrial"] = "ClinicalTrial";
|
5393
|
+
/** DischargeSummary */
|
5394
|
+
KnownDocumentType["DischargeSummary"] = "DischargeSummary";
|
5395
|
+
/** ProgressNote */
|
5396
|
+
KnownDocumentType["ProgressNote"] = "ProgressNote";
|
5397
|
+
/** HistoryAndPhysical */
|
5398
|
+
KnownDocumentType["HistoryAndPhysical"] = "HistoryAndPhysical";
|
5399
|
+
/** Consult */
|
5400
|
+
KnownDocumentType["Consult"] = "Consult";
|
5401
|
+
/** Imaging */
|
5402
|
+
KnownDocumentType["Imaging"] = "Imaging";
|
5403
|
+
/** Pathology */
|
5404
|
+
KnownDocumentType["Pathology"] = "Pathology";
|
5405
|
+
/** ProcedureNote */
|
5406
|
+
KnownDocumentType["ProcedureNote"] = "ProcedureNote";
|
5407
|
+
})(exports.KnownDocumentType || (exports.KnownDocumentType = {}));
|
4372
5408
|
/** Known values of {@link HealthcareEntityCategory} that the service accepts. */
|
4373
|
-
|
5409
|
+
exports.KnownHealthcareEntityCategory = void 0;
|
4374
5410
|
(function (KnownHealthcareEntityCategory) {
|
4375
5411
|
/** BodyStructure */
|
4376
5412
|
KnownHealthcareEntityCategory["BodyStructure"] = "BodyStructure";
|
@@ -4424,9 +5460,9 @@ var KnownHealthcareEntityCategory;
|
|
4424
5460
|
KnownHealthcareEntityCategory["FamilyRelation"] = "FamilyRelation";
|
4425
5461
|
/** TreatmentName */
|
4426
5462
|
KnownHealthcareEntityCategory["TreatmentName"] = "TreatmentName";
|
4427
|
-
})(KnownHealthcareEntityCategory || (KnownHealthcareEntityCategory = {}));
|
5463
|
+
})(exports.KnownHealthcareEntityCategory || (exports.KnownHealthcareEntityCategory = {}));
|
4428
5464
|
/** Known values of {@link RelationType} that the service accepts. */
|
4429
|
-
|
5465
|
+
exports.KnownRelationType = void 0;
|
4430
5466
|
(function (KnownRelationType) {
|
4431
5467
|
/** Abbreviation */
|
4432
5468
|
KnownRelationType["Abbreviation"] = "Abbreviation";
|
@@ -4470,7 +5506,373 @@ var KnownRelationType;
|
|
4470
5506
|
KnownRelationType["ValueOfCondition"] = "ValueOfCondition";
|
4471
5507
|
/** ValueOfExamination */
|
4472
5508
|
KnownRelationType["ValueOfExamination"] = "ValueOfExamination";
|
4473
|
-
})(KnownRelationType || (KnownRelationType = {}));
|
5509
|
+
})(exports.KnownRelationType || (exports.KnownRelationType = {}));
|
5510
|
+
/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */
|
5511
|
+
exports.KnownExtractiveSummarizationOrderingCriteria = void 0;
|
5512
|
+
(function (KnownExtractiveSummarizationOrderingCriteria) {
|
5513
|
+
/** Indicates that results should be sorted in order of appearance in the text. */
|
5514
|
+
KnownExtractiveSummarizationOrderingCriteria["Offset"] = "Offset";
|
5515
|
+
/** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */
|
5516
|
+
KnownExtractiveSummarizationOrderingCriteria["Rank"] = "Rank";
|
5517
|
+
})(exports.KnownExtractiveSummarizationOrderingCriteria || (exports.KnownExtractiveSummarizationOrderingCriteria = {}));
|
5518
|
+
/** Known values of {@link AgeUnit} that the service accepts. */
|
5519
|
+
exports.KnownAgeUnit = void 0;
|
5520
|
+
(function (KnownAgeUnit) {
|
5521
|
+
/** Unspecified */
|
5522
|
+
KnownAgeUnit["Unspecified"] = "Unspecified";
|
5523
|
+
/** Year */
|
5524
|
+
KnownAgeUnit["Year"] = "Year";
|
5525
|
+
/** Month */
|
5526
|
+
KnownAgeUnit["Month"] = "Month";
|
5527
|
+
/** Week */
|
5528
|
+
KnownAgeUnit["Week"] = "Week";
|
5529
|
+
/** Day */
|
5530
|
+
KnownAgeUnit["Day"] = "Day";
|
5531
|
+
})(exports.KnownAgeUnit || (exports.KnownAgeUnit = {}));
|
5532
|
+
/** Known values of {@link VolumeUnit} that the service accepts. */
|
5533
|
+
exports.KnownVolumeUnit = void 0;
|
5534
|
+
(function (KnownVolumeUnit) {
|
5535
|
+
/** Unspecified */
|
5536
|
+
KnownVolumeUnit["Unspecified"] = "Unspecified";
|
5537
|
+
/** CubicMeter */
|
5538
|
+
KnownVolumeUnit["CubicMeter"] = "CubicMeter";
|
5539
|
+
/** CubicCentimeter */
|
5540
|
+
KnownVolumeUnit["CubicCentimeter"] = "CubicCentimeter";
|
5541
|
+
/** CubicMillimeter */
|
5542
|
+
KnownVolumeUnit["CubicMillimeter"] = "CubicMillimeter";
|
5543
|
+
/** Hectoliter */
|
5544
|
+
KnownVolumeUnit["Hectoliter"] = "Hectoliter";
|
5545
|
+
/** Decaliter */
|
5546
|
+
KnownVolumeUnit["Decaliter"] = "Decaliter";
|
5547
|
+
/** Liter */
|
5548
|
+
KnownVolumeUnit["Liter"] = "Liter";
|
5549
|
+
/** Centiliter */
|
5550
|
+
KnownVolumeUnit["Centiliter"] = "Centiliter";
|
5551
|
+
/** Milliliter */
|
5552
|
+
KnownVolumeUnit["Milliliter"] = "Milliliter";
|
5553
|
+
/** CubicYard */
|
5554
|
+
KnownVolumeUnit["CubicYard"] = "CubicYard";
|
5555
|
+
/** CubicInch */
|
5556
|
+
KnownVolumeUnit["CubicInch"] = "CubicInch";
|
5557
|
+
/** CubicFoot */
|
5558
|
+
KnownVolumeUnit["CubicFoot"] = "CubicFoot";
|
5559
|
+
/** CubicMile */
|
5560
|
+
KnownVolumeUnit["CubicMile"] = "CubicMile";
|
5561
|
+
/** FluidOunce */
|
5562
|
+
KnownVolumeUnit["FluidOunce"] = "FluidOunce";
|
5563
|
+
/** Teaspoon */
|
5564
|
+
KnownVolumeUnit["Teaspoon"] = "Teaspoon";
|
5565
|
+
/** Tablespoon */
|
5566
|
+
KnownVolumeUnit["Tablespoon"] = "Tablespoon";
|
5567
|
+
/** Pint */
|
5568
|
+
KnownVolumeUnit["Pint"] = "Pint";
|
5569
|
+
/** Quart */
|
5570
|
+
KnownVolumeUnit["Quart"] = "Quart";
|
5571
|
+
/** Cup */
|
5572
|
+
KnownVolumeUnit["Cup"] = "Cup";
|
5573
|
+
/** Gill */
|
5574
|
+
KnownVolumeUnit["Gill"] = "Gill";
|
5575
|
+
/** Pinch */
|
5576
|
+
KnownVolumeUnit["Pinch"] = "Pinch";
|
5577
|
+
/** FluidDram */
|
5578
|
+
KnownVolumeUnit["FluidDram"] = "FluidDram";
|
5579
|
+
/** Barrel */
|
5580
|
+
KnownVolumeUnit["Barrel"] = "Barrel";
|
5581
|
+
/** Minim */
|
5582
|
+
KnownVolumeUnit["Minim"] = "Minim";
|
5583
|
+
/** Cord */
|
5584
|
+
KnownVolumeUnit["Cord"] = "Cord";
|
5585
|
+
/** Peck */
|
5586
|
+
KnownVolumeUnit["Peck"] = "Peck";
|
5587
|
+
/** Bushel */
|
5588
|
+
KnownVolumeUnit["Bushel"] = "Bushel";
|
5589
|
+
/** Hogshead */
|
5590
|
+
KnownVolumeUnit["Hogshead"] = "Hogshead";
|
5591
|
+
})(exports.KnownVolumeUnit || (exports.KnownVolumeUnit = {}));
|
5592
|
+
/** Known values of {@link SpeedUnit} that the service accepts. */
|
5593
|
+
exports.KnownSpeedUnit = void 0;
|
5594
|
+
(function (KnownSpeedUnit) {
|
5595
|
+
/** Unspecified */
|
5596
|
+
KnownSpeedUnit["Unspecified"] = "Unspecified";
|
5597
|
+
/** MetersPerSecond */
|
5598
|
+
KnownSpeedUnit["MetersPerSecond"] = "MetersPerSecond";
|
5599
|
+
/** KilometersPerHour */
|
5600
|
+
KnownSpeedUnit["KilometersPerHour"] = "KilometersPerHour";
|
5601
|
+
/** KilometersPerMinute */
|
5602
|
+
KnownSpeedUnit["KilometersPerMinute"] = "KilometersPerMinute";
|
5603
|
+
/** KilometersPerSecond */
|
5604
|
+
KnownSpeedUnit["KilometersPerSecond"] = "KilometersPerSecond";
|
5605
|
+
/** MilesPerHour */
|
5606
|
+
KnownSpeedUnit["MilesPerHour"] = "MilesPerHour";
|
5607
|
+
/** Knot */
|
5608
|
+
KnownSpeedUnit["Knot"] = "Knot";
|
5609
|
+
/** FootPerSecond */
|
5610
|
+
KnownSpeedUnit["FootPerSecond"] = "FootPerSecond";
|
5611
|
+
/** FootPerMinute */
|
5612
|
+
KnownSpeedUnit["FootPerMinute"] = "FootPerMinute";
|
5613
|
+
/** YardsPerMinute */
|
5614
|
+
KnownSpeedUnit["YardsPerMinute"] = "YardsPerMinute";
|
5615
|
+
/** YardsPerSecond */
|
5616
|
+
KnownSpeedUnit["YardsPerSecond"] = "YardsPerSecond";
|
5617
|
+
/** MetersPerMillisecond */
|
5618
|
+
KnownSpeedUnit["MetersPerMillisecond"] = "MetersPerMillisecond";
|
5619
|
+
/** CentimetersPerMillisecond */
|
5620
|
+
KnownSpeedUnit["CentimetersPerMillisecond"] = "CentimetersPerMillisecond";
|
5621
|
+
/** KilometersPerMillisecond */
|
5622
|
+
KnownSpeedUnit["KilometersPerMillisecond"] = "KilometersPerMillisecond";
|
5623
|
+
})(exports.KnownSpeedUnit || (exports.KnownSpeedUnit = {}));
|
5624
|
+
/** Known values of {@link AreaUnit} that the service accepts. */
|
5625
|
+
exports.KnownAreaUnit = void 0;
|
5626
|
+
(function (KnownAreaUnit) {
|
5627
|
+
/** Unspecified */
|
5628
|
+
KnownAreaUnit["Unspecified"] = "Unspecified";
|
5629
|
+
/** SquareKilometer */
|
5630
|
+
KnownAreaUnit["SquareKilometer"] = "SquareKilometer";
|
5631
|
+
/** SquareHectometer */
|
5632
|
+
KnownAreaUnit["SquareHectometer"] = "SquareHectometer";
|
5633
|
+
/** SquareDecameter */
|
5634
|
+
KnownAreaUnit["SquareDecameter"] = "SquareDecameter";
|
5635
|
+
/** SquareDecimeter */
|
5636
|
+
KnownAreaUnit["SquareDecimeter"] = "SquareDecimeter";
|
5637
|
+
/** SquareMeter */
|
5638
|
+
KnownAreaUnit["SquareMeter"] = "SquareMeter";
|
5639
|
+
/** SquareCentimeter */
|
5640
|
+
KnownAreaUnit["SquareCentimeter"] = "SquareCentimeter";
|
5641
|
+
/** SquareMillimeter */
|
5642
|
+
KnownAreaUnit["SquareMillimeter"] = "SquareMillimeter";
|
5643
|
+
/** SquareInch */
|
5644
|
+
KnownAreaUnit["SquareInch"] = "SquareInch";
|
5645
|
+
/** SquareFoot */
|
5646
|
+
KnownAreaUnit["SquareFoot"] = "SquareFoot";
|
5647
|
+
/** SquareMile */
|
5648
|
+
KnownAreaUnit["SquareMile"] = "SquareMile";
|
5649
|
+
/** SquareYard */
|
5650
|
+
KnownAreaUnit["SquareYard"] = "SquareYard";
|
5651
|
+
/** Acre */
|
5652
|
+
KnownAreaUnit["Acre"] = "Acre";
|
5653
|
+
})(exports.KnownAreaUnit || (exports.KnownAreaUnit = {}));
|
5654
|
+
/** Known values of {@link LengthUnit} that the service accepts. */
|
5655
|
+
exports.KnownLengthUnit = void 0;
|
5656
|
+
(function (KnownLengthUnit) {
|
5657
|
+
/** Unspecified */
|
5658
|
+
KnownLengthUnit["Unspecified"] = "Unspecified";
|
5659
|
+
/** Kilometer */
|
5660
|
+
KnownLengthUnit["Kilometer"] = "Kilometer";
|
5661
|
+
/** Hectometer */
|
5662
|
+
KnownLengthUnit["Hectometer"] = "Hectometer";
|
5663
|
+
/** Decameter */
|
5664
|
+
KnownLengthUnit["Decameter"] = "Decameter";
|
5665
|
+
/** Meter */
|
5666
|
+
KnownLengthUnit["Meter"] = "Meter";
|
5667
|
+
/** Decimeter */
|
5668
|
+
KnownLengthUnit["Decimeter"] = "Decimeter";
|
5669
|
+
/** Centimeter */
|
5670
|
+
KnownLengthUnit["Centimeter"] = "Centimeter";
|
5671
|
+
/** Millimeter */
|
5672
|
+
KnownLengthUnit["Millimeter"] = "Millimeter";
|
5673
|
+
/** Micrometer */
|
5674
|
+
KnownLengthUnit["Micrometer"] = "Micrometer";
|
5675
|
+
/** Nanometer */
|
5676
|
+
KnownLengthUnit["Nanometer"] = "Nanometer";
|
5677
|
+
/** Picometer */
|
5678
|
+
KnownLengthUnit["Picometer"] = "Picometer";
|
5679
|
+
/** Mile */
|
5680
|
+
KnownLengthUnit["Mile"] = "Mile";
|
5681
|
+
/** Yard */
|
5682
|
+
KnownLengthUnit["Yard"] = "Yard";
|
5683
|
+
/** Inch */
|
5684
|
+
KnownLengthUnit["Inch"] = "Inch";
|
5685
|
+
/** Foot */
|
5686
|
+
KnownLengthUnit["Foot"] = "Foot";
|
5687
|
+
/** LightYear */
|
5688
|
+
KnownLengthUnit["LightYear"] = "LightYear";
|
5689
|
+
/** Pt */
|
5690
|
+
KnownLengthUnit["Pt"] = "Pt";
|
5691
|
+
})(exports.KnownLengthUnit || (exports.KnownLengthUnit = {}));
|
5692
|
+
/** Known values of {@link InformationUnit} that the service accepts. */
|
5693
|
+
exports.KnownInformationUnit = void 0;
|
5694
|
+
(function (KnownInformationUnit) {
|
5695
|
+
/** Unspecified */
|
5696
|
+
KnownInformationUnit["Unspecified"] = "Unspecified";
|
5697
|
+
/** Bit */
|
5698
|
+
KnownInformationUnit["Bit"] = "Bit";
|
5699
|
+
/** Kilobit */
|
5700
|
+
KnownInformationUnit["Kilobit"] = "Kilobit";
|
5701
|
+
/** Megabit */
|
5702
|
+
KnownInformationUnit["Megabit"] = "Megabit";
|
5703
|
+
/** Gigabit */
|
5704
|
+
KnownInformationUnit["Gigabit"] = "Gigabit";
|
5705
|
+
/** Terabit */
|
5706
|
+
KnownInformationUnit["Terabit"] = "Terabit";
|
5707
|
+
/** Petabit */
|
5708
|
+
KnownInformationUnit["Petabit"] = "Petabit";
|
5709
|
+
/** Byte */
|
5710
|
+
KnownInformationUnit["Byte"] = "Byte";
|
5711
|
+
/** Kilobyte */
|
5712
|
+
KnownInformationUnit["Kilobyte"] = "Kilobyte";
|
5713
|
+
/** Megabyte */
|
5714
|
+
KnownInformationUnit["Megabyte"] = "Megabyte";
|
5715
|
+
/** Gigabyte */
|
5716
|
+
KnownInformationUnit["Gigabyte"] = "Gigabyte";
|
5717
|
+
/** Terabyte */
|
5718
|
+
KnownInformationUnit["Terabyte"] = "Terabyte";
|
5719
|
+
/** Petabyte */
|
5720
|
+
KnownInformationUnit["Petabyte"] = "Petabyte";
|
5721
|
+
})(exports.KnownInformationUnit || (exports.KnownInformationUnit = {}));
|
5722
|
+
/** Known values of {@link TemperatureUnit} that the service accepts. */
|
5723
|
+
exports.KnownTemperatureUnit = void 0;
|
5724
|
+
(function (KnownTemperatureUnit) {
|
5725
|
+
/** Unspecified */
|
5726
|
+
KnownTemperatureUnit["Unspecified"] = "Unspecified";
|
5727
|
+
/** Fahrenheit */
|
5728
|
+
KnownTemperatureUnit["Fahrenheit"] = "Fahrenheit";
|
5729
|
+
/** Kelvin */
|
5730
|
+
KnownTemperatureUnit["Kelvin"] = "Kelvin";
|
5731
|
+
/** Rankine */
|
5732
|
+
KnownTemperatureUnit["Rankine"] = "Rankine";
|
5733
|
+
/** Celsius */
|
5734
|
+
KnownTemperatureUnit["Celsius"] = "Celsius";
|
5735
|
+
})(exports.KnownTemperatureUnit || (exports.KnownTemperatureUnit = {}));
|
5736
|
+
/** Known values of {@link WeightUnit} that the service accepts. */
|
5737
|
+
exports.KnownWeightUnit = void 0;
|
5738
|
+
(function (KnownWeightUnit) {
|
5739
|
+
/** Unspecified */
|
5740
|
+
KnownWeightUnit["Unspecified"] = "Unspecified";
|
5741
|
+
/** Kilogram */
|
5742
|
+
KnownWeightUnit["Kilogram"] = "Kilogram";
|
5743
|
+
/** Gram */
|
5744
|
+
KnownWeightUnit["Gram"] = "Gram";
|
5745
|
+
/** Milligram */
|
5746
|
+
KnownWeightUnit["Milligram"] = "Milligram";
|
5747
|
+
/** Gallon */
|
5748
|
+
KnownWeightUnit["Gallon"] = "Gallon";
|
5749
|
+
/** MetricTon */
|
5750
|
+
KnownWeightUnit["MetricTon"] = "MetricTon";
|
5751
|
+
/** Ton */
|
5752
|
+
KnownWeightUnit["Ton"] = "Ton";
|
5753
|
+
/** Pound */
|
5754
|
+
KnownWeightUnit["Pound"] = "Pound";
|
5755
|
+
/** Ounce */
|
5756
|
+
KnownWeightUnit["Ounce"] = "Ounce";
|
5757
|
+
/** Grain */
|
5758
|
+
KnownWeightUnit["Grain"] = "Grain";
|
5759
|
+
/** PennyWeight */
|
5760
|
+
KnownWeightUnit["PennyWeight"] = "PennyWeight";
|
5761
|
+
/** LongTonBritish */
|
5762
|
+
KnownWeightUnit["LongTonBritish"] = "LongTonBritish";
|
5763
|
+
/** ShortTonUS */
|
5764
|
+
KnownWeightUnit["ShortTonUS"] = "ShortTonUS";
|
5765
|
+
/** ShortHundredWeightUS */
|
5766
|
+
KnownWeightUnit["ShortHundredWeightUS"] = "ShortHundredWeightUS";
|
5767
|
+
/** Stone */
|
5768
|
+
KnownWeightUnit["Stone"] = "Stone";
|
5769
|
+
/** Dram */
|
5770
|
+
KnownWeightUnit["Dram"] = "Dram";
|
5771
|
+
})(exports.KnownWeightUnit || (exports.KnownWeightUnit = {}));
|
5772
|
+
/** Known values of {@link DateTimeSubKind} that the service accepts. */
|
5773
|
+
exports.KnownDateTimeSubKind = void 0;
|
5774
|
+
(function (KnownDateTimeSubKind) {
|
5775
|
+
/** Time */
|
5776
|
+
KnownDateTimeSubKind["Time"] = "Time";
|
5777
|
+
/** Date */
|
5778
|
+
KnownDateTimeSubKind["Date"] = "Date";
|
5779
|
+
/** DateTime */
|
5780
|
+
KnownDateTimeSubKind["DateTime"] = "DateTime";
|
5781
|
+
/** Duration */
|
5782
|
+
KnownDateTimeSubKind["Duration"] = "Duration";
|
5783
|
+
/** Set */
|
5784
|
+
KnownDateTimeSubKind["Set"] = "Set";
|
5785
|
+
})(exports.KnownDateTimeSubKind || (exports.KnownDateTimeSubKind = {}));
|
5786
|
+
/** Known values of {@link TemporalModifier} that the service accepts. */
|
5787
|
+
exports.KnownTemporalModifier = void 0;
|
5788
|
+
(function (KnownTemporalModifier) {
|
5789
|
+
/** AfterApprox */
|
5790
|
+
KnownTemporalModifier["AfterApprox"] = "AfterApprox";
|
5791
|
+
/** Before */
|
5792
|
+
KnownTemporalModifier["Before"] = "Before";
|
5793
|
+
/** BeforeStart */
|
5794
|
+
KnownTemporalModifier["BeforeStart"] = "BeforeStart";
|
5795
|
+
/** Approx */
|
5796
|
+
KnownTemporalModifier["Approx"] = "Approx";
|
5797
|
+
/** ReferenceUndefined */
|
5798
|
+
KnownTemporalModifier["ReferenceUndefined"] = "ReferenceUndefined";
|
5799
|
+
/** SinceEnd */
|
5800
|
+
KnownTemporalModifier["SinceEnd"] = "SinceEnd";
|
5801
|
+
/** AfterMid */
|
5802
|
+
KnownTemporalModifier["AfterMid"] = "AfterMid";
|
5803
|
+
/** Start */
|
5804
|
+
KnownTemporalModifier["Start"] = "Start";
|
5805
|
+
/** After */
|
5806
|
+
KnownTemporalModifier["After"] = "After";
|
5807
|
+
/** BeforeEnd */
|
5808
|
+
KnownTemporalModifier["BeforeEnd"] = "BeforeEnd";
|
5809
|
+
/** Until */
|
5810
|
+
KnownTemporalModifier["Until"] = "Until";
|
5811
|
+
/** End */
|
5812
|
+
KnownTemporalModifier["End"] = "End";
|
5813
|
+
/** Less */
|
5814
|
+
KnownTemporalModifier["Less"] = "Less";
|
5815
|
+
/** Since */
|
5816
|
+
KnownTemporalModifier["Since"] = "Since";
|
5817
|
+
/** AfterStart */
|
5818
|
+
KnownTemporalModifier["AfterStart"] = "AfterStart";
|
5819
|
+
/** BeforeApprox */
|
5820
|
+
KnownTemporalModifier["BeforeApprox"] = "BeforeApprox";
|
5821
|
+
/** Mid */
|
5822
|
+
KnownTemporalModifier["Mid"] = "Mid";
|
5823
|
+
/** More */
|
5824
|
+
KnownTemporalModifier["More"] = "More";
|
5825
|
+
})(exports.KnownTemporalModifier || (exports.KnownTemporalModifier = {}));
|
5826
|
+
/** Known values of {@link NumberKind} that the service accepts. */
|
5827
|
+
exports.KnownNumberKind = void 0;
|
5828
|
+
(function (KnownNumberKind) {
|
5829
|
+
/** Integer */
|
5830
|
+
KnownNumberKind["Integer"] = "Integer";
|
5831
|
+
/** Decimal */
|
5832
|
+
KnownNumberKind["Decimal"] = "Decimal";
|
5833
|
+
/** Power */
|
5834
|
+
KnownNumberKind["Power"] = "Power";
|
5835
|
+
/** Fraction */
|
5836
|
+
KnownNumberKind["Fraction"] = "Fraction";
|
5837
|
+
/** Percent */
|
5838
|
+
KnownNumberKind["Percent"] = "Percent";
|
5839
|
+
/** Unspecified */
|
5840
|
+
KnownNumberKind["Unspecified"] = "Unspecified";
|
5841
|
+
})(exports.KnownNumberKind || (exports.KnownNumberKind = {}));
|
5842
|
+
/** Known values of {@link RelativeTo} that the service accepts. */
|
5843
|
+
exports.KnownRelativeTo = void 0;
|
5844
|
+
(function (KnownRelativeTo) {
|
5845
|
+
/** Current */
|
5846
|
+
KnownRelativeTo["Current"] = "Current";
|
5847
|
+
/** End */
|
5848
|
+
KnownRelativeTo["End"] = "End";
|
5849
|
+
/** Start */
|
5850
|
+
KnownRelativeTo["Start"] = "Start";
|
5851
|
+
})(exports.KnownRelativeTo || (exports.KnownRelativeTo = {}));
|
5852
|
+
/** Known values of {@link RangeKind} that the service accepts. */
|
5853
|
+
exports.KnownRangeKind = void 0;
|
5854
|
+
(function (KnownRangeKind) {
|
5855
|
+
/** Number */
|
5856
|
+
KnownRangeKind["Number"] = "Number";
|
5857
|
+
/** Speed */
|
5858
|
+
KnownRangeKind["Speed"] = "Speed";
|
5859
|
+
/** Weight */
|
5860
|
+
KnownRangeKind["Weight"] = "Weight";
|
5861
|
+
/** Length */
|
5862
|
+
KnownRangeKind["Length"] = "Length";
|
5863
|
+
/** Volume */
|
5864
|
+
KnownRangeKind["Volume"] = "Volume";
|
5865
|
+
/** Area */
|
5866
|
+
KnownRangeKind["Area"] = "Area";
|
5867
|
+
/** Age */
|
5868
|
+
KnownRangeKind["Age"] = "Age";
|
5869
|
+
/** Information */
|
5870
|
+
KnownRangeKind["Information"] = "Information";
|
5871
|
+
/** Temperature */
|
5872
|
+
KnownRangeKind["Temperature"] = "Temperature";
|
5873
|
+
/** Currency */
|
5874
|
+
KnownRangeKind["Currency"] = "Currency";
|
5875
|
+
})(exports.KnownRangeKind || (exports.KnownRangeKind = {}));
|
4474
5876
|
|
4475
5877
|
// Copyright (c) Microsoft Corporation.
|
4476
5878
|
/**
|
@@ -4483,6 +5885,7 @@ const AnalyzeActionNames = {
|
|
4483
5885
|
PiiEntityRecognition: "PiiEntityRecognition",
|
4484
5886
|
LanguageDetection: "LanguageDetection",
|
4485
5887
|
SentimentAnalysis: "SentimentAnalysis",
|
5888
|
+
DynamicClassification: "DynamicClassification",
|
4486
5889
|
};
|
4487
5890
|
/**
|
4488
5891
|
* Type of actions supported by the {@link TextAnalysisClient.beginAnalyzeBatch} method.
|
@@ -4494,10 +5897,20 @@ const AnalyzeBatchActionNames = {
|
|
4494
5897
|
KeyPhraseExtraction: "KeyPhraseExtraction",
|
4495
5898
|
EntityLinking: "EntityLinking",
|
4496
5899
|
Healthcare: "Healthcare",
|
5900
|
+
ExtractiveSummarization: "ExtractiveSummarization",
|
5901
|
+
AbstractiveSummarization: "AbstractiveSummarization",
|
4497
5902
|
CustomEntityRecognition: "CustomEntityRecognition",
|
4498
5903
|
CustomSingleLabelClassification: "CustomSingleLabelClassification",
|
4499
5904
|
CustomMultiLabelClassification: "CustomMultiLabelClassification",
|
4500
5905
|
};
|
5906
|
+
/**
|
5907
|
+
* Known values of the {@link HealthcareAction.fhirVersion} parameter.
|
5908
|
+
*/
|
5909
|
+
exports.KnownFhirVersion = void 0;
|
5910
|
+
(function (KnownFhirVersion) {
|
5911
|
+
/** 4.0.1 */
|
5912
|
+
KnownFhirVersion["4.0.1"] = "4.0.1";
|
5913
|
+
})(exports.KnownFhirVersion || (exports.KnownFhirVersion = {}));
|
4501
5914
|
/**
|
4502
5915
|
* Enum of possible error codes of a {@link TextAnalysisError}.
|
4503
5916
|
*/
|