@azure/ai-language-text 1.1.0-alpha.20221107.2 → 1.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +92 -98
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +28 -28
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +53 -34
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/textAnalysisClient.js.map +1 -1
- package/dist-esm/src/transforms.js +4 -30
- package/dist-esm/src/transforms.js.map +1 -1
- package/package.json +5 -5
- package/types/ai-language-text.d.ts +39 -33
@@ -989,10 +989,10 @@ export const HealthcareRelationEntity = {
|
|
989
989
|
}
|
990
990
|
}
|
991
991
|
};
|
992
|
-
export const
|
992
|
+
export const DocumentDetectedLanguageString = {
|
993
993
|
type: {
|
994
994
|
name: "Composite",
|
995
|
-
className: "
|
995
|
+
className: "DocumentDetectedLanguageString",
|
996
996
|
modelProperties: {
|
997
997
|
detectedLanguage: {
|
998
998
|
serializedName: "detectedLanguage",
|
@@ -1407,6 +1407,21 @@ export const Match = {
|
|
1407
1407
|
}
|
1408
1408
|
}
|
1409
1409
|
};
|
1410
|
+
export const QuantityResolution = {
|
1411
|
+
type: {
|
1412
|
+
name: "Composite",
|
1413
|
+
className: "QuantityResolution",
|
1414
|
+
modelProperties: {
|
1415
|
+
value: {
|
1416
|
+
serializedName: "value",
|
1417
|
+
required: true,
|
1418
|
+
type: {
|
1419
|
+
name: "Number"
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
}
|
1423
|
+
}
|
1424
|
+
};
|
1410
1425
|
export const SummarySentence = {
|
1411
1426
|
type: {
|
1412
1427
|
name: "Composite",
|
@@ -1548,21 +1563,6 @@ export const SummaryContext = {
|
|
1548
1563
|
}
|
1549
1564
|
}
|
1550
1565
|
};
|
1551
|
-
export const QuantityResolution = {
|
1552
|
-
type: {
|
1553
|
-
name: "Composite",
|
1554
|
-
className: "QuantityResolution",
|
1555
|
-
modelProperties: {
|
1556
|
-
value: {
|
1557
|
-
serializedName: "value",
|
1558
|
-
required: true,
|
1559
|
-
type: {
|
1560
|
-
name: "Number"
|
1561
|
-
}
|
1562
|
-
}
|
1563
|
-
}
|
1564
|
-
}
|
1565
|
-
};
|
1566
1566
|
export const AnalyzeTextEntityLinkingInput = {
|
1567
1567
|
serializedName: "EntityLinking",
|
1568
1568
|
type: {
|
@@ -2106,7 +2106,7 @@ export const CurrencyResolution = {
|
|
2106
2106
|
uberParent: "BaseResolution",
|
2107
2107
|
polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
|
2108
2108
|
modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { iso4217: {
|
2109
|
-
serializedName: "
|
2109
|
+
serializedName: "iso4217",
|
2110
2110
|
type: {
|
2111
2111
|
name: "String"
|
2112
2112
|
}
|
@@ -2185,7 +2185,7 @@ export const NumberResolution = {
|
|
2185
2185
|
serializedName: "value",
|
2186
2186
|
required: true,
|
2187
2187
|
type: {
|
2188
|
-
name: "
|
2188
|
+
name: "Number"
|
2189
2189
|
}
|
2190
2190
|
} })
|
2191
2191
|
}
|
@@ -2322,7 +2322,7 @@ export const ClassificationDocumentResult = {
|
|
2322
2322
|
type: {
|
2323
2323
|
name: "Composite",
|
2324
2324
|
className: "ClassificationDocumentResult",
|
2325
|
-
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), {
|
2325
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classifications: {
|
2326
2326
|
serializedName: "class",
|
2327
2327
|
required: true,
|
2328
2328
|
type: {
|
@@ -2337,6 +2337,25 @@ export const ClassificationDocumentResult = {
|
|
2337
2337
|
} })
|
2338
2338
|
}
|
2339
2339
|
};
|
2340
|
+
export const DynamicClassificationDocumentResult = {
|
2341
|
+
type: {
|
2342
|
+
name: "Composite",
|
2343
|
+
className: "DynamicClassificationDocumentResult",
|
2344
|
+
modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classifications: {
|
2345
|
+
serializedName: "classifications",
|
2346
|
+
required: true,
|
2347
|
+
type: {
|
2348
|
+
name: "Sequence",
|
2349
|
+
element: {
|
2350
|
+
type: {
|
2351
|
+
name: "Composite",
|
2352
|
+
className: "ClassificationCategory"
|
2353
|
+
}
|
2354
|
+
}
|
2355
|
+
}
|
2356
|
+
} })
|
2357
|
+
}
|
2358
|
+
};
|
2340
2359
|
export const HealthcareEntitiesDocumentResult = {
|
2341
2360
|
type: {
|
2342
2361
|
name: "Composite",
|
@@ -2540,24 +2559,24 @@ export const SentimentResponseDocumentsItem = {
|
|
2540
2559
|
modelProperties: Object.assign(Object.assign({}, SentimentDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2541
2560
|
}
|
2542
2561
|
};
|
2543
|
-
export const
|
2562
|
+
export const EntitiesResultWithDetectedLanguage = {
|
2544
2563
|
type: {
|
2545
2564
|
name: "Composite",
|
2546
|
-
className: "
|
2565
|
+
className: "EntitiesResultWithDetectedLanguage",
|
2547
2566
|
modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2548
2567
|
}
|
2549
2568
|
};
|
2550
|
-
export const
|
2569
|
+
export const EntityLinkingResultWithDetectedLanguage = {
|
2551
2570
|
type: {
|
2552
2571
|
name: "Composite",
|
2553
|
-
className: "
|
2572
|
+
className: "EntityLinkingResultWithDetectedLanguage",
|
2554
2573
|
modelProperties: Object.assign(Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2555
2574
|
}
|
2556
2575
|
};
|
2557
|
-
export const
|
2576
|
+
export const PIIResultWithDetectedLanguage = {
|
2558
2577
|
type: {
|
2559
2578
|
name: "Composite",
|
2560
|
-
className: "
|
2579
|
+
className: "PIIResultWithDetectedLanguage",
|
2561
2580
|
modelProperties: Object.assign(Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2562
2581
|
}
|
2563
2582
|
};
|
@@ -2582,11 +2601,11 @@ export const AbstractiveSummaryDocumentResultWithDetectedLanguage = {
|
|
2582
2601
|
modelProperties: Object.assign(Object.assign({}, AbstractiveSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
|
2583
2602
|
}
|
2584
2603
|
};
|
2585
|
-
export const
|
2604
|
+
export const HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage = {
|
2586
2605
|
type: {
|
2587
2606
|
name: "Composite",
|
2588
|
-
className: "
|
2589
|
-
modelProperties: Object.assign(Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties),
|
2607
|
+
className: "HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage",
|
2608
|
+
modelProperties: Object.assign(Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguageString.type.modelProperties)
|
2590
2609
|
}
|
2591
2610
|
};
|
2592
2611
|
export const HealthcareResult = {
|
@@ -2601,7 +2620,7 @@ export const HealthcareResult = {
|
|
2601
2620
|
element: {
|
2602
2621
|
type: {
|
2603
2622
|
name: "Composite",
|
2604
|
-
className: "
|
2623
|
+
className: "HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage"
|
2605
2624
|
}
|
2606
2625
|
}
|
2607
2626
|
}
|
@@ -2639,7 +2658,7 @@ export const EntitiesResult = {
|
|
2639
2658
|
element: {
|
2640
2659
|
type: {
|
2641
2660
|
name: "Composite",
|
2642
|
-
className: "
|
2661
|
+
className: "EntitiesResultWithDetectedLanguage"
|
2643
2662
|
}
|
2644
2663
|
}
|
2645
2664
|
}
|
@@ -2658,7 +2677,7 @@ export const EntityLinkingResult = {
|
|
2658
2677
|
element: {
|
2659
2678
|
type: {
|
2660
2679
|
name: "Composite",
|
2661
|
-
className: "
|
2680
|
+
className: "EntityLinkingResultWithDetectedLanguage"
|
2662
2681
|
}
|
2663
2682
|
}
|
2664
2683
|
}
|
@@ -2677,7 +2696,7 @@ export const PiiResult = {
|
|
2677
2696
|
element: {
|
2678
2697
|
type: {
|
2679
2698
|
name: "Composite",
|
2680
|
-
className: "
|
2699
|
+
className: "PIIResultWithDetectedLanguage"
|
2681
2700
|
}
|
2682
2701
|
}
|
2683
2702
|
}
|
@@ -3320,7 +3339,7 @@ export const DynamicClassificationResultDocumentsItem = {
|
|
3320
3339
|
type: {
|
3321
3340
|
name: "Composite",
|
3322
3341
|
className: "DynamicClassificationResultDocumentsItem",
|
3323
|
-
modelProperties: Object.assign({},
|
3342
|
+
modelProperties: Object.assign({}, DynamicClassificationDocumentResult.type.modelProperties)
|
3324
3343
|
}
|
3325
3344
|
};
|
3326
3345
|
export const GeneratedClientAnalyzeBatchHeaders = {
|