oci-ailanguage 2.84.0 → 2.85.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 +62 -43
- package/lib/client.js +112 -43
- package/lib/client.js.map +1 -1
- package/lib/model/assertion-details.d.ts +40 -0
- package/lib/model/assertion-details.js +32 -0
- package/lib/model/assertion-details.js.map +1 -0
- package/lib/model/batch-detect-health-entity-details.d.ts +46 -0
- package/lib/model/batch-detect-health-entity-details.js +66 -0
- package/lib/model/batch-detect-health-entity-details.js.map +1 -0
- package/lib/model/batch-detect-health-entity-result.d.ts +33 -0
- package/lib/model/batch-detect-health-entity-result.js +74 -0
- package/lib/model/batch-detect-health-entity-result.js.map +1 -0
- package/lib/model/batch-detect-language-pii-entities-details.d.ts +1 -0
- package/lib/model/batch-detect-language-pii-entities-details.js +4 -2
- package/lib/model/batch-detect-language-pii-entities-details.js.map +1 -1
- package/lib/model/create-model-details.d.ts +1 -1
- package/lib/model/create-model-details.js.map +1 -1
- package/lib/model/health-entity-document-result.d.ts +47 -0
- package/lib/model/health-entity-document-result.js +81 -0
- package/lib/model/health-entity-document-result.js.map +1 -0
- package/lib/model/health-entity.d.ts +65 -0
- package/lib/model/health-entity.js +74 -0
- package/lib/model/health-entity.js.map +1 -0
- package/lib/model/index.d.ts +24 -0
- package/lib/model/index.js +27 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/input-location.d.ts +2 -1
- package/lib/model/input-location.js.map +1 -1
- package/lib/model/mel-concept-details.d.ts +42 -0
- package/lib/model/mel-concept-details.js +32 -0
- package/lib/model/mel-concept-details.js.map +1 -0
- package/lib/model/mel-concept.d.ts +33 -0
- package/lib/model/mel-concept.js +64 -0
- package/lib/model/mel-concept.js.map +1 -0
- package/lib/model/model-details.js +4 -0
- package/lib/model/model-details.js.map +1 -1
- package/lib/model/model-summary.d.ts +1 -1
- package/lib/model/model-summary.js.map +1 -1
- package/lib/model/model.d.ts +1 -1
- package/lib/model/model.js.map +1 -1
- package/lib/model/pii-entity.d.ts +51 -6
- package/lib/model/pii-entity.js.map +1 -1
- package/lib/model/pii-model-details.d.ts +33 -0
- package/lib/model/pii-model-details.js +55 -0
- package/lib/model/pii-model-details.js.map +1 -0
- package/lib/model/profile.d.ts +36 -0
- package/lib/model/profile.js +32 -0
- package/lib/model/profile.js.map +1 -0
- package/lib/model/relation-entity.d.ts +44 -0
- package/lib/model/relation-entity.js +32 -0
- package/lib/model/relation-entity.js.map +1 -0
- package/lib/model/resolved-entities.d.ts +29 -0
- package/lib/model/resolved-entities.js +64 -0
- package/lib/model/resolved-entities.js.map +1 -0
- package/lib/model/resolved-entity.d.ts +50 -0
- package/lib/model/resolved-entity.js +32 -0
- package/lib/model/resolved-entity.js.map +1 -0
- package/lib/request/batch-detect-dominant-language-request.d.ts +1 -1
- package/lib/request/batch-detect-health-entity-request.d.ts +28 -0
- package/lib/request/batch-detect-health-entity-request.js +15 -0
- package/lib/request/batch-detect-health-entity-request.js.map +1 -0
- 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/index.d.ts +2 -0
- package/lib/request/index.js.map +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/lib/response/batch-detect-health-entity-response.d.ts +25 -0
- package/lib/response/batch-detect-health-entity-response.js +15 -0
- package/lib/response/batch-detect-health-entity-response.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/package.json +3 -3
|
@@ -15,8 +15,9 @@ This allows enterprises to focus on business drivers and development work rather
|
|
|
15
15
|
*/
|
|
16
16
|
/**
|
|
17
17
|
* document location and other meta data about documents
|
|
18
|
-
* For TXT
|
|
18
|
+
* For TXT only ObjectStoragePrefixLocation supported
|
|
19
19
|
* For CSV only ObjectStorageFileNameLocation is supported
|
|
20
|
+
* For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type
|
|
20
21
|
*
|
|
21
22
|
*/
|
|
22
23
|
export interface InputLocation {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-location.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/input-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"input-location.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/input-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAatC,IAAiB,aAAa,CA2C7B;AA3CD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,6BAA6B,CAAC,UAAU,CACL,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wBAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CACjB,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,oCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA2C7B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* The MEL concepts details for health ner.
|
|
18
|
+
*/
|
|
19
|
+
export interface MelConceptDetails {
|
|
20
|
+
/**
|
|
21
|
+
* id of the relation
|
|
22
|
+
*/
|
|
23
|
+
"id": string;
|
|
24
|
+
/**
|
|
25
|
+
* The matched concept name/description on the ontology
|
|
26
|
+
*/
|
|
27
|
+
"name": string;
|
|
28
|
+
/**
|
|
29
|
+
* The relevant score between the concept and the input text Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
30
|
+
*/
|
|
31
|
+
"score": number;
|
|
32
|
+
/**
|
|
33
|
+
* additional attribute values specific to ontology for ex. for SNOMED semantic_type and for for ICD-10 default_charge_code etc.
|
|
34
|
+
*/
|
|
35
|
+
"attributes"?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export declare namespace MelConceptDetails {
|
|
40
|
+
function getJsonObj(obj: MelConceptDetails): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: MelConceptDetails): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221001
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.MelConceptDetails = void 0;
|
|
19
|
+
var MelConceptDetails;
|
|
20
|
+
(function (MelConceptDetails) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
MelConceptDetails.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
MelConceptDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(MelConceptDetails = exports.MelConceptDetails || (exports.MelConceptDetails = {}));
|
|
32
|
+
//# sourceMappingURL=mel-concept-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mel-concept-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/mel-concept-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA2BH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* The MEL concepts details for health ner.
|
|
19
|
+
*/
|
|
20
|
+
export interface MelConcept {
|
|
21
|
+
/**
|
|
22
|
+
* Name of the ontology to which the Entity is mapped
|
|
23
|
+
*/
|
|
24
|
+
"ontologyName": string;
|
|
25
|
+
/**
|
|
26
|
+
* This contains the list of matched concepts which are ranked by the relevant score with the input text
|
|
27
|
+
*/
|
|
28
|
+
"concepts": Array<model.MelConceptDetails>;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace MelConcept {
|
|
31
|
+
function getJsonObj(obj: MelConcept): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: MelConcept): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221001
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MelConcept = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MelConcept;
|
|
40
|
+
(function (MelConcept) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"concepts": obj.concepts
|
|
44
|
+
? obj.concepts.map(item => {
|
|
45
|
+
return model.MelConceptDetails.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
MelConcept.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"concepts": obj.concepts
|
|
55
|
+
? obj.concepts.map(item => {
|
|
56
|
+
return model.MelConceptDetails.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
MelConcept.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(MelConcept = exports.MelConcept || (exports.MelConcept = {}));
|
|
64
|
+
//# sourceMappingURL=mel-concept.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mel-concept.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/mel-concept.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,UAAU,CA6B1B;AA7BD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA6B1B"}
|
|
@@ -51,6 +51,8 @@ var ModelDetails;
|
|
|
51
51
|
return model.PreTrainedUniversalModel.getJsonObj(jsonObj, true);
|
|
52
52
|
case "NAMED_ENTITY_RECOGNITION":
|
|
53
53
|
return model.NamedEntityRecognitionModelDetails.getJsonObj(jsonObj, true);
|
|
54
|
+
case "PII":
|
|
55
|
+
return model.PiiModelDetails.getJsonObj(jsonObj, true);
|
|
54
56
|
case "PRE_TRAINED_LANGUAGE_DETECTION":
|
|
55
57
|
return model.PreTrainedLanguageDetectionModelDetails.getJsonObj(jsonObj, true);
|
|
56
58
|
case "PRE_TRAINED_NAMED_ENTITY_RECOGNITION":
|
|
@@ -85,6 +87,8 @@ var ModelDetails;
|
|
|
85
87
|
return model.PreTrainedUniversalModel.getDeserializedJsonObj(jsonObj, true);
|
|
86
88
|
case "NAMED_ENTITY_RECOGNITION":
|
|
87
89
|
return model.NamedEntityRecognitionModelDetails.getDeserializedJsonObj(jsonObj, true);
|
|
90
|
+
case "PII":
|
|
91
|
+
return model.PiiModelDetails.getDeserializedJsonObj(jsonObj, true);
|
|
88
92
|
case "PRE_TRAINED_LANGUAGE_DETECTION":
|
|
89
93
|
return model.PreTrainedLanguageDetectionModelDetails.getDeserializedJsonObj(jsonObj, true);
|
|
90
94
|
case "PRE_TRAINED_NAMED_ENTITY_RECOGNITION":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,YAAY,
|
|
1
|
+
{"version":3,"file":"model-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,YAAY,CA4I5B;AA5ID,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,kCAAkC;oBACrC,OAAO,KAAK,CAAC,yCAAyC,CAAC,UAAU,CACL,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ,KAAK,wBAAwB;oBAC3B,OAAO,KAAK,CAAC,+BAA+B,CAAC,UAAU,CACL,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAiC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1F,KAAK,gCAAgC;oBACnC,OAAO,KAAK,CAAC,uCAAuC,CAAC,UAAU,CACL,OAAQ,EAChE,IAAI,CACL,CAAC;gBACJ,KAAK,sCAAsC;oBACzC,OAAO,KAAK,CAAC,4CAA4C,CAAC,UAAU,CACL,OAAQ,EACrE,IAAI,CACL,CAAC;gBACJ,KAAK,gCAAgC;oBACnC,OAAO,KAAK,CAAC,uCAAuC,CAAC,UAAU,CACL,OAAQ,EAChE,IAAI,CACL,CAAC;gBACJ,KAAK,iCAAiC;oBACpC,OAAO,KAAK,CAAC,wCAAwC,CAAC,UAAU,CACL,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CACL,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,2BAA2B;oBAC9B,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACL,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAnEe,uBAAU,aAmEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,kCAAkC;oBACrC,OAAO,KAAK,CAAC,yCAAyC,CAAC,sBAAsB,CACjB,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ,KAAK,wBAAwB;oBAC3B,OAAO,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CACjB,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ,KAAK,uBAAuB;oBAC1B,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CACjB,OAAQ,EACxC,IAAI,CACL,CAAC;gBACJ,KAAK,gCAAgC;oBACnC,OAAO,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CACjB,OAAQ,EAChE,IAAI,CACL,CAAC;gBACJ,KAAK,sCAAsC;oBACzC,OAAO,KAAK,CAAC,4CAA4C,CAAC,sBAAsB,CACjB,OAAQ,EACrE,IAAI,CACL,CAAC;gBACJ,KAAK,gCAAgC;oBACnC,OAAO,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CACjB,OAAQ,EAChE,IAAI,CACL,CAAC;gBACJ,KAAK,iCAAiC;oBACpC,OAAO,KAAK,CAAC,wCAAwC,CAAC,sBAAsB,CACjB,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ,KAAK,qBAAqB;oBACxB,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CACjB,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,2BAA2B;oBAC9B,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACjB,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAtEe,mCAAsB,yBAsErC,CAAA;AACH,CAAC,EA5IgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA4I5B"}
|
|
@@ -34,7 +34,7 @@ export interface ModelSummary {
|
|
|
34
34
|
* A short description of the Model.
|
|
35
35
|
*/
|
|
36
36
|
"description"?: string;
|
|
37
|
-
"modelDetails": model.PreTrainedKeyPhraseExtractionModelDetails | model.PreTrainedHealthNluModelDetails | model.PreTrainedUniversalModel | model.NamedEntityRecognitionModelDetails | model.PreTrainedLanguageDetectionModelDetails | model.PreTrainedNamedEntityRecognitionModelDetails | model.PreTrainedSentimentAnalysisModelDetails | model.PreTrainedTextClassificationModelDetails | model.TextClassificationModelDetails | model.PreTrainedSummarization | model.PreTrainedPiiModelDetails;
|
|
37
|
+
"modelDetails": model.PreTrainedKeyPhraseExtractionModelDetails | model.PreTrainedHealthNluModelDetails | model.PreTrainedUniversalModel | model.NamedEntityRecognitionModelDetails | model.PiiModelDetails | model.PreTrainedLanguageDetectionModelDetails | model.PreTrainedNamedEntityRecognitionModelDetails | model.PreTrainedSentimentAnalysisModelDetails | model.PreTrainedTextClassificationModelDetails | model.TextClassificationModelDetails | model.PreTrainedSummarization | model.PreTrainedPiiModelDetails;
|
|
38
38
|
/**
|
|
39
39
|
* The time the the Model was created. An RFC3339 formatted datetime string.
|
|
40
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-summary.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/model-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"model-summary.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/model-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgFlC,IAAiB,YAAY,CAyB5B;AAzBD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
|
package/lib/model/model.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface Model {
|
|
|
38
38
|
* A short description of the Model.
|
|
39
39
|
*/
|
|
40
40
|
"description"?: string;
|
|
41
|
-
"modelDetails": model.PreTrainedKeyPhraseExtractionModelDetails | model.PreTrainedHealthNluModelDetails | model.PreTrainedUniversalModel | model.NamedEntityRecognitionModelDetails | model.PreTrainedLanguageDetectionModelDetails | model.PreTrainedNamedEntityRecognitionModelDetails | model.PreTrainedSentimentAnalysisModelDetails | model.PreTrainedTextClassificationModelDetails | model.TextClassificationModelDetails | model.PreTrainedSummarization | model.PreTrainedPiiModelDetails;
|
|
41
|
+
"modelDetails": model.PreTrainedKeyPhraseExtractionModelDetails | model.PreTrainedHealthNluModelDetails | model.PreTrainedUniversalModel | model.NamedEntityRecognitionModelDetails | model.PiiModelDetails | model.PreTrainedLanguageDetectionModelDetails | model.PreTrainedNamedEntityRecognitionModelDetails | model.PreTrainedSentimentAnalysisModelDetails | model.PreTrainedTextClassificationModelDetails | model.TextClassificationModelDetails | model.PreTrainedSummarization | model.PreTrainedPiiModelDetails;
|
|
42
42
|
/**
|
|
43
43
|
* The time the the model was created. An RFC3339 formatted datetime string.
|
|
44
44
|
*/
|
package/lib/model/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyFlC,IAAiB,KAAK,CA2DrB;AA3DD,WAAiB,KAAK;IACpB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACtD,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,gBAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;YAEb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBAClE,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,4BAAsB,yBAqBrC,CAAA;AACH,CAAC,EA3DgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA2DrB"}
|
|
@@ -17,26 +17,71 @@ This allows enterprises to focus on business drivers and development work rather
|
|
|
17
17
|
* PII entity object.
|
|
18
18
|
*/
|
|
19
19
|
export interface PiiEntity {
|
|
20
|
+
/**
|
|
21
|
+
* Unique id of the entity.
|
|
22
|
+
*/
|
|
23
|
+
"id"?: string;
|
|
20
24
|
/**
|
|
21
25
|
* The number of Unicode code points preceding this entity in the submitted text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
22
26
|
*/
|
|
23
|
-
"offset"
|
|
27
|
+
"offset": number;
|
|
24
28
|
/**
|
|
25
29
|
* Length of PII entity text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
30
|
*/
|
|
27
|
-
"length"
|
|
31
|
+
"length": number;
|
|
28
32
|
/**
|
|
29
33
|
* Entity text like name of person, Organization and so on.
|
|
30
34
|
*/
|
|
31
|
-
"text"
|
|
35
|
+
"text": string;
|
|
32
36
|
/**
|
|
33
|
-
*
|
|
37
|
+
* Entity type supported
|
|
38
|
+
* PERSON
|
|
39
|
+
* ADDRESS
|
|
40
|
+
* AGE
|
|
41
|
+
* DATE_TIME
|
|
42
|
+
* SSN_OR_TAXPAYER
|
|
43
|
+
* EMAIL
|
|
44
|
+
* PASSPORT_NUMBER_US
|
|
45
|
+
* TELEPHONE_NUMBER
|
|
46
|
+
* DRIVER_ID_US
|
|
47
|
+
* BANK_ACCOUNT_NUMBER
|
|
48
|
+
* BANK_SWIFT
|
|
49
|
+
* BANK_ROUTING
|
|
50
|
+
* CREDIT_DEBIT_NUMBER
|
|
51
|
+
* IP_ADDRESS
|
|
52
|
+
* MAC_ADDRESS
|
|
53
|
+
* COOKIE
|
|
54
|
+
* XSRF_TOKEN
|
|
55
|
+
* AUTH_BASIC
|
|
56
|
+
* AUTH_BEARER
|
|
57
|
+
* JSON_WEB_TOKEN
|
|
58
|
+
* PRIVATE_KEY
|
|
59
|
+
* PUBLIC_KEY
|
|
60
|
+
* OCI_OCID_USER
|
|
61
|
+
* OCI_OCID_TENANCY
|
|
62
|
+
* OCI_SMTP_USERNAME
|
|
63
|
+
* OCI_OCID_REFERENCE
|
|
64
|
+
* OCI_FINGERPRINT
|
|
65
|
+
* OCI_CREDENTIAL
|
|
66
|
+
* OCI_PRE_AUTH_REQUEST
|
|
67
|
+
* OCI_STORAGE_SIGNED_URL
|
|
68
|
+
* OCI_CUSTOMER_SECRET_KEY
|
|
69
|
+
* OCI_ACCESS_KEy
|
|
70
|
+
* MEDICAL_RECORD_NUMBER
|
|
71
|
+
* HEALTH_PLAN_ID
|
|
72
|
+
* URL
|
|
73
|
+
* CERTIFICATE_NUMBER
|
|
74
|
+
* FIN
|
|
75
|
+
* GUIDs
|
|
76
|
+
* VEHICLE_LICENSE_PLATE_US
|
|
77
|
+
* VEHICLE_IDENTIFIER_US
|
|
78
|
+
*
|
|
34
79
|
*/
|
|
35
|
-
"type"
|
|
80
|
+
"type": string;
|
|
36
81
|
/**
|
|
37
82
|
* Score or confidence for detected PII entity. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
38
83
|
*/
|
|
39
|
-
"score"
|
|
84
|
+
"score": number;
|
|
40
85
|
}
|
|
41
86
|
export declare namespace PiiEntity {
|
|
42
87
|
function getJsonObj(obj: PiiEntity): object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pii-entity.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pii-entity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"pii-entity.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pii-entity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA4EH,IAAiB,SAAS,CAWzB;AAXD,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAWzB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Possible Custom PII model information
|
|
19
|
+
*/
|
|
20
|
+
export interface PiiModelDetails extends model.ModelDetails {
|
|
21
|
+
/**
|
|
22
|
+
* Optional pre trained model version. if nothing specified latest pre trained model will be used.
|
|
23
|
+
* Supported versions can be found at /modelTypes/{modelType}
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"version"?: string;
|
|
27
|
+
"modelType": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace PiiModelDetails {
|
|
30
|
+
function getJsonObj(obj: PiiModelDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
const modelType = "PII";
|
|
32
|
+
function getDeserializedJsonObj(obj: PiiModelDetails, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221001
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.PiiModelDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var PiiModelDetails;
|
|
40
|
+
(function (PiiModelDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ModelDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
PiiModelDetails.getJsonObj = getJsonObj;
|
|
46
|
+
PiiModelDetails.modelType = "PII";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.ModelDetails.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
PiiModelDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(PiiModelDetails = exports.PiiModelDetails || (exports.PiiModelDetails = {}));
|
|
55
|
+
//# sourceMappingURL=pii-model-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pii-model-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pii-model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,eAAe,CAoB/B;AApBD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,0BAAU,aAOzB,CAAA;IACY,yBAAS,GAAG,KAAK,CAAC;IAC/B,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoB/B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
* Documents profile
|
|
18
|
+
*/
|
|
19
|
+
export interface Profile {
|
|
20
|
+
/**
|
|
21
|
+
* For PHI API this field can be PII/PHI/ALL and by default PII will be used. For other APIs Healthcare or Financial etc.
|
|
22
|
+
*/
|
|
23
|
+
"domain"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Document type EHR Or Utterance
|
|
26
|
+
*/
|
|
27
|
+
"documentType"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Document speciality like paediatrics, internal medicine etc.
|
|
30
|
+
*/
|
|
31
|
+
"speciality"?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace Profile {
|
|
34
|
+
function getJsonObj(obj: Profile): object;
|
|
35
|
+
function getDeserializedJsonObj(obj: Profile): object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221001
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.Profile = void 0;
|
|
19
|
+
var Profile;
|
|
20
|
+
(function (Profile) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
Profile.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
Profile.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(Profile = exports.Profile || (exports.Profile = {}));
|
|
32
|
+
//# sourceMappingURL=profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/profile.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAuBH,IAAiB,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACtB,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAWvB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* The relation entities details for health ner.
|
|
18
|
+
*/
|
|
19
|
+
export interface RelationEntity {
|
|
20
|
+
/**
|
|
21
|
+
* id of the relation
|
|
22
|
+
*/
|
|
23
|
+
"id": string;
|
|
24
|
+
/**
|
|
25
|
+
* Subject entity of the relation. eg,MEDICINE_NAME, EXAMINATION
|
|
26
|
+
*/
|
|
27
|
+
"subjectId": string;
|
|
28
|
+
/**
|
|
29
|
+
* Object entity of the relation. eg, MEDICINE_DOSAGE, MEDICINE_DURATION, MEASUREMENT
|
|
30
|
+
*/
|
|
31
|
+
"objectId": string;
|
|
32
|
+
/**
|
|
33
|
+
* Type of relation between subject entity and object entity. eg,EXAMINATION_MEASUREMENT, FREQUENCY, DOSAGE
|
|
34
|
+
*/
|
|
35
|
+
"type": string;
|
|
36
|
+
/**
|
|
37
|
+
* Score or confidence for detected entity. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
38
|
+
*/
|
|
39
|
+
"score": number;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace RelationEntity {
|
|
42
|
+
function getJsonObj(obj: RelationEntity): object;
|
|
43
|
+
function getDeserializedJsonObj(obj: RelationEntity): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20221001
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* 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.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.RelationEntity = void 0;
|
|
19
|
+
var RelationEntity;
|
|
20
|
+
(function (RelationEntity) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
RelationEntity.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
RelationEntity.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(RelationEntity = exports.RelationEntity || (exports.RelationEntity = {}));
|
|
32
|
+
//# sourceMappingURL=relation-entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relation-entity.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/relation-entity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA+BH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
|