@azure/ai-language-text 1.1.0-alpha.20230308.2 → 1.1.0-alpha.20230317.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 +3 -4
- package/dist/index.js +0 -134
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +0 -12
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +0 -109
- package/dist-esm/src/generated/models/mappers.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 +0 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/transforms.js +0 -6
- package/dist-esm/src/transforms.js.map +1 -1
- package/package.json +1 -1
- package/types/ai-language-text.d.ts +0 -50
@@ -1690,28 +1690,6 @@ export const AnalyzeTextSentimentAnalysisInput = {
|
|
1690
1690
|
} })
|
1691
1691
|
}
|
1692
1692
|
};
|
1693
|
-
export const AnalyzeTextDynamicClassificationInput = {
|
1694
|
-
serializedName: "DynamicClassification",
|
1695
|
-
type: {
|
1696
|
-
name: "Composite",
|
1697
|
-
className: "AnalyzeTextDynamicClassificationInput",
|
1698
|
-
uberParent: "AnalyzeAction",
|
1699
|
-
polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
|
1700
|
-
modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
|
1701
|
-
serializedName: "analysisInput",
|
1702
|
-
type: {
|
1703
|
-
name: "Composite",
|
1704
|
-
className: "MultiLanguageAnalysisInput"
|
1705
|
-
}
|
1706
|
-
}, parameters: {
|
1707
|
-
serializedName: "parameters",
|
1708
|
-
type: {
|
1709
|
-
name: "Composite",
|
1710
|
-
className: "DynamicClassificationAction"
|
1711
|
-
}
|
1712
|
-
} })
|
1713
|
-
}
|
1714
|
-
};
|
1715
1693
|
export const SentimentTaskResult = {
|
1716
1694
|
serializedName: "SentimentAnalysisResults",
|
1717
1695
|
type: {
|
@@ -1808,22 +1786,6 @@ export const LanguageDetectionTaskResult = {
|
|
1808
1786
|
} })
|
1809
1787
|
}
|
1810
1788
|
};
|
1811
|
-
export const DynamicClassificationTaskResult = {
|
1812
|
-
serializedName: "DynamicClassificationResults",
|
1813
|
-
type: {
|
1814
|
-
name: "Composite",
|
1815
|
-
className: "DynamicClassificationTaskResult",
|
1816
|
-
uberParent: "AnalyzeTextTaskResult",
|
1817
|
-
polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
|
1818
|
-
modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
|
1819
|
-
serializedName: "results",
|
1820
|
-
type: {
|
1821
|
-
name: "Composite",
|
1822
|
-
className: "DynamicClassificationResult"
|
1823
|
-
}
|
1824
|
-
} })
|
1825
|
-
}
|
1826
|
-
};
|
1827
1789
|
export const AnalyzeBatchAction = {
|
1828
1790
|
serializedName: "AnalyzeBatchAction",
|
1829
1791
|
type: {
|
@@ -2332,25 +2294,6 @@ export const ClassificationDocumentResult = {
|
|
2332
2294
|
} })
|
2333
2295
|
}
|
2334
2296
|
};
|
2335
|
-
export const DynamicClassificationDocumentResult = {
|
2336
|
-
type: {
|
2337
|
-
name: "Composite",
|
2338
|
-
className: "DynamicClassificationDocumentResult",
|
2339
|
-
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classifications: {
|
2340
|
-
serializedName: "classifications",
|
2341
|
-
required: true,
|
2342
|
-
type: {
|
2343
|
-
name: "Sequence",
|
2344
|
-
element: {
|
2345
|
-
type: {
|
2346
|
-
name: "Composite",
|
2347
|
-
className: "ClassificationCategory"
|
2348
|
-
}
|
2349
|
-
}
|
2350
|
-
}
|
2351
|
-
} })
|
2352
|
-
}
|
2353
|
-
};
|
2354
2297
|
export const HealthcareEntitiesDocumentResult = {
|
2355
2298
|
type: {
|
2356
2299
|
name: "Composite",
|
@@ -2755,25 +2698,6 @@ export const LanguageDetectionResult = {
|
|
2755
2698
|
} })
|
2756
2699
|
}
|
2757
2700
|
};
|
2758
|
-
export const DynamicClassificationResult = {
|
2759
|
-
type: {
|
2760
|
-
name: "Composite",
|
2761
|
-
className: "DynamicClassificationResult",
|
2762
|
-
modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
|
2763
|
-
serializedName: "documents",
|
2764
|
-
required: true,
|
2765
|
-
type: {
|
2766
|
-
name: "Sequence",
|
2767
|
-
element: {
|
2768
|
-
type: {
|
2769
|
-
name: "Composite",
|
2770
|
-
className: "DynamicClassificationResultDocumentsItem"
|
2771
|
-
}
|
2772
|
-
}
|
2773
|
-
}
|
2774
|
-
} })
|
2775
|
-
}
|
2776
|
-
};
|
2777
2701
|
export const AbstractiveSummarizationResult = {
|
2778
2702
|
type: {
|
2779
2703
|
name: "Composite",
|
@@ -3231,30 +3155,6 @@ export const SentimentAnalysisAction = {
|
|
3231
3155
|
} })
|
3232
3156
|
}
|
3233
3157
|
};
|
3234
|
-
export const DynamicClassificationAction = {
|
3235
|
-
type: {
|
3236
|
-
name: "Composite",
|
3237
|
-
className: "DynamicClassificationAction",
|
3238
|
-
modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { classificationType: {
|
3239
|
-
defaultValue: "Multi",
|
3240
|
-
serializedName: "classificationType",
|
3241
|
-
type: {
|
3242
|
-
name: "String"
|
3243
|
-
}
|
3244
|
-
}, categories: {
|
3245
|
-
serializedName: "categories",
|
3246
|
-
required: true,
|
3247
|
-
type: {
|
3248
|
-
name: "Sequence",
|
3249
|
-
element: {
|
3250
|
-
type: {
|
3251
|
-
name: "String"
|
3252
|
-
}
|
3253
|
-
}
|
3254
|
-
}
|
3255
|
-
} })
|
3256
|
-
}
|
3257
|
-
};
|
3258
3158
|
export const HealthcareAction = {
|
3259
3159
|
type: {
|
3260
3160
|
name: "Composite",
|
@@ -3330,13 +3230,6 @@ export const CustomMultiLabelClassificationAction = {
|
|
3330
3230
|
modelProperties: Object.assign({}, ActionCustom.type.modelProperties)
|
3331
3231
|
}
|
3332
3232
|
};
|
3333
|
-
export const DynamicClassificationResultDocumentsItem = {
|
3334
|
-
type: {
|
3335
|
-
name: "Composite",
|
3336
|
-
className: "DynamicClassificationResultDocumentsItem",
|
3337
|
-
modelProperties: Object.assign({}, DynamicClassificationDocumentResult.type.modelProperties)
|
3338
|
-
}
|
3339
|
-
};
|
3340
3233
|
export const GeneratedClientAnalyzeBatchHeaders = {
|
3341
3234
|
type: {
|
3342
3235
|
name: "Composite",
|
@@ -3375,14 +3268,12 @@ export let discriminators = {
|
|
3375
3268
|
"AnalyzeAction.PiiEntityRecognition": AnalyzeTextPiiEntitiesRecognitionInput,
|
3376
3269
|
"AnalyzeAction.LanguageDetection": AnalyzeTextLanguageDetectionInput,
|
3377
3270
|
"AnalyzeAction.SentimentAnalysis": AnalyzeTextSentimentAnalysisInput,
|
3378
|
-
"AnalyzeAction.DynamicClassification": AnalyzeTextDynamicClassificationInput,
|
3379
3271
|
"AnalyzeTextTaskResult.SentimentAnalysisResults": SentimentTaskResult,
|
3380
3272
|
"AnalyzeTextTaskResult.EntityRecognitionResults": EntitiesTaskResult,
|
3381
3273
|
"AnalyzeTextTaskResult.EntityLinkingResults": EntityLinkingTaskResult,
|
3382
3274
|
"AnalyzeTextTaskResult.PiiEntityRecognitionResults": PiiTaskResult,
|
3383
3275
|
"AnalyzeTextTaskResult.KeyPhraseExtractionResults": KeyPhraseTaskResult,
|
3384
3276
|
"AnalyzeTextTaskResult.LanguageDetectionResults": LanguageDetectionTaskResult,
|
3385
|
-
"AnalyzeTextTaskResult.DynamicClassificationResults": DynamicClassificationTaskResult,
|
3386
3277
|
"BatchActionState.AnalyzeBatchAction": AnalyzeBatchAction,
|
3387
3278
|
"TaskState.AnalyzeTextLROResult": AnalyzeTextLROResult,
|
3388
3279
|
"BaseResolution.AgeResolution": AgeResolution,
|