oci-ailanguage 2.102.2 → 2.104.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 +56 -56
- package/lib/client.js +56 -56
- package/lib/model/batch-detect-dominant-language-details.d.ts +1 -1
- package/lib/model/batch-detect-language-entities-details.d.ts +1 -1
- package/lib/model/batch-detect-language-key-phrases-details.d.ts +1 -1
- package/lib/model/batch-detect-language-pii-entities-details.d.ts +1 -1
- package/lib/model/batch-detect-language-sentiments-details.d.ts +1 -1
- package/lib/model/batch-detect-language-text-classification-details.d.ts +1 -1
- package/lib/model/batch-language-translation-details.d.ts +1 -1
- package/lib/model/change-endpoint-compartment-details.d.ts +1 -1
- package/lib/model/change-job-compartment-details.d.ts +1 -1
- package/lib/model/change-model-compartment-details.d.ts +1 -1
- package/lib/model/change-project-compartment-details.d.ts +1 -1
- package/lib/model/create-endpoint-details.d.ts +2 -2
- package/lib/model/create-job-details.d.ts +1 -1
- package/lib/model/create-model-details.d.ts +2 -2
- package/lib/model/create-project-details.d.ts +1 -1
- package/lib/model/endpoint-summary.d.ts +3 -3
- package/lib/model/endpoint.d.ts +3 -3
- package/lib/model/health-entity-document-result.d.ts +1 -1
- package/lib/model/job-summary.d.ts +3 -3
- package/lib/model/job.d.ts +3 -3
- package/lib/model/model-summary.d.ts +2 -2
- package/lib/model/model.d.ts +2 -2
- package/lib/model/pre-deployed-language-models.d.ts +1 -1
- package/lib/model/project-summary.d.ts +1 -1
- package/lib/model/project.d.ts +1 -1
- package/lib/model/text-document.d.ts +1 -1
- package/lib/model/update-endpoint-details.d.ts +1 -1
- package/lib/model/work-request-error.d.ts +1 -1
- package/lib/model/work-request-summary.d.ts +1 -1
- package/lib/model/work-request.d.ts +1 -1
- package/lib/request/batch-detect-dominant-language-request.d.ts +1 -1
- package/lib/request/batch-detect-health-entity-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/cancel-job-request.d.ts +1 -1
- package/lib/request/change-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-job-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-job-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-job-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-job-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-model-type-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-jobs-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-job-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.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export declare class AIServiceLanguageClient {
|
|
|
100
100
|
/**
|
|
101
101
|
* The API returns the detected language and a related confidence score (between 0 and 1). It supports passing a batch of records.
|
|
102
102
|
* <p>
|
|
103
|
-
[List of supported languages.](https://docs.
|
|
103
|
+
[List of supported languages.](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
|
|
104
104
|
* <p>
|
|
105
105
|
Limitations:
|
|
106
106
|
* - A batch may have up to 100 records.
|
|
@@ -111,7 +111,7 @@ export declare class AIServiceLanguageClient {
|
|
|
111
111
|
* @param BatchDetectDominantLanguageRequest
|
|
112
112
|
* @return BatchDetectDominantLanguageResponse
|
|
113
113
|
* @throws OciError when an error occurs
|
|
114
|
-
* @example Click {@link https://docs.
|
|
114
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguage API.
|
|
115
115
|
*/
|
|
116
116
|
batchDetectDominantLanguage(batchDetectDominantLanguageRequest: requests.BatchDetectDominantLanguageRequest): Promise<responses.BatchDetectDominantLanguageResponse>;
|
|
117
117
|
/**
|
|
@@ -126,13 +126,13 @@ export declare class AIServiceLanguageClient {
|
|
|
126
126
|
* @param BatchDetectHealthEntityRequest
|
|
127
127
|
* @return BatchDetectHealthEntityResponse
|
|
128
128
|
* @throws OciError when an error occurs
|
|
129
|
-
* @example Click {@link https://docs.
|
|
129
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectHealthEntity.ts.html |here} to see how to use BatchDetectHealthEntity API.
|
|
130
130
|
*/
|
|
131
131
|
batchDetectHealthEntity(batchDetectHealthEntityRequest: requests.BatchDetectHealthEntityRequest): Promise<responses.BatchDetectHealthEntityResponse>;
|
|
132
132
|
/**
|
|
133
133
|
* The API extracts entities in text records. For each entity, its type/subtype and confidence score (between 0 and 1) is returned. It supports passing a batch of records.
|
|
134
134
|
* <p>
|
|
135
|
-
[List of supported entities.](https://docs.
|
|
135
|
+
[List of supported entities.](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#ner__sup-ner-entity)
|
|
136
136
|
* <p>
|
|
137
137
|
Limitations:
|
|
138
138
|
* - A batch may have up to 100 records.
|
|
@@ -143,7 +143,7 @@ export declare class AIServiceLanguageClient {
|
|
|
143
143
|
* @param BatchDetectLanguageEntitiesRequest
|
|
144
144
|
* @return BatchDetectLanguageEntitiesResponse
|
|
145
145
|
* @throws OciError when an error occurs
|
|
146
|
-
* @example Click {@link https://docs.
|
|
146
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntities API.
|
|
147
147
|
*/
|
|
148
148
|
batchDetectLanguageEntities(batchDetectLanguageEntitiesRequest: requests.BatchDetectLanguageEntitiesRequest): Promise<responses.BatchDetectLanguageEntitiesResponse>;
|
|
149
149
|
/**
|
|
@@ -158,7 +158,7 @@ export declare class AIServiceLanguageClient {
|
|
|
158
158
|
* @param BatchDetectLanguageKeyPhrasesRequest
|
|
159
159
|
* @return BatchDetectLanguageKeyPhrasesResponse
|
|
160
160
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.
|
|
161
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrases API.
|
|
162
162
|
*/
|
|
163
163
|
batchDetectLanguageKeyPhrases(batchDetectLanguageKeyPhrasesRequest: requests.BatchDetectLanguageKeyPhrasesRequest): Promise<responses.BatchDetectLanguageKeyPhrasesResponse>;
|
|
164
164
|
/**
|
|
@@ -173,7 +173,7 @@ export declare class AIServiceLanguageClient {
|
|
|
173
173
|
* @param BatchDetectLanguagePiiEntitiesRequest
|
|
174
174
|
* @return BatchDetectLanguagePiiEntitiesResponse
|
|
175
175
|
* @throws OciError when an error occurs
|
|
176
|
-
* @example Click {@link https://docs.
|
|
176
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectLanguagePiiEntities.ts.html |here} to see how to use BatchDetectLanguagePiiEntities API.
|
|
177
177
|
*/
|
|
178
178
|
batchDetectLanguagePiiEntities(batchDetectLanguagePiiEntitiesRequest: requests.BatchDetectLanguagePiiEntitiesRequest): Promise<responses.BatchDetectLanguagePiiEntitiesResponse>;
|
|
179
179
|
/**
|
|
@@ -183,7 +183,7 @@ export declare class AIServiceLanguageClient {
|
|
|
183
183
|
* <p>
|
|
184
184
|
For sentiment analysis, confidence scores are provided for each of the classes (positive, negative, neutral and mixed).
|
|
185
185
|
* <p>
|
|
186
|
-
Learn more about sentiment analysis [here](https://docs.
|
|
186
|
+
Learn more about sentiment analysis [here](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#sentiment).
|
|
187
187
|
* <p>
|
|
188
188
|
Limitations:
|
|
189
189
|
* - A batch may have up to 100 records.
|
|
@@ -194,7 +194,7 @@ export declare class AIServiceLanguageClient {
|
|
|
194
194
|
* @param BatchDetectLanguageSentimentsRequest
|
|
195
195
|
* @return BatchDetectLanguageSentimentsResponse
|
|
196
196
|
* @throws OciError when an error occurs
|
|
197
|
-
* @example Click {@link https://docs.
|
|
197
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectLanguageSentiments.ts.html |here} to see how to use BatchDetectLanguageSentiments API.
|
|
198
198
|
*/
|
|
199
199
|
batchDetectLanguageSentiments(batchDetectLanguageSentimentsRequest: requests.BatchDetectLanguageSentimentsRequest): Promise<responses.BatchDetectLanguageSentimentsResponse>;
|
|
200
200
|
/**
|
|
@@ -202,7 +202,7 @@ export declare class AIServiceLanguageClient {
|
|
|
202
202
|
* <p>
|
|
203
203
|
It supports passing a batch of records.
|
|
204
204
|
* <p>
|
|
205
|
-
Learn more about text classification [here](https://docs.
|
|
205
|
+
Learn more about text classification [here](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#text-class).
|
|
206
206
|
* <p>
|
|
207
207
|
Limitations:
|
|
208
208
|
* - A batch may have up to 100 records.
|
|
@@ -213,7 +213,7 @@ export declare class AIServiceLanguageClient {
|
|
|
213
213
|
* @param BatchDetectLanguageTextClassificationRequest
|
|
214
214
|
* @return BatchDetectLanguageTextClassificationResponse
|
|
215
215
|
* @throws OciError when an error occurs
|
|
216
|
-
* @example Click {@link https://docs.
|
|
216
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectLanguageTextClassification.ts.html |here} to see how to use BatchDetectLanguageTextClassification API.
|
|
217
217
|
*/
|
|
218
218
|
batchDetectLanguageTextClassification(batchDetectLanguageTextClassificationRequest: requests.BatchDetectLanguageTextClassificationRequest): Promise<responses.BatchDetectLanguageTextClassificationResponse>;
|
|
219
219
|
/**
|
|
@@ -227,7 +227,7 @@ export declare class AIServiceLanguageClient {
|
|
|
227
227
|
* @param BatchLanguageTranslationRequest
|
|
228
228
|
* @return BatchLanguageTranslationResponse
|
|
229
229
|
* @throws OciError when an error occurs
|
|
230
|
-
* @example Click {@link https://docs.
|
|
230
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchLanguageTranslation.ts.html |here} to see how to use BatchLanguageTranslation API.
|
|
231
231
|
*/
|
|
232
232
|
batchLanguageTranslation(batchLanguageTranslationRequest: requests.BatchLanguageTranslationRequest): Promise<responses.BatchLanguageTranslationResponse>;
|
|
233
233
|
/**
|
|
@@ -236,7 +236,7 @@ export declare class AIServiceLanguageClient {
|
|
|
236
236
|
* @param CancelJobRequest
|
|
237
237
|
* @return CancelJobResponse
|
|
238
238
|
* @throws OciError when an error occurs
|
|
239
|
-
* @example Click {@link https://docs.
|
|
239
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/CancelJob.ts.html |here} to see how to use CancelJob API.
|
|
240
240
|
*/
|
|
241
241
|
cancelJob(cancelJobRequest: requests.CancelJobRequest): Promise<responses.CancelJobResponse>;
|
|
242
242
|
/**
|
|
@@ -245,7 +245,7 @@ export declare class AIServiceLanguageClient {
|
|
|
245
245
|
* @param ChangeEndpointCompartmentRequest
|
|
246
246
|
* @return ChangeEndpointCompartmentResponse
|
|
247
247
|
* @throws OciError when an error occurs
|
|
248
|
-
* @example Click {@link https://docs.
|
|
248
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ChangeEndpointCompartment.ts.html |here} to see how to use ChangeEndpointCompartment API.
|
|
249
249
|
*/
|
|
250
250
|
changeEndpointCompartment(changeEndpointCompartmentRequest: requests.ChangeEndpointCompartmentRequest): Promise<responses.ChangeEndpointCompartmentResponse>;
|
|
251
251
|
/**
|
|
@@ -254,7 +254,7 @@ export declare class AIServiceLanguageClient {
|
|
|
254
254
|
* @param ChangeJobCompartmentRequest
|
|
255
255
|
* @return ChangeJobCompartmentResponse
|
|
256
256
|
* @throws OciError when an error occurs
|
|
257
|
-
* @example Click {@link https://docs.
|
|
257
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
|
|
258
258
|
*/
|
|
259
259
|
changeJobCompartment(changeJobCompartmentRequest: requests.ChangeJobCompartmentRequest): Promise<responses.ChangeJobCompartmentResponse>;
|
|
260
260
|
/**
|
|
@@ -263,7 +263,7 @@ export declare class AIServiceLanguageClient {
|
|
|
263
263
|
* @param ChangeModelCompartmentRequest
|
|
264
264
|
* @return ChangeModelCompartmentResponse
|
|
265
265
|
* @throws OciError when an error occurs
|
|
266
|
-
* @example Click {@link https://docs.
|
|
266
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API.
|
|
267
267
|
*/
|
|
268
268
|
changeModelCompartment(changeModelCompartmentRequest: requests.ChangeModelCompartmentRequest): Promise<responses.ChangeModelCompartmentResponse>;
|
|
269
269
|
/**
|
|
@@ -272,7 +272,7 @@ export declare class AIServiceLanguageClient {
|
|
|
272
272
|
* @param ChangeProjectCompartmentRequest
|
|
273
273
|
* @return ChangeProjectCompartmentResponse
|
|
274
274
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.
|
|
275
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API.
|
|
276
276
|
*/
|
|
277
277
|
changeProjectCompartment(changeProjectCompartmentRequest: requests.ChangeProjectCompartmentRequest): Promise<responses.ChangeProjectCompartmentResponse>;
|
|
278
278
|
/**
|
|
@@ -282,7 +282,7 @@ export declare class AIServiceLanguageClient {
|
|
|
282
282
|
* @param CreateEndpointRequest
|
|
283
283
|
* @return CreateEndpointResponse
|
|
284
284
|
* @throws OciError when an error occurs
|
|
285
|
-
* @example Click {@link https://docs.
|
|
285
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/CreateEndpoint.ts.html |here} to see how to use CreateEndpoint API.
|
|
286
286
|
*/
|
|
287
287
|
createEndpoint(createEndpointRequest: requests.CreateEndpointRequest): Promise<responses.CreateEndpointResponse>;
|
|
288
288
|
/**
|
|
@@ -292,7 +292,7 @@ export declare class AIServiceLanguageClient {
|
|
|
292
292
|
* @param CreateJobRequest
|
|
293
293
|
* @return CreateJobResponse
|
|
294
294
|
* @throws OciError when an error occurs
|
|
295
|
-
* @example Click {@link https://docs.
|
|
295
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/CreateJob.ts.html |here} to see how to use CreateJob API.
|
|
296
296
|
*/
|
|
297
297
|
createJob(createJobRequest: requests.CreateJobRequest): Promise<responses.CreateJobResponse>;
|
|
298
298
|
/**
|
|
@@ -302,7 +302,7 @@ export declare class AIServiceLanguageClient {
|
|
|
302
302
|
* @param CreateModelRequest
|
|
303
303
|
* @return CreateModelResponse
|
|
304
304
|
* @throws OciError when an error occurs
|
|
305
|
-
* @example Click {@link https://docs.
|
|
305
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/CreateModel.ts.html |here} to see how to use CreateModel API.
|
|
306
306
|
*/
|
|
307
307
|
createModel(createModelRequest: requests.CreateModelRequest): Promise<responses.CreateModelResponse>;
|
|
308
308
|
/**
|
|
@@ -312,7 +312,7 @@ export declare class AIServiceLanguageClient {
|
|
|
312
312
|
* @param CreateProjectRequest
|
|
313
313
|
* @return CreateProjectResponse
|
|
314
314
|
* @throws OciError when an error occurs
|
|
315
|
-
* @example Click {@link https://docs.
|
|
315
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/CreateProject.ts.html |here} to see how to use CreateProject API.
|
|
316
316
|
*/
|
|
317
317
|
createProject(createProjectRequest: requests.CreateProjectRequest): Promise<responses.CreateProjectResponse>;
|
|
318
318
|
/**
|
|
@@ -321,7 +321,7 @@ export declare class AIServiceLanguageClient {
|
|
|
321
321
|
* @param DeleteEndpointRequest
|
|
322
322
|
* @return DeleteEndpointResponse
|
|
323
323
|
* @throws OciError when an error occurs
|
|
324
|
-
* @example Click {@link https://docs.
|
|
324
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DeleteEndpoint.ts.html |here} to see how to use DeleteEndpoint API.
|
|
325
325
|
*/
|
|
326
326
|
deleteEndpoint(deleteEndpointRequest: requests.DeleteEndpointRequest): Promise<responses.DeleteEndpointResponse>;
|
|
327
327
|
/**
|
|
@@ -330,7 +330,7 @@ export declare class AIServiceLanguageClient {
|
|
|
330
330
|
* @param DeleteJobRequest
|
|
331
331
|
* @return DeleteJobResponse
|
|
332
332
|
* @throws OciError when an error occurs
|
|
333
|
-
* @example Click {@link https://docs.
|
|
333
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
334
334
|
*/
|
|
335
335
|
deleteJob(deleteJobRequest: requests.DeleteJobRequest): Promise<responses.DeleteJobResponse>;
|
|
336
336
|
/**
|
|
@@ -339,7 +339,7 @@ export declare class AIServiceLanguageClient {
|
|
|
339
339
|
* @param DeleteModelRequest
|
|
340
340
|
* @return DeleteModelResponse
|
|
341
341
|
* @throws OciError when an error occurs
|
|
342
|
-
* @example Click {@link https://docs.
|
|
342
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DeleteModel.ts.html |here} to see how to use DeleteModel API.
|
|
343
343
|
*/
|
|
344
344
|
deleteModel(deleteModelRequest: requests.DeleteModelRequest): Promise<responses.DeleteModelResponse>;
|
|
345
345
|
/**
|
|
@@ -348,16 +348,16 @@ export declare class AIServiceLanguageClient {
|
|
|
348
348
|
* @param DeleteProjectRequest
|
|
349
349
|
* @return DeleteProjectResponse
|
|
350
350
|
* @throws OciError when an error occurs
|
|
351
|
-
* @example Click {@link https://docs.
|
|
351
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DeleteProject.ts.html |here} to see how to use DeleteProject API.
|
|
352
352
|
*/
|
|
353
353
|
deleteProject(deleteProjectRequest: requests.DeleteProjectRequest): Promise<responses.DeleteProjectResponse>;
|
|
354
354
|
/**
|
|
355
355
|
* **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
|
|
356
|
-
* We recommend you replace this API with the batch API, [BatchDetectDominantLanguage](https://docs.
|
|
356
|
+
* We recommend you replace this API with the batch API, [BatchDetectDominantLanguage](https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectDominantLanguage/BatchDetectDominantLanguage).
|
|
357
357
|
* <p>
|
|
358
358
|
The DetectDominantLanguage API returns the detected language and a related confidence score (between 0 and 1).
|
|
359
359
|
* <p>
|
|
360
|
-
[List of supported languages](https://docs.
|
|
360
|
+
[List of supported languages](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#lang-detect)
|
|
361
361
|
* <p>
|
|
362
362
|
Limitations:
|
|
363
363
|
* - A record may be up to 1000 characters long.
|
|
@@ -366,12 +366,12 @@ export declare class AIServiceLanguageClient {
|
|
|
366
366
|
* @param DetectDominantLanguageRequest
|
|
367
367
|
* @return DetectDominantLanguageResponse
|
|
368
368
|
* @throws OciError when an error occurs
|
|
369
|
-
* @example Click {@link https://docs.
|
|
369
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DetectDominantLanguage.ts.html |here} to see how to use DetectDominantLanguage API.
|
|
370
370
|
*/
|
|
371
371
|
detectDominantLanguage(detectDominantLanguageRequest: requests.DetectDominantLanguageRequest): Promise<responses.DetectDominantLanguageResponse>;
|
|
372
372
|
/**
|
|
373
373
|
* **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
|
|
374
|
-
* We recommend you replace this API with the batch API, [BatchDetectLanguageEntities](https://docs.
|
|
374
|
+
* We recommend you replace this API with the batch API, [BatchDetectLanguageEntities](https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageEntities/BatchDetectLanguageEntities).
|
|
375
375
|
* <p>
|
|
376
376
|
The DetectLanguageEntities API extracts entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned.
|
|
377
377
|
* <p>
|
|
@@ -382,12 +382,12 @@ export declare class AIServiceLanguageClient {
|
|
|
382
382
|
* @param DetectLanguageEntitiesRequest
|
|
383
383
|
* @return DetectLanguageEntitiesResponse
|
|
384
384
|
* @throws OciError when an error occurs
|
|
385
|
-
* @example Click {@link https://docs.
|
|
385
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DetectLanguageEntities.ts.html |here} to see how to use DetectLanguageEntities API.
|
|
386
386
|
*/
|
|
387
387
|
detectLanguageEntities(detectLanguageEntitiesRequest: requests.DetectLanguageEntitiesRequest): Promise<responses.DetectLanguageEntitiesResponse>;
|
|
388
388
|
/**
|
|
389
389
|
* **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
|
|
390
|
-
* We recommend you replace this API with the batch API, [BatchDetectLanguageKeyPhrases](https://docs.
|
|
390
|
+
* We recommend you replace this API with the batch API, [BatchDetectLanguageKeyPhrases](https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageKeyPhrases/BatchDetectLanguageKeyPhrases).
|
|
391
391
|
* <p>
|
|
392
392
|
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.
|
|
393
393
|
* Limitations:
|
|
@@ -397,12 +397,12 @@ export declare class AIServiceLanguageClient {
|
|
|
397
397
|
* @param DetectLanguageKeyPhrasesRequest
|
|
398
398
|
* @return DetectLanguageKeyPhrasesResponse
|
|
399
399
|
* @throws OciError when an error occurs
|
|
400
|
-
* @example Click {@link https://docs.
|
|
400
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DetectLanguageKeyPhrases.ts.html |here} to see how to use DetectLanguageKeyPhrases API.
|
|
401
401
|
*/
|
|
402
402
|
detectLanguageKeyPhrases(detectLanguageKeyPhrasesRequest: requests.DetectLanguageKeyPhrasesRequest): Promise<responses.DetectLanguageKeyPhrasesResponse>;
|
|
403
403
|
/**
|
|
404
404
|
* **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
|
|
405
|
-
* We recommend you replace this API with the batch API, [BatchDetectLanguageSentiments](https://docs.
|
|
405
|
+
* We recommend you replace this API with the batch API, [BatchDetectLanguageSentiments](https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageSentiments/BatchDetectLanguageSentiments).
|
|
406
406
|
* <p>
|
|
407
407
|
The DetectLanguageSentiments API extracts aspect-based in text records.
|
|
408
408
|
* <p>
|
|
@@ -410,7 +410,7 @@ export declare class AIServiceLanguageClient {
|
|
|
410
410
|
* <p>
|
|
411
411
|
For sentiment analysis, confidence scores are provided for each of the classes (positive, negative, neutral).
|
|
412
412
|
* <p>
|
|
413
|
-
Learn more about sentiment analysis [here](https://docs.
|
|
413
|
+
Learn more about sentiment analysis [here](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#sentiment).
|
|
414
414
|
* <p>
|
|
415
415
|
Limitations:
|
|
416
416
|
* - A record may be up to 1000 characters long.
|
|
@@ -419,16 +419,16 @@ export declare class AIServiceLanguageClient {
|
|
|
419
419
|
* @param DetectLanguageSentimentsRequest
|
|
420
420
|
* @return DetectLanguageSentimentsResponse
|
|
421
421
|
* @throws OciError when an error occurs
|
|
422
|
-
* @example Click {@link https://docs.
|
|
422
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DetectLanguageSentiments.ts.html |here} to see how to use DetectLanguageSentiments API.
|
|
423
423
|
*/
|
|
424
424
|
detectLanguageSentiments(detectLanguageSentimentsRequest: requests.DetectLanguageSentimentsRequest): Promise<responses.DetectLanguageSentimentsResponse>;
|
|
425
425
|
/**
|
|
426
426
|
* **Deprecated**: This API will be retired Tuesday, 10 Oct 2023 00:00:00 GMT.
|
|
427
|
-
* We recommend you replace this API with the batch API, [BatchDetectLanguageTextClassification](https://docs.
|
|
427
|
+
* We recommend you replace this API with the batch API, [BatchDetectLanguageTextClassification](https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectLanguageTextClassification/BatchDetectLanguageTextClassification).
|
|
428
428
|
* <p>
|
|
429
429
|
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.
|
|
430
430
|
* <p>
|
|
431
|
-
Learn more about text classification [here](https://docs.
|
|
431
|
+
Learn more about text classification [here](https://docs.oracle.com/iaas/language/using/pretrain-models.htm#text-class).
|
|
432
432
|
* <p>
|
|
433
433
|
Limitations:
|
|
434
434
|
* - A record may be up to 1000 characters long.
|
|
@@ -437,7 +437,7 @@ export declare class AIServiceLanguageClient {
|
|
|
437
437
|
* @param DetectLanguageTextClassificationRequest
|
|
438
438
|
* @return DetectLanguageTextClassificationResponse
|
|
439
439
|
* @throws OciError when an error occurs
|
|
440
|
-
* @example Click {@link https://docs.
|
|
440
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/DetectLanguageTextClassification.ts.html |here} to see how to use DetectLanguageTextClassification API.
|
|
441
441
|
*/
|
|
442
442
|
detectLanguageTextClassification(detectLanguageTextClassificationRequest: requests.DetectLanguageTextClassificationRequest): Promise<responses.DetectLanguageTextClassificationResponse>;
|
|
443
443
|
/**
|
|
@@ -446,7 +446,7 @@ export declare class AIServiceLanguageClient {
|
|
|
446
446
|
* @param GetEndpointRequest
|
|
447
447
|
* @return GetEndpointResponse
|
|
448
448
|
* @throws OciError when an error occurs
|
|
449
|
-
* @example Click {@link https://docs.
|
|
449
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/GetEndpoint.ts.html |here} to see how to use GetEndpoint API.
|
|
450
450
|
*/
|
|
451
451
|
getEndpoint(getEndpointRequest: requests.GetEndpointRequest): Promise<responses.GetEndpointResponse>;
|
|
452
452
|
/**
|
|
@@ -455,7 +455,7 @@ export declare class AIServiceLanguageClient {
|
|
|
455
455
|
* @param GetJobRequest
|
|
456
456
|
* @return GetJobResponse
|
|
457
457
|
* @throws OciError when an error occurs
|
|
458
|
-
* @example Click {@link https://docs.
|
|
458
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/GetJob.ts.html |here} to see how to use GetJob API.
|
|
459
459
|
*/
|
|
460
460
|
getJob(getJobRequest: requests.GetJobRequest): Promise<responses.GetJobResponse>;
|
|
461
461
|
/**
|
|
@@ -464,7 +464,7 @@ export declare class AIServiceLanguageClient {
|
|
|
464
464
|
* @param GetModelRequest
|
|
465
465
|
* @return GetModelResponse
|
|
466
466
|
* @throws OciError when an error occurs
|
|
467
|
-
* @example Click {@link https://docs.
|
|
467
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/GetModel.ts.html |here} to see how to use GetModel API.
|
|
468
468
|
*/
|
|
469
469
|
getModel(getModelRequest: requests.GetModelRequest): Promise<responses.GetModelResponse>;
|
|
470
470
|
/**
|
|
@@ -473,7 +473,7 @@ export declare class AIServiceLanguageClient {
|
|
|
473
473
|
* @param GetModelTypeRequest
|
|
474
474
|
* @return GetModelTypeResponse
|
|
475
475
|
* @throws OciError when an error occurs
|
|
476
|
-
* @example Click {@link https://docs.
|
|
476
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/GetModelType.ts.html |here} to see how to use GetModelType API.
|
|
477
477
|
*/
|
|
478
478
|
getModelType(getModelTypeRequest: requests.GetModelTypeRequest): Promise<responses.GetModelTypeResponse>;
|
|
479
479
|
/**
|
|
@@ -482,7 +482,7 @@ export declare class AIServiceLanguageClient {
|
|
|
482
482
|
* @param GetProjectRequest
|
|
483
483
|
* @return GetProjectResponse
|
|
484
484
|
* @throws OciError when an error occurs
|
|
485
|
-
* @example Click {@link https://docs.
|
|
485
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/GetProject.ts.html |here} to see how to use GetProject API.
|
|
486
486
|
*/
|
|
487
487
|
getProject(getProjectRequest: requests.GetProjectRequest): Promise<responses.GetProjectResponse>;
|
|
488
488
|
/**
|
|
@@ -491,7 +491,7 @@ export declare class AIServiceLanguageClient {
|
|
|
491
491
|
* @param GetWorkRequestRequest
|
|
492
492
|
* @return GetWorkRequestResponse
|
|
493
493
|
* @throws OciError when an error occurs
|
|
494
|
-
* @example Click {@link https://docs.
|
|
494
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
495
495
|
*/
|
|
496
496
|
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
|
|
497
497
|
/**
|
|
@@ -501,7 +501,7 @@ export declare class AIServiceLanguageClient {
|
|
|
501
501
|
* @param ListEndpointsRequest
|
|
502
502
|
* @return ListEndpointsResponse
|
|
503
503
|
* @throws OciError when an error occurs
|
|
504
|
-
* @example Click {@link https://docs.
|
|
504
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListEndpoints.ts.html |here} to see how to use ListEndpoints API.
|
|
505
505
|
*/
|
|
506
506
|
listEndpoints(listEndpointsRequest: requests.ListEndpointsRequest): Promise<responses.ListEndpointsResponse>;
|
|
507
507
|
/**
|
|
@@ -510,7 +510,7 @@ export declare class AIServiceLanguageClient {
|
|
|
510
510
|
* @param ListEvaluationResultsRequest
|
|
511
511
|
* @return ListEvaluationResultsResponse
|
|
512
512
|
* @throws OciError when an error occurs
|
|
513
|
-
* @example Click {@link https://docs.
|
|
513
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListEvaluationResults.ts.html |here} to see how to use ListEvaluationResults API.
|
|
514
514
|
*/
|
|
515
515
|
listEvaluationResults(listEvaluationResultsRequest: requests.ListEvaluationResultsRequest): Promise<responses.ListEvaluationResultsResponse>;
|
|
516
516
|
/**
|
|
@@ -520,7 +520,7 @@ export declare class AIServiceLanguageClient {
|
|
|
520
520
|
* @param ListJobsRequest
|
|
521
521
|
* @return ListJobsResponse
|
|
522
522
|
* @throws OciError when an error occurs
|
|
523
|
-
* @example Click {@link https://docs.
|
|
523
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
524
524
|
*/
|
|
525
525
|
listJobs(listJobsRequest: requests.ListJobsRequest): Promise<responses.ListJobsResponse>;
|
|
526
526
|
/**
|
|
@@ -530,7 +530,7 @@ export declare class AIServiceLanguageClient {
|
|
|
530
530
|
* @param ListModelsRequest
|
|
531
531
|
* @return ListModelsResponse
|
|
532
532
|
* @throws OciError when an error occurs
|
|
533
|
-
* @example Click {@link https://docs.
|
|
533
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListModels.ts.html |here} to see how to use ListModels API.
|
|
534
534
|
*/
|
|
535
535
|
listModels(listModelsRequest: requests.ListModelsRequest): Promise<responses.ListModelsResponse>;
|
|
536
536
|
/**
|
|
@@ -540,7 +540,7 @@ export declare class AIServiceLanguageClient {
|
|
|
540
540
|
* @param ListProjectsRequest
|
|
541
541
|
* @return ListProjectsResponse
|
|
542
542
|
* @throws OciError when an error occurs
|
|
543
|
-
* @example Click {@link https://docs.
|
|
543
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListProjects.ts.html |here} to see how to use ListProjects API.
|
|
544
544
|
*/
|
|
545
545
|
listProjects(listProjectsRequest: requests.ListProjectsRequest): Promise<responses.ListProjectsResponse>;
|
|
546
546
|
/**
|
|
@@ -550,7 +550,7 @@ export declare class AIServiceLanguageClient {
|
|
|
550
550
|
* @param ListWorkRequestErrorsRequest
|
|
551
551
|
* @return ListWorkRequestErrorsResponse
|
|
552
552
|
* @throws OciError when an error occurs
|
|
553
|
-
* @example Click {@link https://docs.
|
|
553
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
554
554
|
*/
|
|
555
555
|
listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
|
|
556
556
|
/**
|
|
@@ -560,7 +560,7 @@ export declare class AIServiceLanguageClient {
|
|
|
560
560
|
* @param ListWorkRequestLogsRequest
|
|
561
561
|
* @return ListWorkRequestLogsResponse
|
|
562
562
|
* @throws OciError when an error occurs
|
|
563
|
-
* @example Click {@link https://docs.
|
|
563
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
564
564
|
*/
|
|
565
565
|
listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
|
|
566
566
|
/**
|
|
@@ -570,7 +570,7 @@ export declare class AIServiceLanguageClient {
|
|
|
570
570
|
* @param ListWorkRequestsRequest
|
|
571
571
|
* @return ListWorkRequestsResponse
|
|
572
572
|
* @throws OciError when an error occurs
|
|
573
|
-
* @example Click {@link https://docs.
|
|
573
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
574
574
|
*/
|
|
575
575
|
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
|
|
576
576
|
/**
|
|
@@ -579,7 +579,7 @@ export declare class AIServiceLanguageClient {
|
|
|
579
579
|
* @param UpdateEndpointRequest
|
|
580
580
|
* @return UpdateEndpointResponse
|
|
581
581
|
* @throws OciError when an error occurs
|
|
582
|
-
* @example Click {@link https://docs.
|
|
582
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/UpdateEndpoint.ts.html |here} to see how to use UpdateEndpoint API.
|
|
583
583
|
*/
|
|
584
584
|
updateEndpoint(updateEndpointRequest: requests.UpdateEndpointRequest): Promise<responses.UpdateEndpointResponse>;
|
|
585
585
|
/**
|
|
@@ -588,7 +588,7 @@ export declare class AIServiceLanguageClient {
|
|
|
588
588
|
* @param UpdateJobRequest
|
|
589
589
|
* @return UpdateJobResponse
|
|
590
590
|
* @throws OciError when an error occurs
|
|
591
|
-
* @example Click {@link https://docs.
|
|
591
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
592
592
|
*/
|
|
593
593
|
updateJob(updateJobRequest: requests.UpdateJobRequest): Promise<responses.UpdateJobResponse>;
|
|
594
594
|
/**
|
|
@@ -597,7 +597,7 @@ export declare class AIServiceLanguageClient {
|
|
|
597
597
|
* @param UpdateModelRequest
|
|
598
598
|
* @return UpdateModelResponse
|
|
599
599
|
* @throws OciError when an error occurs
|
|
600
|
-
* @example Click {@link https://docs.
|
|
600
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/UpdateModel.ts.html |here} to see how to use UpdateModel API.
|
|
601
601
|
*/
|
|
602
602
|
updateModel(updateModelRequest: requests.UpdateModelRequest): Promise<responses.UpdateModelResponse>;
|
|
603
603
|
/**
|
|
@@ -606,7 +606,7 @@ export declare class AIServiceLanguageClient {
|
|
|
606
606
|
* @param UpdateProjectRequest
|
|
607
607
|
* @return UpdateProjectResponse
|
|
608
608
|
* @throws OciError when an error occurs
|
|
609
|
-
* @example Click {@link https://docs.
|
|
609
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/UpdateProject.ts.html |here} to see how to use UpdateProject API.
|
|
610
610
|
*/
|
|
611
611
|
updateProject(updateProjectRequest: requests.UpdateProjectRequest): Promise<responses.UpdateProjectResponse>;
|
|
612
612
|
}
|