Skip to content

Commit f8c6784

Browse files
Releasing version 2.84.2
1 parent b129bce commit f8c6784

File tree

396 files changed

+5395
-7073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

396 files changed

+5395
-7073
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
## 2.84.2 - 2024-04-16
7+
### Added
8+
- Support for calling Oracle Cloud Infrastructure services in the me-abudhabi-3 region
9+
- Support for new Image resource for an Autonomous Database in the Database service
10+
- Support for creating Autonomous Container Database using Autonomous Database Software Image in the Database service
11+
- Support for new dedicated AI cluster unit shape in the Generative AI service
12+
- Support for Chat API for LLM models in the Generative AI service
13+
- Support for network security groups (NSGs) in the Redis service
14+
- Support for custom public egress on model deployments in the Data Science service
15+
- Support for a new data transfer parameter for AWS S3 bucket in the Database Migration service
16+
- Support for Oracle Process Automation instance start and stop operations in the Process Automation service
17+
- Support for healthcare Natural Language Processing (NLP) in the AI Language service
18+
- Support for identification and de-identification of Private Health Information (PHI) service in the AI Language service
19+
- Support for multilingual content for using machine learning models in the AI Language service
20+
- Support for usage statements in cost management in the Usage service
21+
22+
623
## 2.84.1 - 2024-04-09
724
### Added
825
- Support for calling Oracle Cloud Infrastructure services in the ap-dcc-gazipur-1 region

index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ export import announcementsservice = require("oci-announcementsservice");
2424
// API Gateway Service
2525
export import apigateway = require("oci-apigateway");
2626

27-
// Application Migration Service
28-
export import applicationmigration = require("oci-applicationmigration");
29-
3027
// Audit Service
3128
export import audit = require("oci-audit");
3229

lib/accessgovernancecp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-accessgovernancecp",
3-
"version": "2.84.1",
3+
"version": "2.84.2",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.84.1",
3+
"version": "2.84.2",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

lib/aianomalydetection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.84.1",
3+
"version": "2.84.2",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aidocument",
3-
"version": "2.84.1",
3+
"version": "2.84.2",
44
"description": "OCI NodeJS client for Ai Document Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/lib/client.ts

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,87 @@ Limitations:
308308
}
309309
}
310310

