oci-ailanguage 2.67.0 → 2.68.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 +45 -35
- package/lib/client.js +98 -36
- package/lib/client.js.map +1 -1
- package/lib/model/batch-language-translation-details.d.ts +24 -24
- package/lib/model/capabilities.d.ts +31 -0
- package/lib/model/capabilities.js +61 -0
- package/lib/model/capabilities.js.map +1 -0
- package/lib/model/capability.d.ts +28 -0
- package/lib/model/capability.js +32 -0
- package/lib/model/capability.js.map +1 -0
- package/lib/model/class-metrics.d.ts +4 -0
- package/lib/model/class-metrics.js.map +1 -1
- package/lib/model/classification-multi-class-mode-details.d.ts +4 -0
- package/lib/model/classification-multi-class-mode-details.js.map +1 -1
- package/lib/model/classification-multi-label-mode-details.d.ts +4 -0
- package/lib/model/classification-multi-label-mode-details.js.map +1 -1
- package/lib/model/create-model-details.d.ts +2 -2
- package/lib/model/create-model-details.js.map +1 -1
- package/lib/model/entity-document-result.d.ts +24 -24
- package/lib/model/index.d.ts +26 -0
- package/lib/model/index.js +29 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-phrase-document-result.d.ts +24 -24
- package/lib/model/model-details.js +40 -0
- package/lib/model/model-details.js.map +1 -1
- package/lib/model/model-summary.d.ts +3 -2
- package/lib/model/model-summary.js.map +1 -1
- package/lib/model/model-type-info.d.ts +35 -0
- package/lib/model/model-type-info.js +61 -0
- package/lib/model/model-type-info.js.map +1 -0
- package/lib/model/model.d.ts +3 -2
- package/lib/model/model.js.map +1 -1
- package/lib/model/named-entity-recognition-model-details.d.ts +4 -0
- package/lib/model/named-entity-recognition-model-details.js.map +1 -1
- package/lib/model/named-entity-recognition-model-metrics.d.ts +2 -2
- package/lib/model/pii-entity-document-result.d.ts +24 -24
- package/lib/model/pre-trained-health-nlu-model-details.d.ts +33 -0
- package/lib/model/pre-trained-health-nlu-model-details.js +57 -0
- package/lib/model/pre-trained-health-nlu-model-details.js.map +1 -0
- package/lib/model/pre-trained-key-phrase-extraction-model-details.d.ts +33 -0
- package/lib/model/pre-trained-key-phrase-extraction-model-details.js +57 -0
- package/lib/model/pre-trained-key-phrase-extraction-model-details.js.map +1 -0
- package/lib/model/pre-trained-language-detection-model-details.d.ts +33 -0
- package/lib/model/pre-trained-language-detection-model-details.js +57 -0
- package/lib/model/pre-trained-language-detection-model-details.js.map +1 -0
- package/lib/model/pre-trained-named-entity-recognition-model-details.d.ts +33 -0
- package/lib/model/pre-trained-named-entity-recognition-model-details.js +57 -0
- package/lib/model/pre-trained-named-entity-recognition-model-details.js.map +1 -0
- package/lib/model/pre-trained-phi-model-details.d.ts +33 -0
- package/lib/model/pre-trained-phi-model-details.js +57 -0
- package/lib/model/pre-trained-phi-model-details.js.map +1 -0
- package/lib/model/pre-trained-pii-model-details.d.ts +33 -0
- package/lib/model/pre-trained-pii-model-details.js +57 -0
- package/lib/model/pre-trained-pii-model-details.js.map +1 -0
- package/lib/model/pre-trained-sentiment-analysis-model-details.d.ts +33 -0
- package/lib/model/pre-trained-sentiment-analysis-model-details.js +57 -0
- package/lib/model/pre-trained-sentiment-analysis-model-details.js.map +1 -0
- package/lib/model/pre-trained-summarization.d.ts +33 -0
- package/lib/model/pre-trained-summarization.js +55 -0
- package/lib/model/pre-trained-summarization.js.map +1 -0
- package/lib/model/pre-trained-text-classification-model-details.d.ts +33 -0
- package/lib/model/pre-trained-text-classification-model-details.js +57 -0
- package/lib/model/pre-trained-text-classification-model-details.js.map +1 -0
- package/lib/model/pre-trained-universal-model.d.ts +33 -0
- package/lib/model/pre-trained-universal-model.js +55 -0
- package/lib/model/pre-trained-universal-model.js.map +1 -0
- package/lib/model/sentiment-document-result.d.ts +24 -24
- package/lib/model/text-classification-document-result.d.ts +24 -24
- package/lib/model/text-classification-model-metrics.d.ts +2 -2
- package/lib/model/text-document.d.ts +1 -26
- package/lib/model/text-document.js.map +1 -1
- package/lib/model/translation-document-result.d.ts +48 -48
- package/lib/request/batch-detect-dominant-language-request.d.ts +1 -1
- package/lib/request/batch-detect-language-entities-request.d.ts +1 -1
- package/lib/request/batch-detect-language-key-phrases-request.d.ts +1 -1
- package/lib/request/batch-detect-language-pii-entities-request.d.ts +1 -1
- package/lib/request/batch-detect-language-sentiments-request.d.ts +1 -1
- package/lib/request/batch-detect-language-text-classification-request.d.ts +1 -1
- package/lib/request/batch-language-translation-request.d.ts +1 -1
- package/lib/request/change-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-model-compartment-request.d.ts +1 -1
- package/lib/request/change-project-compartment-request.d.ts +1 -1
- package/lib/request/create-endpoint-request.d.ts +1 -1
- package/lib/request/create-model-request.d.ts +1 -1
- package/lib/request/create-project-request.d.ts +1 -1
- package/lib/request/delete-endpoint-request.d.ts +1 -1
- package/lib/request/delete-model-request.d.ts +1 -1
- package/lib/request/delete-project-request.d.ts +1 -1
- package/lib/request/detect-dominant-language-request.d.ts +1 -1
- package/lib/request/detect-language-entities-request.d.ts +1 -1
- package/lib/request/detect-language-key-phrases-request.d.ts +1 -1
- package/lib/request/detect-language-sentiments-request.d.ts +1 -1
- package/lib/request/detect-language-text-classification-request.d.ts +1 -1
- package/lib/request/get-endpoint-request.d.ts +1 -1
- package/lib/request/get-model-request.d.ts +1 -1
- package/lib/request/get-model-type-request.d.ts +26 -0
- package/lib/request/get-model-type-request.js +15 -0
- package/lib/request/get-model-type-request.js.map +1 -0
- 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-models-request.d.ts +1 -1
- package/lib/request/list-projects-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-endpoint-request.d.ts +1 -1
- package/lib/request/update-model-request.d.ts +1 -1
- package/lib/request/update-project-request.d.ts +1 -1
- package/lib/response/get-model-type-response.d.ts +25 -0
- package/lib/response/get-model-type-response.js +15 -0
- package/lib/response/get-model-type-response.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/package.json +3 -3
|
@@ -0,0 +1,57 @@
|
|
|
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, 2023, 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.PreTrainedSentimentAnalysisModelDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var PreTrainedSentimentAnalysisModelDetails;
|
|
40
|
+
(function (PreTrainedSentimentAnalysisModelDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.ModelDetails.getJsonObj(obj))), {});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
PreTrainedSentimentAnalysisModelDetails.getJsonObj = getJsonObj;
|
|
48
|
+
PreTrainedSentimentAnalysisModelDetails.modelType = "PRE_TRAINED_SENTIMENT_ANALYSIS";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.ModelDetails.getDeserializedJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
PreTrainedSentimentAnalysisModelDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(PreTrainedSentimentAnalysisModelDetails = exports.PreTrainedSentimentAnalysisModelDetails || (exports.PreTrainedSentimentAnalysisModelDetails = {}));
|
|
57
|
+
//# sourceMappingURL=pre-trained-sentiment-analysis-model-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pre-trained-sentiment-analysis-model-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pre-trained-sentiment-analysis-model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,uCAAuC,CA8BvD;AA9BD,WAAiB,uCAAuC;IACtD,SAAgB,UAAU,CACxB,GAA4C,EAC5C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAA6C,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,kDAAU,aAYzB,CAAA;IACY,iDAAS,GAAG,gCAAgC,CAAC;IAC1D,SAAgB,sBAAsB,CACpC,GAA4C,EAC5C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACxC,GAAG,CACwC,CAAC,GAC/C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,8DAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,uCAAuC,GAAvC,+CAAuC,KAAvC,+CAAuC,QA8BvD"}
|
|
@@ -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, 2023, 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 pre trained summarization information
|
|
19
|
+
*/
|
|
20
|
+
export interface PreTrainedSummarization 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 PreTrainedSummarization {
|
|
30
|
+
function getJsonObj(obj: PreTrainedSummarization, isParentJsonObj?: boolean): object;
|
|
31
|
+
const modelType = "PRE_TRAINED_SUMMARIZATION";
|
|
32
|
+
function getDeserializedJsonObj(obj: PreTrainedSummarization, 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, 2023, 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.PreTrainedSummarization = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var PreTrainedSummarization;
|
|
40
|
+
(function (PreTrainedSummarization) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ModelDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
PreTrainedSummarization.getJsonObj = getJsonObj;
|
|
46
|
+
PreTrainedSummarization.modelType = "PRE_TRAINED_SUMMARIZATION";
|
|
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
|
+
PreTrainedSummarization.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(PreTrainedSummarization = exports.PreTrainedSummarization || (exports.PreTrainedSummarization = {}));
|
|
55
|
+
//# sourceMappingURL=pre-trained-summarization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pre-trained-summarization.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pre-trained-summarization.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,uBAAuB,CAuBvC;AAvBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,kCAAU,aAOzB,CAAA;IACY,iCAAS,GAAG,2BAA2B,CAAC;IACrD,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GAC7E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,8CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAuBvC"}
|
|
@@ -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, 2023, 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 pre trained TXT model information
|
|
19
|
+
*/
|
|
20
|
+
export interface PreTrainedTextClassificationModelDetails 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 PreTrainedTextClassificationModelDetails {
|
|
30
|
+
function getJsonObj(obj: PreTrainedTextClassificationModelDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
const modelType = "PRE_TRAINED_TEXT_CLASSIFICATION";
|
|
32
|
+
function getDeserializedJsonObj(obj: PreTrainedTextClassificationModelDetails, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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, 2023, 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.PreTrainedTextClassificationModelDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var PreTrainedTextClassificationModelDetails;
|
|
40
|
+
(function (PreTrainedTextClassificationModelDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.ModelDetails.getJsonObj(obj))), {});
|
|
45
|
+
return jsonObj;
|
|
46
|
+
}
|
|
47
|
+
PreTrainedTextClassificationModelDetails.getJsonObj = getJsonObj;
|
|
48
|
+
PreTrainedTextClassificationModelDetails.modelType = "PRE_TRAINED_TEXT_CLASSIFICATION";
|
|
49
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
|
+
? obj
|
|
52
|
+
: model.ModelDetails.getDeserializedJsonObj(obj))), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
PreTrainedTextClassificationModelDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(PreTrainedTextClassificationModelDetails = exports.PreTrainedTextClassificationModelDetails || (exports.PreTrainedTextClassificationModelDetails = {}));
|
|
57
|
+
//# sourceMappingURL=pre-trained-text-classification-model-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pre-trained-text-classification-model-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pre-trained-text-classification-model-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,wCAAwC,CA8BxD;AA9BD,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CACxB,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAA8C,CAAC,GAClF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,mDAAU,aAYzB,CAAA;IACY,kDAAS,GAAG,iCAAiC,CAAC;IAC3D,SAAgB,sBAAsB,CACpC,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACxC,GAAG,CACyC,CAAC,GAChD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,+DAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QA8BxD"}
|
|
@@ -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, 2023, 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 pre trained universal model information
|
|
19
|
+
*/
|
|
20
|
+
export interface PreTrainedUniversalModel 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 PreTrainedUniversalModel {
|
|
30
|
+
function getJsonObj(obj: PreTrainedUniversalModel, isParentJsonObj?: boolean): object;
|
|
31
|
+
const modelType = "PRE_TRAINED_UNIVERSAL";
|
|
32
|
+
function getDeserializedJsonObj(obj: PreTrainedUniversalModel, 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, 2023, 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.PreTrainedUniversalModel = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var PreTrainedUniversalModel;
|
|
40
|
+
(function (PreTrainedUniversalModel) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ModelDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
PreTrainedUniversalModel.getJsonObj = getJsonObj;
|
|
46
|
+
PreTrainedUniversalModel.modelType = "PRE_TRAINED_UNIVERSAL";
|
|
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
|
+
PreTrainedUniversalModel.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(PreTrainedUniversalModel = exports.PreTrainedUniversalModel || (exports.PreTrainedUniversalModel = {}));
|
|
55
|
+
//# sourceMappingURL=pre-trained-universal-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pre-trained-universal-model.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/pre-trained-universal-model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,wBAAwB,CAuBxC;AAvBD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAA8B,CAAC,GAC1F,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,mCAAU,aAOzB,CAAA;IACY,kCAAS,GAAG,uBAAuB,CAAC;IACjD,SAAgB,sBAAsB,CACpC,GAA6B,EAC7B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAA8B,CAAC,GAC9E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,+CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAuBxC"}
|
|
@@ -44,30 +44,30 @@ export interface SentimentDocumentResult {
|
|
|
44
44
|
"sentences"?: Array<model.SentimentSentence>;
|
|
45
45
|
/**
|
|
46
46
|
* Language code supported
|
|
47
|
-
* Automatically detect language
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
47
|
+
* - auto : Automatically detect language
|
|
48
|
+
* - ar : Arabic
|
|
49
|
+
* - pt-BR : Brazilian Portuguese
|
|
50
|
+
* - cs : Czech
|
|
51
|
+
* - da : Danish
|
|
52
|
+
* - nl : Dutch
|
|
53
|
+
* - en : English
|
|
54
|
+
* - fi : Finnish
|
|
55
|
+
* - fr : French
|
|
56
|
+
* - fr-CA : Canadian French
|
|
57
|
+
* - de : German
|
|
58
|
+
* - it : Italian
|
|
59
|
+
* - ja : Japanese
|
|
60
|
+
* - ko : Korean
|
|
61
|
+
* - no : Norwegian
|
|
62
|
+
* - pl : Polish
|
|
63
|
+
* - ro : Romanian
|
|
64
|
+
* - zh-CN : Simplified Chinese
|
|
65
|
+
* - es : Spanish
|
|
66
|
+
* - sv : Swedish
|
|
67
|
+
* - zh-TW : Traditional Chinese
|
|
68
|
+
* - tr : Turkish
|
|
69
|
+
* - el : Greek
|
|
70
|
+
* - he : Hebrew
|
|
71
71
|
*
|
|
72
72
|
*/
|
|
73
73
|
"languageCode": string;
|
|
@@ -28,30 +28,30 @@ export interface TextClassificationDocumentResult {
|
|
|
28
28
|
"textClassification": Array<model.TextClassification>;
|
|
29
29
|
/**
|
|
30
30
|
* Language code supported
|
|
31
|
-
* Automatically detect language
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
31
|
+
* - auto : Automatically detect language
|
|
32
|
+
* - ar : Arabic
|
|
33
|
+
* - pt-BR : Brazilian Portuguese
|
|
34
|
+
* - cs : Czech
|
|
35
|
+
* - da : Danish
|
|
36
|
+
* - nl : Dutch
|
|
37
|
+
* - en : English
|
|
38
|
+
* - fi : Finnish
|
|
39
|
+
* - fr : French
|
|
40
|
+
* - fr-CA : Canadian French
|
|
41
|
+
* - de : German
|
|
42
|
+
* - it : Italian
|
|
43
|
+
* - ja : Japanese
|
|
44
|
+
* - ko : Korean
|
|
45
|
+
* - no : Norwegian
|
|
46
|
+
* - pl : Polish
|
|
47
|
+
* - ro : Romanian
|
|
48
|
+
* - zh-CN : Simplified Chinese
|
|
49
|
+
* - es : Spanish
|
|
50
|
+
* - sv : Swedish
|
|
51
|
+
* - zh-TW : Traditional Chinese
|
|
52
|
+
* - tr : Turkish
|
|
53
|
+
* - el : Greek
|
|
54
|
+
* - he : Hebrew
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
"languageCode": string;
|
|
@@ -40,11 +40,11 @@ export interface TextClassificationModelMetrics {
|
|
|
40
40
|
/**
|
|
41
41
|
* Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
42
42
|
*/
|
|
43
|
-
"macroPrecision"
|
|
43
|
+
"macroPrecision": number;
|
|
44
44
|
/**
|
|
45
45
|
* Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
46
46
|
*/
|
|
47
|
-
"macroRecall"
|
|
47
|
+
"macroRecall": number;
|
|
48
48
|
/**
|
|
49
49
|
* F1-score, is a measure of a model\u2019s accuracy on a dataset Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
50
50
|
*/
|
|
@@ -26,32 +26,7 @@ export interface TextDocument {
|
|
|
26
26
|
*/
|
|
27
27
|
"text": string;
|
|
28
28
|
/**
|
|
29
|
-
* Language code supported
|
|
30
|
-
* Automatically detect language - auto
|
|
31
|
-
* Arabic - ar
|
|
32
|
-
* Brazilian Portuguese - pt-BR
|
|
33
|
-
* Czech - cs
|
|
34
|
-
* Danish - da
|
|
35
|
-
* Dutch - nl
|
|
36
|
-
* English - en
|
|
37
|
-
* Finnish - fi
|
|
38
|
-
* French - fr
|
|
39
|
-
* Canadian French - fr-CA
|
|
40
|
-
* German - de
|
|
41
|
-
* Italian - it
|
|
42
|
-
* Japanese - ja
|
|
43
|
-
* Korean - ko
|
|
44
|
-
* Norwegian - no
|
|
45
|
-
* Polish - pl
|
|
46
|
-
* Romanian - ro
|
|
47
|
-
* Simplified Chinese - zh-CN
|
|
48
|
-
* Spanish - es
|
|
49
|
-
* Swedish - sv
|
|
50
|
-
* Traditional Chinese - zh-TW
|
|
51
|
-
* Turkish - tr
|
|
52
|
-
* Greek - el
|
|
53
|
-
* Hebrew - he
|
|
54
|
-
*
|
|
29
|
+
* Language code of the document. Please refer to respective model [API documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for supported languages.
|
|
55
30
|
*/
|
|
56
31
|
"languageCode"?: string;
|
|
57
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-document.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/text-document.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"text-document.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/text-document.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAuBH,IAAiB,YAAY,CAW5B;AAXD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAW5B"}
|
|
@@ -27,59 +27,59 @@ export interface TranslationDocumentResult {
|
|
|
27
27
|
"translatedText": string;
|
|
28
28
|
/**
|
|
29
29
|
* Language code supported
|
|
30
|
-
* Automatically detect language
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
30
|
+
* - auto : Automatically detect language
|
|
31
|
+
* - ar : Arabic
|
|
32
|
+
* - pt-BR : Brazilian Portuguese
|
|
33
|
+
* - cs : Czech
|
|
34
|
+
* - da : Danish
|
|
35
|
+
* - nl : Dutch
|
|
36
|
+
* - en : English
|
|
37
|
+
* - fi : Finnish
|
|
38
|
+
* - fr : French
|
|
39
|
+
* - fr-CA : Canadian French
|
|
40
|
+
* - de : German
|
|
41
|
+
* - it : Italian
|
|
42
|
+
* - ja : Japanese
|
|
43
|
+
* - ko : Korean
|
|
44
|
+
* - no : Norwegian
|
|
45
|
+
* - pl : Polish
|
|
46
|
+
* - ro : Romanian
|
|
47
|
+
* - zh-CN : Simplified Chinese
|
|
48
|
+
* - es : Spanish
|
|
49
|
+
* - sv : Swedish
|
|
50
|
+
* - zh-TW : Traditional Chinese
|
|
51
|
+
* - tr : Turkish
|
|
52
|
+
* - el : Greek
|
|
53
|
+
* - he : Hebrew
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
56
|
"sourceLanguageCode": string;
|
|
57
57
|
/**
|
|
58
58
|
* Language code supported
|
|
59
|
-
* Automatically detect language
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
59
|
+
* - auto : Automatically detect language
|
|
60
|
+
* - ar : Arabic
|
|
61
|
+
* - pt-BR : Brazilian Portuguese
|
|
62
|
+
* - cs : Czech
|
|
63
|
+
* - da : Danish
|
|
64
|
+
* - nl : Dutch
|
|
65
|
+
* - en : English
|
|
66
|
+
* - fi : Finnish
|
|
67
|
+
* - fr : French
|
|
68
|
+
* - fr-CA : Canadian French
|
|
69
|
+
* - de : German
|
|
70
|
+
* - it : Italian
|
|
71
|
+
* - ja : Japanese
|
|
72
|
+
* - ko : Korean
|
|
73
|
+
* - no : Norwegian
|
|
74
|
+
* - pl : Polish
|
|
75
|
+
* - ro : Romanian
|
|
76
|
+
* - zh-CN : Simplified Chinese
|
|
77
|
+
* - es : Spanish
|
|
78
|
+
* - sv : Swedish
|
|
79
|
+
* - zh-TW : Traditional Chinese
|
|
80
|
+
* - tr : Turkish
|
|
81
|
+
* - el : Greek
|
|
82
|
+
* - he : Hebrew
|
|
83
83
|
*
|
|
84
84
|
*/
|
|
85
85
|
"targetLanguageCode": string;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguageRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface BatchDetectDominantLanguageRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.68.0/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntitiesRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface BatchDetectLanguageEntitiesRequest extends common.BaseRequest {
|
|
19
19
|
/**
|