oci-ailanguage 2.53.0 → 2.54.0
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/lib/client.d.ts +46 -56
- package/lib/client.js +46 -56
- package/lib/client.js.map +1 -1
- package/lib/model/batch-language-translation-details.d.ts +26 -1
- package/lib/model/batch-language-translation-details.js.map +1 -1
- package/lib/model/entity-document-result.d.ts +26 -1
- package/lib/model/entity-document-result.js.map +1 -1
- package/lib/model/key-phrase-document-result.d.ts +26 -1
- package/lib/model/key-phrase-document-result.js.map +1 -1
- package/lib/model/pii-entity-document-result.d.ts +26 -1
- package/lib/model/pii-entity-document-result.js.map +1 -1
- package/lib/model/sentiment-document-result.d.ts +26 -1
- package/lib/model/sentiment-document-result.js.map +1 -1
- package/lib/model/text-classification-document-result.d.ts +26 -1
- package/lib/model/text-classification-document-result.js.map +1 -1
- package/lib/model/text-document.d.ts +26 -1
- package/lib/model/text-document.js.map +1 -1
- package/lib/model/translation-document-result.d.ts +52 -2
- package/lib/model/translation-document-result.js.map +1 -1
- package/lib/request/batch-detect-dominant-language-request.d.ts +1 -1
- package/lib/request/batch-detect-language-entities-request.d.ts +1 -1
- package/lib/request/batch-detect-language-key-phrases-request.d.ts +1 -1
- package/lib/request/batch-detect-language-pii-entities-request.d.ts +1 -1
- package/lib/request/batch-detect-language-sentiments-request.d.ts +1 -1
- package/lib/request/batch-detect-language-text-classification-request.d.ts +1 -1
- package/lib/request/batch-language-translation-request.d.ts +1 -1
- package/lib/request/change-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-endpoint-request.d.ts +1 -1
- package/lib/request/create-model-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/delete-endpoint-request.d.ts +1 -1
- package/lib/request/delete-model-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/detect-dominant-language-request.d.ts +1 -1
- package/lib/request/detect-language-entities-request.d.ts +1 -1
- package/lib/request/detect-language-key-phrases-request.d.ts +1 -1
- package/lib/request/detect-language-sentiments-request.d.ts +1 -1
- package/lib/request/detect-language-text-classification-request.d.ts +1 -1
- package/lib/request/get-endpoint-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-project-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-endpoints-request.d.ts +1 -1
- package/lib/request/list-evaluation-results-request.d.ts +1 -1
- package/lib/request/list-models-request.d.ts +1 -1
- package/lib/request/list-projects-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-endpoint-request.d.ts +1 -1
- package/lib/request/update-model-request.d.ts +1 -1
- package/lib/request/update-project-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -167,7 +167,7 @@ class AIServiceLanguageClient {
|
|
|
167
167
|
* @param BatchDetectDominantLanguageRequest
|
|
168
168
|
* @return BatchDetectDominantLanguageResponse
|
|
169
169
|
* @throws OciError when an error occurs
|
|
170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
170
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguage API.
|
|
171
171
|
*/
|
|
172
172
|
batchDetectDominantLanguage(batchDetectDominantLanguageRequest) {
|
|
173
173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -232,7 +232,7 @@ class AIServiceLanguageClient {
|
|
|
232
232
|
* @param BatchDetectLanguageEntitiesRequest
|
|
233
233
|
* @return BatchDetectLanguageEntitiesResponse
|
|
234
234
|
* @throws OciError when an error occurs
|
|
235
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntities API.
|
|
236
236
|
*/
|
|
237
237
|
batchDetectLanguageEntities(batchDetectLanguageEntitiesRequest) {
|
|
238
238
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -295,7 +295,7 @@ class AIServiceLanguageClient {
|
|
|
295
295
|
* @param BatchDetectLanguageKeyPhrasesRequest
|
|
296
296
|
* @return BatchDetectLanguageKeyPhrasesResponse
|
|
297
297
|
* @throws OciError when an error occurs
|
|
298
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
298
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrases API.
|
|
299
299
|
*/
|
|
300
300
|
batchDetectLanguageKeyPhrases(batchDetectLanguageKeyPhrasesRequest) {
|
|
301
301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -358,7 +358,7 @@ class AIServiceLanguageClient {
|
|
|
358
358
|
* @param BatchDetectLanguagePiiEntitiesRequest
|
|
359
359
|
* @return BatchDetectLanguagePiiEntitiesResponse
|
|
360
360
|
* @throws OciError when an error occurs
|
|
361
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchDetectLanguagePiiEntities.ts.html |here} to see how to use BatchDetectLanguagePiiEntities API.
|
|
362
362
|
*/
|
|
363
363
|
batchDetectLanguagePiiEntities(batchDetectLanguagePiiEntitiesRequest) {
|
|
364
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -427,7 +427,7 @@ class AIServiceLanguageClient {
|
|
|
427
427
|
* @param BatchDetectLanguageSentimentsRequest
|
|
428
428
|
* @return BatchDetectLanguageSentimentsResponse
|
|
429
429
|
* @throws OciError when an error occurs
|
|
430
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchDetectLanguageSentiments.ts.html |here} to see how to use BatchDetectLanguageSentiments API.
|
|
431
431
|
*/
|
|
432
432
|
batchDetectLanguageSentiments(batchDetectLanguageSentimentsRequest) {
|
|
433
433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -496,7 +496,7 @@ class AIServiceLanguageClient {
|
|
|
496
496
|
* @param BatchDetectLanguageTextClassificationRequest
|
|
497
497
|
* @return BatchDetectLanguageTextClassificationResponse
|
|
498
498
|
* @throws OciError when an error occurs
|
|
499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchDetectLanguageTextClassification.ts.html |here} to see how to use BatchDetectLanguageTextClassification API.
|
|
500
500
|
*/
|
|
501
501
|
batchDetectLanguageTextClassification(batchDetectLanguageTextClassificationRequest) {
|
|
502
502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -559,7 +559,7 @@ class AIServiceLanguageClient {
|
|
|
559
559
|
* @param BatchLanguageTranslationRequest
|
|
560
560
|
* @return BatchLanguageTranslationResponse
|
|
561
561
|
* @throws OciError when an error occurs
|
|
562
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
562
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/BatchLanguageTranslation.ts.html |here} to see how to use BatchLanguageTranslation API.
|
|
563
563
|
*/
|
|
564
564
|
batchLanguageTranslation(batchLanguageTranslationRequest) {
|
|
565
565
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -616,7 +616,7 @@ class AIServiceLanguageClient {
|
|
|
616
616
|
* @param ChangeEndpointCompartmentRequest
|
|
617
617
|
* @return ChangeEndpointCompartmentResponse
|
|
618
618
|
* @throws OciError when an error occurs
|
|
619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
619
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ChangeEndpointCompartment.ts.html |here} to see how to use ChangeEndpointCompartment API.
|
|
620
620
|
*/
|
|
621
621
|
changeEndpointCompartment(changeEndpointCompartmentRequest) {
|
|
622
622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -673,7 +673,7 @@ class AIServiceLanguageClient {
|
|
|
673
673
|
* @param ChangeModelCompartmentRequest
|
|
674
674
|
* @return ChangeModelCompartmentResponse
|
|
675
675
|
* @throws OciError when an error occurs
|
|
676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
677
677
|
*/
|
|
678
678
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
679
679
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -730,7 +730,7 @@ class AIServiceLanguageClient {
|
|
|
730
730
|
* @param ChangeProjectCompartmentRequest
|
|
731
731
|
* @return ChangeProjectCompartmentResponse
|
|
732
732
|
* @throws OciError when an error occurs
|
|
733
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
733
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
734
734
|
*/
|
|
735
735
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
736
736
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -788,7 +788,7 @@ class AIServiceLanguageClient {
|
|
|
788
788
|
* @param CreateEndpointRequest
|
|
789
789
|
* @return CreateEndpointResponse
|
|
790
790
|
* @throws OciError when an error occurs
|
|
791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/CreateEndpoint.ts.html |here} to see how to use CreateEndpoint API.
|
|
792
792
|
*/
|
|
793
793
|
createEndpoint(createEndpointRequest) {
|
|
794
794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -862,7 +862,7 @@ class AIServiceLanguageClient {
|
|
|
862
862
|
* @param CreateModelRequest
|
|
863
863
|
* @return CreateModelResponse
|
|
864
864
|
* @throws OciError when an error occurs
|
|
865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
865
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
866
866
|
*/
|
|
867
867
|
createModel(createModelRequest) {
|
|
868
868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -936,7 +936,7 @@ class AIServiceLanguageClient {
|
|
|
936
936
|
* @param CreateProjectRequest
|
|
937
937
|
* @return CreateProjectResponse
|
|
938
938
|
* @throws OciError when an error occurs
|
|
939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
939
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
940
940
|
*/
|
|
941
941
|
createProject(createProjectRequest) {
|
|
942
942
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1004,7 +1004,7 @@ class AIServiceLanguageClient {
|
|
|
1004
1004
|
* @param DeleteEndpointRequest
|
|
1005
1005
|
* @return DeleteEndpointResponse
|
|
1006
1006
|
* @throws OciError when an error occurs
|
|
1007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1007
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DeleteEndpoint.ts.html |here} to see how to use DeleteEndpoint API.
|
|
1008
1008
|
*/
|
|
1009
1009
|
deleteEndpoint(deleteEndpointRequest) {
|
|
1010
1010
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1064,7 +1064,7 @@ class AIServiceLanguageClient {
|
|
|
1064
1064
|
* @param DeleteModelRequest
|
|
1065
1065
|
* @return DeleteModelResponse
|
|
1066
1066
|
* @throws OciError when an error occurs
|
|
1067
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1067
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
1068
1068
|
*/
|
|
1069
1069
|
deleteModel(deleteModelRequest) {
|
|
1070
1070
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1124,7 +1124,7 @@ class AIServiceLanguageClient {
|
|
|
1124
1124
|
* @param DeleteProjectRequest
|
|
1125
1125
|
* @return DeleteProjectResponse
|
|
1126
1126
|
* @throws OciError when an error occurs
|
|
1127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1127
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
1128
1128
|
*/
|
|
1129
1129
|
deleteProject(deleteProjectRequest) {
|
|
1130
1130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1179,12 +1179,10 @@ class AIServiceLanguageClient {
|
|
|
1179
1179
|
});
|
|
1180
1180
|
}
|
|
1181
1181
|
/**
|
|
1182
|
-
*
|
|
1183
|
-
*
|
|
1182
|
+
* This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
|
|
1183
|
+
* The API returns the detected language and a related confidence score (between 0 and 1).
|
|
1184
1184
|
* <p>
|
|
1185
|
-
|
|
1186
|
-
* <p>
|
|
1187
|
-
[List of supported languages](https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
|
|
1185
|
+
[List of supported languages.](https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
|
|
1188
1186
|
* <p>
|
|
1189
1187
|
Limitations:
|
|
1190
1188
|
* - A record may be up to 1000 characters long.
|
|
@@ -1193,7 +1191,7 @@ class AIServiceLanguageClient {
|
|
|
1193
1191
|
* @param DetectDominantLanguageRequest
|
|
1194
1192
|
* @return DetectDominantLanguageResponse
|
|
1195
1193
|
* @throws OciError when an error occurs
|
|
1196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1194
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DetectDominantLanguage.ts.html |here} to see how to use DetectDominantLanguage API.
|
|
1197
1195
|
*/
|
|
1198
1196
|
detectDominantLanguage(detectDominantLanguageRequest) {
|
|
1199
1197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1250,10 +1248,8 @@ class AIServiceLanguageClient {
|
|
|
1250
1248
|
});
|
|
1251
1249
|
}
|
|
1252
1250
|
/**
|
|
1253
|
-
*
|
|
1254
|
-
*
|
|
1255
|
-
* <p>
|
|
1256
|
-
The DetectLanguageEntities API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned.
|
|
1251
|
+
* This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
|
|
1252
|
+
* The API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned.
|
|
1257
1253
|
* <p>
|
|
1258
1254
|
Limitations:
|
|
1259
1255
|
* - A text may be up to 1000 characters long.
|
|
@@ -1262,7 +1258,7 @@ class AIServiceLanguageClient {
|
|
|
1262
1258
|
* @param DetectLanguageEntitiesRequest
|
|
1263
1259
|
* @return DetectLanguageEntitiesResponse
|
|
1264
1260
|
* @throws OciError when an error occurs
|
|
1265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DetectLanguageEntities.ts.html |here} to see how to use DetectLanguageEntities API.
|
|
1266
1262
|
*/
|
|
1267
1263
|
detectLanguageEntities(detectLanguageEntitiesRequest) {
|
|
1268
1264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1322,10 +1318,8 @@ class AIServiceLanguageClient {
|
|
|
1322
1318
|
});
|
|
1323
1319
|
}
|
|
1324
1320
|
/**
|
|
1325
|
-
*
|
|
1326
|
-
*
|
|
1327
|
-
* <p>
|
|
1328
|
-
The DetectLanguageKeyPhrases API extracts key-phrases in text records. For each key-phrase, a score (between 0 and 1) is returned that highlights the importance of the key-phrase in the context of the text.
|
|
1321
|
+
* This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
|
|
1322
|
+
* The API extracts key-phrases in text records. For each key-phrase, a score (between 0 and 1) is returned that highlights the importance of the key-phrase in the context of the text.
|
|
1329
1323
|
* <p>
|
|
1330
1324
|
Limitations:
|
|
1331
1325
|
* - A record may be up to 1000 characters long.
|
|
@@ -1334,7 +1328,7 @@ class AIServiceLanguageClient {
|
|
|
1334
1328
|
* @param DetectLanguageKeyPhrasesRequest
|
|
1335
1329
|
* @return DetectLanguageKeyPhrasesResponse
|
|
1336
1330
|
* @throws OciError when an error occurs
|
|
1337
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DetectLanguageKeyPhrases.ts.html |here} to see how to use DetectLanguageKeyPhrases API.
|
|
1338
1332
|
*/
|
|
1339
1333
|
detectLanguageKeyPhrases(detectLanguageKeyPhrasesRequest) {
|
|
1340
1334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1391,10 +1385,8 @@ class AIServiceLanguageClient {
|
|
|
1391
1385
|
});
|
|
1392
1386
|
}
|
|
1393
1387
|
/**
|
|
1394
|
-
*
|
|
1395
|
-
*
|
|
1396
|
-
* <p>
|
|
1397
|
-
The DetectLanguageSentiments API extracts aspect-based in text records.
|
|
1388
|
+
* This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
|
|
1389
|
+
* The API extracts aspect-based in text records.
|
|
1398
1390
|
* <p>
|
|
1399
1391
|
For aspect-based sentiment analysis, a set of aspects and their respective sentiment is returned.
|
|
1400
1392
|
* <p>
|
|
@@ -1409,7 +1401,7 @@ class AIServiceLanguageClient {
|
|
|
1409
1401
|
* @param DetectLanguageSentimentsRequest
|
|
1410
1402
|
* @return DetectLanguageSentimentsResponse
|
|
1411
1403
|
* @throws OciError when an error occurs
|
|
1412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1404
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DetectLanguageSentiments.ts.html |here} to see how to use DetectLanguageSentiments API.
|
|
1413
1405
|
*/
|
|
1414
1406
|
detectLanguageSentiments(detectLanguageSentimentsRequest) {
|
|
1415
1407
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1466,10 +1458,8 @@ class AIServiceLanguageClient {
|
|
|
1466
1458
|
});
|
|
1467
1459
|
}
|
|
1468
1460
|
/**
|
|
1469
|
-
*
|
|
1470
|
-
*
|
|
1471
|
-
* <p>
|
|
1472
|
-
The DetectLanguageTextClassification API automatically classifies text into a set of pre-determined classes and sub-classes. A single class/subclass is returned for each record classified.
|
|
1461
|
+
* This API will be retired on Monday, 10 Oct 2023 00:00:00 GMT
|
|
1462
|
+
* The API automatically classifies text into a set of pre-determined classes and sub-classes. A single class/subclass is returned for each record classified.
|
|
1473
1463
|
* <p>
|
|
1474
1464
|
Learn more about text classification [here](https://docs.cloud.oracle.com/iaas/language/using/pretrain-models.htm#text-class).
|
|
1475
1465
|
* <p>
|
|
@@ -1480,7 +1470,7 @@ class AIServiceLanguageClient {
|
|
|
1480
1470
|
* @param DetectLanguageTextClassificationRequest
|
|
1481
1471
|
* @return DetectLanguageTextClassificationResponse
|
|
1482
1472
|
* @throws OciError when an error occurs
|
|
1483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1473
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/DetectLanguageTextClassification.ts.html |here} to see how to use DetectLanguageTextClassification API.
|
|
1484
1474
|
*/
|
|
1485
1475
|
detectLanguageTextClassification(detectLanguageTextClassificationRequest) {
|
|
1486
1476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1542,7 +1532,7 @@ class AIServiceLanguageClient {
|
|
|
1542
1532
|
* @param GetEndpointRequest
|
|
1543
1533
|
* @return GetEndpointResponse
|
|
1544
1534
|
* @throws OciError when an error occurs
|
|
1545
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/GetEndpoint.ts.html |here} to see how to use GetEndpoint API.
|
|
1546
1536
|
*/
|
|
1547
1537
|
getEndpoint(getEndpointRequest) {
|
|
1548
1538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1605,7 +1595,7 @@ class AIServiceLanguageClient {
|
|
|
1605
1595
|
* @param GetModelRequest
|
|
1606
1596
|
* @return GetModelResponse
|
|
1607
1597
|
* @throws OciError when an error occurs
|
|
1608
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1598
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/GetModel.ts.html |here} to see how to use GetModel API.
|
|
1609
1599
|
*/
|
|
1610
1600
|
getModel(getModelRequest) {
|
|
1611
1601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1668,7 +1658,7 @@ class AIServiceLanguageClient {
|
|
|
1668
1658
|
* @param GetProjectRequest
|
|
1669
1659
|
* @return GetProjectResponse
|
|
1670
1660
|
* @throws OciError when an error occurs
|
|
1671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/GetProject.ts.html |here} to see how to use GetProject API.
|
|
1672
1662
|
*/
|
|
1673
1663
|
getProject(getProjectRequest) {
|
|
1674
1664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1731,7 +1721,7 @@ class AIServiceLanguageClient {
|
|
|
1731
1721
|
* @param GetWorkRequestRequest
|
|
1732
1722
|
* @return GetWorkRequestResponse
|
|
1733
1723
|
* @throws OciError when an error occurs
|
|
1734
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1724
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1735
1725
|
*/
|
|
1736
1726
|
getWorkRequest(getWorkRequestRequest) {
|
|
1737
1727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1795,7 +1785,7 @@ class AIServiceLanguageClient {
|
|
|
1795
1785
|
* @param ListEndpointsRequest
|
|
1796
1786
|
* @return ListEndpointsResponse
|
|
1797
1787
|
* @throws OciError when an error occurs
|
|
1798
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListEndpoints.ts.html |here} to see how to use ListEndpoints API.
|
|
1799
1789
|
*/
|
|
1800
1790
|
listEndpoints(listEndpointsRequest) {
|
|
1801
1791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1867,7 +1857,7 @@ class AIServiceLanguageClient {
|
|
|
1867
1857
|
* @param ListEvaluationResultsRequest
|
|
1868
1858
|
* @return ListEvaluationResultsResponse
|
|
1869
1859
|
* @throws OciError when an error occurs
|
|
1870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListEvaluationResults.ts.html |here} to see how to use ListEvaluationResults API.
|
|
1871
1861
|
*/
|
|
1872
1862
|
listEvaluationResults(listEvaluationResultsRequest) {
|
|
1873
1863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1934,7 +1924,7 @@ class AIServiceLanguageClient {
|
|
|
1934
1924
|
* @param ListModelsRequest
|
|
1935
1925
|
* @return ListModelsResponse
|
|
1936
1926
|
* @throws OciError when an error occurs
|
|
1937
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListModels.ts.html |here} to see how to use ListModels API.
|
|
1938
1928
|
*/
|
|
1939
1929
|
listModels(listModelsRequest) {
|
|
1940
1930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2006,7 +1996,7 @@ class AIServiceLanguageClient {
|
|
|
2006
1996
|
* @param ListProjectsRequest
|
|
2007
1997
|
* @return ListProjectsResponse
|
|
2008
1998
|
* @throws OciError when an error occurs
|
|
2009
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
2010
2000
|
*/
|
|
2011
2001
|
listProjects(listProjectsRequest) {
|
|
2012
2002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2077,7 +2067,7 @@ class AIServiceLanguageClient {
|
|
|
2077
2067
|
* @param ListWorkRequestErrorsRequest
|
|
2078
2068
|
* @return ListWorkRequestErrorsResponse
|
|
2079
2069
|
* @throws OciError when an error occurs
|
|
2080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2070
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2081
2071
|
*/
|
|
2082
2072
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2083
2073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2146,7 +2136,7 @@ class AIServiceLanguageClient {
|
|
|
2146
2136
|
* @param ListWorkRequestLogsRequest
|
|
2147
2137
|
* @return ListWorkRequestLogsResponse
|
|
2148
2138
|
* @throws OciError when an error occurs
|
|
2149
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2139
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2150
2140
|
*/
|
|
2151
2141
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2152
2142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2215,7 +2205,7 @@ class AIServiceLanguageClient {
|
|
|
2215
2205
|
* @param ListWorkRequestsRequest
|
|
2216
2206
|
* @return ListWorkRequestsResponse
|
|
2217
2207
|
* @throws OciError when an error occurs
|
|
2218
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2219
2209
|
*/
|
|
2220
2210
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2221
2211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2284,7 +2274,7 @@ class AIServiceLanguageClient {
|
|
|
2284
2274
|
* @param UpdateEndpointRequest
|
|
2285
2275
|
* @return UpdateEndpointResponse
|
|
2286
2276
|
* @throws OciError when an error occurs
|
|
2287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/UpdateEndpoint.ts.html |here} to see how to use UpdateEndpoint API.
|
|
2288
2278
|
*/
|
|
2289
2279
|
updateEndpoint(updateEndpointRequest) {
|
|
2290
2280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2345,7 +2335,7 @@ class AIServiceLanguageClient {
|
|
|
2345
2335
|
* @param UpdateModelRequest
|
|
2346
2336
|
* @return UpdateModelResponse
|
|
2347
2337
|
* @throws OciError when an error occurs
|
|
2348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2338
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
2349
2339
|
*/
|
|
2350
2340
|
updateModel(updateModelRequest) {
|
|
2351
2341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2406,7 +2396,7 @@ class AIServiceLanguageClient {
|
|
|
2406
2396
|
* @param UpdateProjectRequest
|
|
2407
2397
|
* @return UpdateProjectResponse
|
|
2408
2398
|
* @throws OciError when an error occurs
|
|
2409
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2399
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/ailanguage/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
2410
2400
|
*/
|
|
2411
2401
|
updateProject(updateProjectRequest) {
|
|
2412
2402
|
return __awaiter(this, void 0, void 0, function* () {
|