311+
/**
312+
* The API extracts health entities in text records. For each entity, its type and confidence score (between 0 and 1) is returned. It supports passing a batch of records.
313+
* <p>
314+
Limitations:
315+
* - A batch may have up to 100 records.
316+
* - A record may be up to 5000 characters long.
317+
* - The total of characters to process in a request can be up to 20,000 characters.
318+
*
319+
* This operation does not retry by default if the user has not defined a retry configuration.
320+
* @param BatchDetectHealthEntityRequest
321+
* @return BatchDetectHealthEntityResponse
322+
* @throws OciError when an error occurs
323+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/ailanguage/BatchDetectHealthEntity.ts.html |here} to see how to use BatchDetectHealthEntity API.
324+
*/
325+
public async batchDetectHealthEntity(
326+
batchDetectHealthEntityRequest: requests.BatchDetectHealthEntityRequest
327+
): Promise<responses.BatchDetectHealthEntityResponse> {
328+
if (this.logger)
329+
this.logger.debug("Calling operation AIServiceLanguageClient#batchDetectHealthEntity.");
330+
const operationName = "batchDetectHealthEntity";
331+
const apiReferenceLink =
332+
"https://docs.oracle.com/iaas/api/#/en/language/20221001/BatchDetectHealthEntityDetails/BatchDetectHealthEntity";
333+
const pathParams = {};
334+
335+
const queryParams = {};
336+
337+
let headerParams = {
338+
"Content-Type": common.Constants.APPLICATION_JSON,
339+
"opc-request-id": batchDetectHealthEntityRequest.opcRequestId
340+
};
341+
342+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
343+
const retrier = GenericRetrier.createPreferredRetrier(
344+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
345+
batchDetectHealthEntityRequest.retryConfiguration,
346+
specRetryConfiguration
347+
);
348+
if (this.logger) retrier.logger = this.logger;
349+
const request = await composeRequest({
350+
baseEndpoint: this._endpoint,
351+
defaultHeaders: this._defaultHeaders,
352+
path: "/actions/batchDetectHealthEntities",
353+
method: "POST",
354+
bodyContent: common.ObjectSerializer.serialize(
355+
batchDetectHealthEntityRequest.batchDetectHealthEntityDetails,
356+
"BatchDetectHealthEntityDetails",
357+
model.BatchDetectHealthEntityDetails.getJsonObj
358+
),
359+
pathParams: pathParams,
360+
headerParams: headerParams,
361+
queryParams: queryParams
362+
});
363+
try {
364+
const response = await retrier.makeServiceCall(
365+
this._httpClient,
366+
request,
367+
this.targetService,
368+
operationName,
369+
apiReferenceLink
370+
);
371+
const sdkResponse = composeResponse({
372+
responseObject: <responses.BatchDetectHealthEntityResponse>{},
373+
body: await response.json(),
374+
bodyKey: "batchDetectHealthEntityResult",
375+
bodyModel: model.BatchDetectHealthEntityResult,
376+
type: "model.BatchDetectHealthEntityResult",
377+
responseHeaders: [
378+
{
379+
value: response.headers.get("opc-request-id"),
380+
key: "opcRequestId",
381+
dataType: "string"
382+
}
383+
]
384+
});
385+
386+
return sdkResponse;
387+
} catch (err) {
388+
throw err;
389+
}
390+
}
391+
311392
/**
312393
* 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.
313394
* <p>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* Language API
3+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
4+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
5+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
6+
7+
* OpenAPI spec version: 20221001
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15+
*/
16+
17+
import * as model from "../model";
18+
import common = require("oci-common");
19+
20+
/**
21+
* The assertion details for health ner.
22+
*/
23+
export interface AssertionDetails {
24+
/**
25+
* id of the relation
26+
*/
27+
"id": string;
28+
/**
29+
* type of assertion ex, Status, Certainty, Temporality, Actor, etc.
30+
*/
31+
"type": string;
32+
/**
33+
* Possible value for assertion type
34+
*/
35+
"value": string;
36+
/**
37+
* Score or confidence for health detected entity. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
38+
*/
39+
"score": number;
40+
}
41+
42+
export namespace AssertionDetails {
43+
export function getJsonObj(obj: AssertionDetails): object {
44+
const jsonObj = { ...obj, ...{} };
45+
46+
return jsonObj;
47+
}
48+
export function getDeserializedJsonObj(obj: AssertionDetails): object {
49+
const jsonObj = { ...obj, ...{} };
50+
51+
return jsonObj;
52+
}
53+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/**
2+
* Language API
3+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
4+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
5+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
6+
7+
* OpenAPI spec version: 20221001
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15+
*/
16+
17+
import * as model from "../model";
18+
import common = require("oci-common");
19+
20+
/**
21+
* The documents details for health entities detect call.
22+
*/
23+
export interface BatchDetectHealthEntityDetails {
24+
/**
25+
* The endpoint which have to be used for inferencing.
26+
*/
27+
"endpointId": string;
28+
/**
29+
* List of Documents for detect health entities.
30+
*/
31+
"documents": Array<model.TextDocument>;
32+
/**
33+
* List of NLP health ontologies to be linked
34+
*/
35+
"linkOntologies"?: Array<string>;
36+
/**
37+
* is assertion on input text required. default value true.
38+
*/
39+
"isDetectAssertions"?: boolean;
40+
/**
41+
* is relationship on input text required. default value true.
42+
*/
43+
"isDetectRelationships"?: boolean;
44+
"profile"?: model.Profile;
45+
}
46+
47+
export namespace BatchDetectHealthEntityDetails {
48+
export function getJsonObj(obj: BatchDetectHealthEntityDetails): object {
49+
const jsonObj = {
50+
...obj,
51+
...{
52+
"documents": obj.documents
53+
? obj.documents.map(item => {
54+
return model.TextDocument.getJsonObj(item);
55+
})
56+
: undefined,
57+
58+
"profile": obj.profile ? model.Profile.getJsonObj(obj.profile) : undefined
59+
}
60+
};
61+
62+
return jsonObj;
63+
}
64+
export function getDeserializedJsonObj(obj: BatchDetectHealthEntityDetails): object {
65+
const jsonObj = {
66+
...obj,
67+
...{
68+
"documents": obj.documents
69+
? obj.documents.map(item => {
70+
return model.TextDocument.getDeserializedJsonObj(item);
71+
})
72+
: undefined,
73+
74+
"profile": obj.profile ? model.Profile.getDeserializedJsonObj(obj.profile) : undefined
75+
}
76+
};
77+
78+
return jsonObj;
79+
}
80+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
/**
2+
* Language API
3+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
4+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
5+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
6+
7+
* OpenAPI spec version: 20221001
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
14+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
15+
*/
16+
17+
import * as model from "../model";
18+
import common = require("oci-common");
19+
20+
/**
21+
* Result of health entity detect call.
22+
*/
23+
export interface BatchDetectHealthEntityResult {
24+
/**
25+
* List of succeeded document response.
26+
*/
27+
"documents": Array<model.HealthEntityDocumentResult>;
28+
/**
29+
* List of failed document response.
30+
*/
31+
"errors"?: Array<model.DocumentError>;
32+
}
33+
34+
export namespace BatchDetectHealthEntityResult {
35+
export function getJsonObj(obj: BatchDetectHealthEntityResult): object {
36+
const jsonObj = {
37+
...obj,
38+
...{
39+
"documents": obj.documents
40+
? obj.documents.map(item => {
41+
return model.HealthEntityDocumentResult.getJsonObj(item);
42+
})
43+
: undefined,
44+
"errors": obj.errors
45+
? obj.errors.map(item => {
46+
return model.DocumentError.getJsonObj(item);
47+
})
48+
: undefined
49+
}
50+
};
51+
52+
return jsonObj;
53+
}
54+
export function getDeserializedJsonObj(obj: BatchDetectHealthEntityResult): object {
55+
const jsonObj = {
56+
...obj,
57+
...{
58+
"documents": obj.documents
59+
? obj.documents.map(item => {
60+
return model.HealthEntityDocumentResult.getDeserializedJsonObj(item);
61+
})
62+
: undefined,
63+
"errors": obj.errors
64+
? obj.errors.map(item => {
65+
return model.DocumentError.getDeserializedJsonObj(item);
66+
})
67+
: undefined
68+
}
69+
};
70+
71+
return jsonObj;
72+
}
73+
}

lib/ailanguage/lib/model/batch-detect-language-pii-entities-details.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export interface BatchDetectLanguagePiiEntitiesDetails {
3737
* Mask recognized PII entities with different modes.
3838
*/
3939
"masking"?: { [key: string]: model.PiiEntityMasking };
40+
"profile"?: model.Profile;
4041
}
4142

4243
export namespace BatchDetectLanguagePiiEntitiesDetails {
@@ -51,7 +52,8 @@ export namespace BatchDetectLanguagePiiEntitiesDetails {
5152
: undefined,
5253
"masking": obj.masking
5354
? common.mapContainer(obj.masking, model.PiiEntityMasking.getJsonObj)
54-
: undefined
55+
: undefined,
56+
"profile": obj.profile ? model.Profile.getJsonObj(obj.profile) : undefined
5557
}
5658
};
5759

@@ -68,7 +70,8 @@ export namespace BatchDetectLanguagePiiEntitiesDetails {
6870
: undefined,
6971
"masking": obj.masking
7072
? common.mapContainer(obj.masking, model.PiiEntityMasking.getDeserializedJsonObj)
71-
: undefined
73+
: undefined,
74+
"profile": obj.profile ? model.Profile.getDeserializedJsonObj(obj.profile) : undefined
7275
}
7376
};
7477

lib/ailanguage/lib/model/create-model-details.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface CreateModelDetails {
4242
| model.PreTrainedHealthNluModelDetails
4343
| model.PreTrainedUniversalModel
4444
| model.NamedEntityRecognitionModelDetails
45+
| model.PiiModelDetails
4546
| model.PreTrainedLanguageDetectionModelDetails
4647
| model.PreTrainedNamedEntityRecognitionModelDetails
4748
| model.PreTrainedSentimentAnalysisModelDetails

0 commit comments

Comments
 (0)