oci-ailanguage 2.56.0 → 2.58.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/lib/client.d.ts +45 -35
- package/lib/client.js +58 -35
- package/lib/client.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
|
@@ -59,11 +59,14 @@ var AIServiceLanguageApiKeys;
|
|
|
59
59
|
*/
|
|
60
60
|
class AIServiceLanguageClient {
|
|
61
61
|
constructor(params, clientConfiguration) {
|
|
62
|
+
this["_realmSpecificEndpointTemplateEnabled"] = false;
|
|
62
63
|
this["_endpoint"] = "";
|
|
63
64
|
this["_defaultHeaders"] = {};
|
|
64
65
|
this._circuitBreaker = null;
|
|
65
66
|
this._httpOptions = undefined;
|
|
66
67
|
this.targetService = "AIServiceLanguage";
|
|
68
|
+
this._regionId = "";
|
|
69
|
+
this._lastSetRegionOrRegionId = "";
|
|
67
70
|
const requestSigner = params.authenticationDetailsProvider
|
|
68
71
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
69
72
|
: null;
|
|
@@ -113,13 +116,31 @@ class AIServiceLanguageClient {
|
|
|
113
116
|
get logger() {
|
|
114
117
|
return common.LOG.logger;
|
|
115
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
121
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
122
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
123
|
+
*/
|
|
124
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
125
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
126
|
+
if (this.logger)
|
|
127
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
128
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
129
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceLanguageClient.serviceEndpointTemplate, this._region, AIServiceLanguageClient.endpointServiceName);
|
|
130
|
+
}
|
|
131
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
132
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AIServiceLanguageClient.serviceEndpointTemplate, this._regionId, AIServiceLanguageClient.endpointServiceName);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
116
135
|
/**
|
|
117
136
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
118
137
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
119
138
|
* @param region The region of the service.
|
|
120
139
|
*/
|
|
121
140
|
set region(region) {
|
|
141
|
+
this._region = region;
|
|
122
142
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(AIServiceLanguageClient.serviceEndpointTemplate, region, AIServiceLanguageClient.endpointServiceName);
|
|
143
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
123
144
|
}
|
|
124
145
|
/**
|
|
125
146
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -130,7 +151,9 @@ class AIServiceLanguageClient {
|
|
|
130
151
|
* @param regionId The public region ID.
|
|
131
152
|
*/
|
|
132
153
|
set regionId(regionId) {
|
|
154
|
+
this._regionId = regionId;
|
|
133
155
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(AIServiceLanguageClient.serviceEndpointTemplate, regionId, AIServiceLanguageClient.endpointServiceName);
|
|
156
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
134
157
|
}
|
|
135
158
|
/**
|
|
136
159
|
* Creates a new AIServiceLanguageWaiter for resources for this service.
|
|
@@ -167,7 +190,7 @@ class AIServiceLanguageClient {
|
|
|
167
190
|
* @param BatchDetectDominantLanguageRequest
|
|
168
191
|
* @return BatchDetectDominantLanguageResponse
|
|
169
192
|
* @throws OciError when an error occurs
|
|
170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
193
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguage API.
|
|
171
194
|
*/
|
|
172
195
|
batchDetectDominantLanguage(batchDetectDominantLanguageRequest) {
|
|
173
196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -232,7 +255,7 @@ class AIServiceLanguageClient {
|
|
|
232
255
|
* @param BatchDetectLanguageEntitiesRequest
|
|
233
256
|
* @return BatchDetectLanguageEntitiesResponse
|
|
234
257
|
* @throws OciError when an error occurs
|
|
235
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntities API.
|
|
236
259
|
*/
|
|
237
260
|
batchDetectLanguageEntities(batchDetectLanguageEntitiesRequest) {
|
|
238
261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -295,7 +318,7 @@ class AIServiceLanguageClient {
|
|
|
295
318
|
* @param BatchDetectLanguageKeyPhrasesRequest
|
|
296
319
|
* @return BatchDetectLanguageKeyPhrasesResponse
|
|
297
320
|
* @throws OciError when an error occurs
|
|
298
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrases API.
|
|
299
322
|
*/
|
|
300
323
|
batchDetectLanguageKeyPhrases(batchDetectLanguageKeyPhrasesRequest) {
|
|
301
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -358,7 +381,7 @@ class AIServiceLanguageClient {
|
|
|
358
381
|
* @param BatchDetectLanguagePiiEntitiesRequest
|
|
359
382
|
* @return BatchDetectLanguagePiiEntitiesResponse
|
|
360
383
|
* @throws OciError when an error occurs
|
|
361
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
384
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchDetectLanguagePiiEntities.ts.html |here} to see how to use BatchDetectLanguagePiiEntities API.
|
|
362
385
|
*/
|
|
363
386
|
batchDetectLanguagePiiEntities(batchDetectLanguagePiiEntitiesRequest) {
|
|
364
387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -427,7 +450,7 @@ class AIServiceLanguageClient {
|
|
|
427
450
|
* @param BatchDetectLanguageSentimentsRequest
|
|
428
451
|
* @return BatchDetectLanguageSentimentsResponse
|
|
429
452
|
* @throws OciError when an error occurs
|
|
430
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
453
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchDetectLanguageSentiments.ts.html |here} to see how to use BatchDetectLanguageSentiments API.
|
|
431
454
|
*/
|
|
432
455
|
batchDetectLanguageSentiments(batchDetectLanguageSentimentsRequest) {
|
|
433
456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -496,7 +519,7 @@ class AIServiceLanguageClient {
|
|
|
496
519
|
* @param BatchDetectLanguageTextClassificationRequest
|
|
497
520
|
* @return BatchDetectLanguageTextClassificationResponse
|
|
498
521
|
* @throws OciError when an error occurs
|
|
499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
522
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchDetectLanguageTextClassification.ts.html |here} to see how to use BatchDetectLanguageTextClassification API.
|
|
500
523
|
*/
|
|
501
524
|
batchDetectLanguageTextClassification(batchDetectLanguageTextClassificationRequest) {
|
|
502
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -559,7 +582,7 @@ class AIServiceLanguageClient {
|
|
|
559
582
|
* @param BatchLanguageTranslationRequest
|
|
560
583
|
* @return BatchLanguageTranslationResponse
|
|
561
584
|
* @throws OciError when an error occurs
|
|
562
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
585
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/BatchLanguageTranslation.ts.html |here} to see how to use BatchLanguageTranslation API.
|
|
563
586
|
*/
|
|
564
587
|
batchLanguageTranslation(batchLanguageTranslationRequest) {
|
|
565
588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -616,7 +639,7 @@ class AIServiceLanguageClient {
|
|
|
616
639
|
* @param ChangeEndpointCompartmentRequest
|
|
617
640
|
* @return ChangeEndpointCompartmentResponse
|
|
618
641
|
* @throws OciError when an error occurs
|
|
619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ChangeEndpointCompartment.ts.html |here} to see how to use ChangeEndpointCompartment API.
|
|
620
643
|
*/
|
|
621
644
|
changeEndpointCompartment(changeEndpointCompartmentRequest) {
|
|
622
645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -673,7 +696,7 @@ class AIServiceLanguageClient {
|
|
|
673
696
|
* @param ChangeModelCompartmentRequest
|
|
674
697
|
* @return ChangeModelCompartmentResponse
|
|
675
698
|
* @throws OciError when an error occurs
|
|
676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
699
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
677
700
|
*/
|
|
678
701
|
changeModelCompartment(changeModelCompartmentRequest) {
|
|
679
702
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -730,7 +753,7 @@ class AIServiceLanguageClient {
|
|
|
730
753
|
* @param ChangeProjectCompartmentRequest
|
|
731
754
|
* @return ChangeProjectCompartmentResponse
|
|
732
755
|
* @throws OciError when an error occurs
|
|
733
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
756
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
734
757
|
*/
|
|
735
758
|
changeProjectCompartment(changeProjectCompartmentRequest) {
|
|
736
759
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -788,7 +811,7 @@ class AIServiceLanguageClient {
|
|
|
788
811
|
* @param CreateEndpointRequest
|
|
789
812
|
* @return CreateEndpointResponse
|
|
790
813
|
* @throws OciError when an error occurs
|
|
791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/CreateEndpoint.ts.html |here} to see how to use CreateEndpoint API.
|
|
792
815
|
*/
|
|
793
816
|
createEndpoint(createEndpointRequest) {
|
|
794
817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -862,7 +885,7 @@ class AIServiceLanguageClient {
|
|
|
862
885
|
* @param CreateModelRequest
|
|
863
886
|
* @return CreateModelResponse
|
|
864
887
|
* @throws OciError when an error occurs
|
|
865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
866
889
|
*/
|
|
867
890
|
createModel(createModelRequest) {
|
|
868
891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -936,7 +959,7 @@ class AIServiceLanguageClient {
|
|
|
936
959
|
* @param CreateProjectRequest
|
|
937
960
|
* @return CreateProjectResponse
|
|
938
961
|
* @throws OciError when an error occurs
|
|
939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
962
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
940
963
|
*/
|
|
941
964
|
createProject(createProjectRequest) {
|
|
942
965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1004,7 +1027,7 @@ class AIServiceLanguageClient {
|
|
|
1004
1027
|
* @param DeleteEndpointRequest
|
|
1005
1028
|
* @return DeleteEndpointResponse
|
|
1006
1029
|
* @throws OciError when an error occurs
|
|
1007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1030
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DeleteEndpoint.ts.html |here} to see how to use DeleteEndpoint API.
|
|
1008
1031
|
*/
|
|
1009
1032
|
deleteEndpoint(deleteEndpointRequest) {
|
|
1010
1033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1064,7 +1087,7 @@ class AIServiceLanguageClient {
|
|
|
1064
1087
|
* @param DeleteModelRequest
|
|
1065
1088
|
* @return DeleteModelResponse
|
|
1066
1089
|
* @throws OciError when an error occurs
|
|
1067
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1090
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
1068
1091
|
*/
|
|
1069
1092
|
deleteModel(deleteModelRequest) {
|
|
1070
1093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1124,7 +1147,7 @@ class AIServiceLanguageClient {
|
|
|
1124
1147
|
* @param DeleteProjectRequest
|
|
1125
1148
|
* @return DeleteProjectResponse
|
|
1126
1149
|
* @throws OciError when an error occurs
|
|
1127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1150
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
1128
1151
|
*/
|
|
1129
1152
|
deleteProject(deleteProjectRequest) {
|
|
1130
1153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1191,7 +1214,7 @@ class AIServiceLanguageClient {
|
|
|
1191
1214
|
* @param DetectDominantLanguageRequest
|
|
1192
1215
|
* @return DetectDominantLanguageResponse
|
|
1193
1216
|
* @throws OciError when an error occurs
|
|
1194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DetectDominantLanguage.ts.html |here} to see how to use DetectDominantLanguage API.
|
|
1195
1218
|
*/
|
|
1196
1219
|
detectDominantLanguage(detectDominantLanguageRequest) {
|
|
1197
1220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1258,7 +1281,7 @@ class AIServiceLanguageClient {
|
|
|
1258
1281
|
* @param DetectLanguageEntitiesRequest
|
|
1259
1282
|
* @return DetectLanguageEntitiesResponse
|
|
1260
1283
|
* @throws OciError when an error occurs
|
|
1261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DetectLanguageEntities.ts.html |here} to see how to use DetectLanguageEntities API.
|
|
1262
1285
|
*/
|
|
1263
1286
|
detectLanguageEntities(detectLanguageEntitiesRequest) {
|
|
1264
1287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1328,7 +1351,7 @@ class AIServiceLanguageClient {
|
|
|
1328
1351
|
* @param DetectLanguageKeyPhrasesRequest
|
|
1329
1352
|
* @return DetectLanguageKeyPhrasesResponse
|
|
1330
1353
|
* @throws OciError when an error occurs
|
|
1331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1354
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DetectLanguageKeyPhrases.ts.html |here} to see how to use DetectLanguageKeyPhrases API.
|
|
1332
1355
|
*/
|
|
1333
1356
|
detectLanguageKeyPhrases(detectLanguageKeyPhrasesRequest) {
|
|
1334
1357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1401,7 +1424,7 @@ class AIServiceLanguageClient {
|
|
|
1401
1424
|
* @param DetectLanguageSentimentsRequest
|
|
1402
1425
|
* @return DetectLanguageSentimentsResponse
|
|
1403
1426
|
* @throws OciError when an error occurs
|
|
1404
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1427
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DetectLanguageSentiments.ts.html |here} to see how to use DetectLanguageSentiments API.
|
|
1405
1428
|
*/
|
|
1406
1429
|
detectLanguageSentiments(detectLanguageSentimentsRequest) {
|
|
1407
1430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1470,7 +1493,7 @@ class AIServiceLanguageClient {
|
|
|
1470
1493
|
* @param DetectLanguageTextClassificationRequest
|
|
1471
1494
|
* @return DetectLanguageTextClassificationResponse
|
|
1472
1495
|
* @throws OciError when an error occurs
|
|
1473
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1496
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/DetectLanguageTextClassification.ts.html |here} to see how to use DetectLanguageTextClassification API.
|
|
1474
1497
|
*/
|
|
1475
1498
|
detectLanguageTextClassification(detectLanguageTextClassificationRequest) {
|
|
1476
1499
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1532,7 +1555,7 @@ class AIServiceLanguageClient {
|
|
|
1532
1555
|
* @param GetEndpointRequest
|
|
1533
1556
|
* @return GetEndpointResponse
|
|
1534
1557
|
* @throws OciError when an error occurs
|
|
1535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1558
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/GetEndpoint.ts.html |here} to see how to use GetEndpoint API.
|
|
1536
1559
|
*/
|
|
1537
1560
|
getEndpoint(getEndpointRequest) {
|
|
1538
1561
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1595,7 +1618,7 @@ class AIServiceLanguageClient {
|
|
|
1595
1618
|
* @param GetModelRequest
|
|
1596
1619
|
* @return GetModelResponse
|
|
1597
1620
|
* @throws OciError when an error occurs
|
|
1598
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/GetModel.ts.html |here} to see how to use GetModel API.
|
|
1599
1622
|
*/
|
|
1600
1623
|
getModel(getModelRequest) {
|
|
1601
1624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1658,7 +1681,7 @@ class AIServiceLanguageClient {
|
|
|
1658
1681
|
* @param GetProjectRequest
|
|
1659
1682
|
* @return GetProjectResponse
|
|
1660
1683
|
* @throws OciError when an error occurs
|
|
1661
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1684
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/GetProject.ts.html |here} to see how to use GetProject API.
|
|
1662
1685
|
*/
|
|
1663
1686
|
getProject(getProjectRequest) {
|
|
1664
1687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1721,7 +1744,7 @@ class AIServiceLanguageClient {
|
|
|
1721
1744
|
* @param GetWorkRequestRequest
|
|
1722
1745
|
* @return GetWorkRequestResponse
|
|
1723
1746
|
* @throws OciError when an error occurs
|
|
1724
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1725
1748
|
*/
|
|
1726
1749
|
getWorkRequest(getWorkRequestRequest) {
|
|
1727
1750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1785,7 +1808,7 @@ class AIServiceLanguageClient {
|
|
|
1785
1808
|
* @param ListEndpointsRequest
|
|
1786
1809
|
* @return ListEndpointsResponse
|
|
1787
1810
|
* @throws OciError when an error occurs
|
|
1788
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListEndpoints.ts.html |here} to see how to use ListEndpoints API.
|
|
1789
1812
|
*/
|
|
1790
1813
|
listEndpoints(listEndpointsRequest) {
|
|
1791
1814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1857,7 +1880,7 @@ class AIServiceLanguageClient {
|
|
|
1857
1880
|
* @param ListEvaluationResultsRequest
|
|
1858
1881
|
* @return ListEvaluationResultsResponse
|
|
1859
1882
|
* @throws OciError when an error occurs
|
|
1860
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1883
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListEvaluationResults.ts.html |here} to see how to use ListEvaluationResults API.
|
|
1861
1884
|
*/
|
|
1862
1885
|
listEvaluationResults(listEvaluationResultsRequest) {
|
|
1863
1886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1924,7 +1947,7 @@ class AIServiceLanguageClient {
|
|
|
1924
1947
|
* @param ListModelsRequest
|
|
1925
1948
|
* @return ListModelsResponse
|
|
1926
1949
|
* @throws OciError when an error occurs
|
|
1927
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListModels.ts.html |here} to see how to use ListModels API.
|
|
1928
1951
|
*/
|
|
1929
1952
|
listModels(listModelsRequest) {
|
|
1930
1953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1996,7 +2019,7 @@ class AIServiceLanguageClient {
|
|
|
1996
2019
|
* @param ListProjectsRequest
|
|
1997
2020
|
* @return ListProjectsResponse
|
|
1998
2021
|
* @throws OciError when an error occurs
|
|
1999
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2022
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
2000
2023
|
*/
|
|
2001
2024
|
listProjects(listProjectsRequest) {
|
|
2002
2025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2067,7 +2090,7 @@ class AIServiceLanguageClient {
|
|
|
2067
2090
|
* @param ListWorkRequestErrorsRequest
|
|
2068
2091
|
* @return ListWorkRequestErrorsResponse
|
|
2069
2092
|
* @throws OciError when an error occurs
|
|
2070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2071
2094
|
*/
|
|
2072
2095
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2073
2096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2136,7 +2159,7 @@ class AIServiceLanguageClient {
|
|
|
2136
2159
|
* @param ListWorkRequestLogsRequest
|
|
2137
2160
|
* @return ListWorkRequestLogsResponse
|
|
2138
2161
|
* @throws OciError when an error occurs
|
|
2139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2140
2163
|
*/
|
|
2141
2164
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2142
2165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2205,7 +2228,7 @@ class AIServiceLanguageClient {
|
|
|
2205
2228
|
* @param ListWorkRequestsRequest
|
|
2206
2229
|
* @return ListWorkRequestsResponse
|
|
2207
2230
|
* @throws OciError when an error occurs
|
|
2208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2209
2232
|
*/
|
|
2210
2233
|
listWorkRequests(listWorkRequestsRequest) {
|
|
2211
2234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2274,7 +2297,7 @@ class AIServiceLanguageClient {
|
|
|
2274
2297
|
* @param UpdateEndpointRequest
|
|
2275
2298
|
* @return UpdateEndpointResponse
|
|
2276
2299
|
* @throws OciError when an error occurs
|
|
2277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2300
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/UpdateEndpoint.ts.html |here} to see how to use UpdateEndpoint API.
|
|
2278
2301
|
*/
|
|
2279
2302
|
updateEndpoint(updateEndpointRequest) {
|
|
2280
2303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2335,7 +2358,7 @@ class AIServiceLanguageClient {
|
|
|
2335
2358
|
* @param UpdateModelRequest
|
|
2336
2359
|
* @return UpdateModelResponse
|
|
2337
2360
|
* @throws OciError when an error occurs
|
|
2338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
2339
2362
|
*/
|
|
2340
2363
|
updateModel(updateModelRequest) {
|
|
2341
2364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2396,7 +2419,7 @@ class AIServiceLanguageClient {
|
|
|
2396
2419
|
* @param UpdateProjectRequest
|
|
2397
2420
|
* @return UpdateProjectResponse
|
|
2398
2421
|
* @throws OciError when an error occurs
|
|
2399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2422
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/ailanguage/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
2400
2423
|
*/
|
|
2401
2424
|
updateProject(updateProjectRequest) {
|
|
2402
2425
|
return __awaiter(this, void 0, void 0, function* () {
|