oci-aidocument 2.62.1 → 2.62.2

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.
Files changed (239) hide show
  1. package/lib/aiservicedocument-waiter.d.ts +23 -0
  2. package/lib/aiservicedocument-waiter.js +55 -0
  3. package/lib/aiservicedocument-waiter.js.map +1 -1
  4. package/lib/client.d.ts +163 -3
  5. package/lib/client.js +1132 -19
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/action-type.d.ts +32 -0
  8. package/lib/model/action-type.js +43 -0
  9. package/lib/model/action-type.js.map +1 -0
  10. package/lib/model/change-model-compartment-details.d.ts +25 -0
  11. package/lib/model/change-model-compartment-details.js +29 -0
  12. package/lib/model/change-model-compartment-details.js.map +1 -0
  13. package/lib/model/change-project-compartment-details.d.ts +25 -0
  14. package/lib/model/change-project-compartment-details.js +29 -0
  15. package/lib/model/change-project-compartment-details.js.map +1 -0
  16. package/lib/model/create-model-details.d.ts +75 -0
  17. package/lib/model/create-model-details.js +69 -0
  18. package/lib/model/create-model-details.js.map +1 -0
  19. package/lib/model/create-project-details.d.ts +51 -0
  20. package/lib/model/create-project-details.js +29 -0
  21. package/lib/model/create-project-details.js.map +1 -0
  22. package/lib/model/data-science-labeling-dataset.d.ts +28 -0
  23. package/lib/model/data-science-labeling-dataset.js +52 -0
  24. package/lib/model/data-science-labeling-dataset.js.map +1 -0
  25. package/lib/model/dataset-summary.d.ts +33 -0
  26. package/lib/model/dataset-summary.js +29 -0
  27. package/lib/model/dataset-summary.js.map +1 -0
  28. package/lib/model/dataset.d.ts +22 -0
  29. package/lib/model/dataset.js +72 -0
  30. package/lib/model/dataset.js.map +1 -0
  31. package/lib/model/document-classification-confidence-entry.d.ts +37 -0
  32. package/lib/model/document-classification-confidence-entry.js +29 -0
  33. package/lib/model/document-classification-confidence-entry.js.map +1 -0
  34. package/lib/model/document-classification-feature.d.ts +4 -0
  35. package/lib/model/document-classification-feature.js.map +1 -1
  36. package/lib/model/document-classification-label-metrics-report.d.ts +34 -0
  37. package/lib/model/document-classification-label-metrics-report.js +61 -0
  38. package/lib/model/document-classification-label-metrics-report.js.map +1 -0
  39. package/lib/model/document-classification-model-metrics.d.ts +29 -0
  40. package/lib/model/document-classification-model-metrics.js +72 -0
  41. package/lib/model/document-classification-model-metrics.js.map +1 -0
  42. package/lib/model/document-classification-overall-metrics-report.d.ts +30 -0
  43. package/lib/model/document-classification-overall-metrics-report.js +61 -0
  44. package/lib/model/document-classification-overall-metrics-report.js.map +1 -0
  45. package/lib/model/document-key-value-extraction-feature.d.ts +4 -0
  46. package/lib/model/document-key-value-extraction-feature.js.map +1 -1
  47. package/lib/model/index.d.ts +76 -0
  48. package/lib/model/index.js +78 -1
  49. package/lib/model/index.js.map +1 -1
  50. package/lib/model/key-value-detection-confidence-entry.d.ts +41 -0
  51. package/lib/model/key-value-detection-confidence-entry.js +29 -0
  52. package/lib/model/key-value-detection-confidence-entry.js.map +1 -0
  53. package/lib/model/key-value-detection-label-metrics-report.d.ts +38 -0
  54. package/lib/model/key-value-detection-label-metrics-report.js +61 -0
  55. package/lib/model/key-value-detection-label-metrics-report.js.map +1 -0
  56. package/lib/model/key-value-detection-model-metrics.d.ts +29 -0
  57. package/lib/model/key-value-detection-model-metrics.js +72 -0
  58. package/lib/model/key-value-detection-model-metrics.js.map +1 -0
  59. package/lib/model/key-value-detection-overall-metrics-report.d.ts +34 -0
  60. package/lib/model/key-value-detection-overall-metrics-report.js +61 -0
  61. package/lib/model/key-value-detection-overall-metrics-report.js.map +1 -0
  62. package/lib/model/model-collection.d.ts +26 -0
  63. package/lib/model/model-collection.js +61 -0
  64. package/lib/model/model-collection.js.map +1 -0
  65. package/lib/model/model-metrics.d.ts +24 -0
  66. package/lib/model/model-metrics.js +80 -0
  67. package/lib/model/model-metrics.js.map +1 -0
  68. package/lib/model/model-summary.d.ts +101 -0
  69. package/lib/model/model-summary.js +69 -0
  70. package/lib/model/model-summary.js.map +1 -0
  71. package/lib/model/model.d.ts +136 -0
  72. package/lib/model/model.js +95 -0
  73. package/lib/model/model.js.map +1 -0
  74. package/lib/model/object-storage-dataset.d.ts +36 -0
  75. package/lib/model/object-storage-dataset.js +52 -0
  76. package/lib/model/object-storage-dataset.js.map +1 -0
  77. package/lib/model/operation-status.d.ts +33 -0
  78. package/lib/model/operation-status.js +44 -0
  79. package/lib/model/operation-status.js.map +1 -0
  80. package/lib/model/operation-type.d.ts +34 -0
  81. package/lib/model/operation-type.js +45 -0
  82. package/lib/model/operation-type.js.map +1 -0
  83. package/lib/model/project-collection.d.ts +26 -0
  84. package/lib/model/project-collection.js +61 -0
  85. package/lib/model/project-collection.js.map +1 -0
  86. package/lib/model/project-summary.d.ts +81 -0
  87. package/lib/model/project-summary.js +29 -0
  88. package/lib/model/project-summary.js.map +1 -0
  89. package/lib/model/project.d.ts +94 -0
  90. package/lib/model/project.js +43 -0
  91. package/lib/model/project.js.map +1 -0
  92. package/lib/model/sort-order.d.ts +23 -0
  93. package/lib/model/sort-order.js +34 -0
  94. package/lib/model/sort-order.js.map +1 -0
  95. package/lib/model/update-model-details.d.ts +47 -0
  96. package/lib/model/update-model-details.js +29 -0
  97. package/lib/model/update-model-details.js.map +1 -0
  98. package/lib/model/update-project-details.d.ts +47 -0
  99. package/lib/model/update-project-details.js +29 -0
  100. package/lib/model/update-project-details.js.map +1 -0
  101. package/lib/model/value-array.d.ts +3 -0
  102. package/lib/model/value-array.js.map +1 -1
  103. package/lib/model/work-request-error-collection.d.ts +26 -0
  104. package/lib/model/work-request-error-collection.js +61 -0
  105. package/lib/model/work-request-error-collection.js.map +1 -0
  106. package/lib/model/work-request-error.d.ts +35 -0
  107. package/lib/model/work-request-error.js +29 -0
  108. package/lib/model/work-request-error.js.map +1 -0
  109. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  110. package/lib/model/work-request-log-entry-collection.js +61 -0
  111. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  112. package/lib/model/work-request-log-entry.d.ts +29 -0
  113. package/lib/model/work-request-log-entry.js +29 -0
  114. package/lib/model/work-request-log-entry.js.map +1 -0
  115. package/lib/model/work-request-resource-metadata-key.d.ts +28 -0
  116. package/lib/model/work-request-resource-metadata-key.js +39 -0
  117. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  118. package/lib/model/work-request-resource.d.ts +48 -0
  119. package/lib/model/work-request-resource.js +29 -0
  120. package/lib/model/work-request-resource.js.map +1 -0
  121. package/lib/model/work-request-summary-collection.d.ts +26 -0
  122. package/lib/model/work-request-summary-collection.js +61 -0
  123. package/lib/model/work-request-summary-collection.js.map +1 -0
  124. package/lib/model/work-request-summary.d.ts +63 -0
  125. package/lib/model/work-request-summary.js +61 -0
  126. package/lib/model/work-request-summary.js.map +1 -0
  127. package/lib/model/work-request.d.ts +63 -0
  128. package/lib/model/work-request.js +61 -0
  129. package/lib/model/work-request.js.map +1 -0
  130. package/lib/request/cancel-processor-job-request.d.ts +1 -1
  131. package/lib/request/cancel-work-request-request.d.ts +35 -0
  132. package/lib/request/cancel-work-request-request.js +15 -0
  133. package/lib/request/cancel-work-request-request.js.map +1 -0
  134. package/lib/request/change-model-compartment-request.d.ts +40 -0
  135. package/lib/request/change-model-compartment-request.js +15 -0
  136. package/lib/request/change-model-compartment-request.js.map +1 -0
  137. package/lib/request/change-project-compartment-request.d.ts +40 -0
  138. package/lib/request/change-project-compartment-request.js +15 -0
  139. package/lib/request/change-project-compartment-request.js.map +1 -0
  140. package/lib/request/create-model-request.d.ts +36 -0
  141. package/lib/request/create-model-request.js +15 -0
  142. package/lib/request/create-model-request.js.map +1 -0
  143. package/lib/request/create-processor-job-request.d.ts +1 -1
  144. package/lib/request/create-project-request.d.ts +36 -0
  145. package/lib/request/create-project-request.js +15 -0
  146. package/lib/request/create-project-request.js.map +1 -0
  147. package/lib/request/delete-model-request.d.ts +35 -0
  148. package/lib/request/delete-model-request.js +15 -0
  149. package/lib/request/delete-model-request.js.map +1 -0
  150. package/lib/request/delete-project-request.d.ts +35 -0
  151. package/lib/request/delete-project-request.js +15 -0
  152. package/lib/request/delete-project-request.js.map +1 -0
  153. package/lib/request/get-model-request.d.ts +26 -0
  154. package/lib/request/get-model-request.js +15 -0
  155. package/lib/request/get-model-request.js.map +1 -0
  156. package/lib/request/get-processor-job-request.d.ts +1 -1
  157. package/lib/request/get-project-request.d.ts +26 -0
  158. package/lib/request/get-project-request.js +15 -0
  159. package/lib/request/get-project-request.js.map +1 -0
  160. package/lib/request/get-work-request-request.d.ts +26 -0
  161. package/lib/request/get-work-request-request.js +15 -0
  162. package/lib/request/get-work-request-request.js.map +1 -0
  163. package/lib/request/index.d.ts +34 -0
  164. package/lib/request/index.js +30 -0
  165. package/lib/request/index.js.map +1 -1
  166. package/lib/request/list-models-request.d.ts +66 -0
  167. package/lib/request/list-models-request.js +24 -0
  168. package/lib/request/list-models-request.js.map +1 -0
  169. package/lib/request/list-projects-request.d.ts +62 -0
  170. package/lib/request/list-projects-request.js +24 -0
  171. package/lib/request/list-projects-request.js.map +1 -0
  172. package/lib/request/list-work-request-errors-request.d.ts +49 -0
  173. package/lib/request/list-work-request-errors-request.js +23 -0
  174. package/lib/request/list-work-request-errors-request.js.map +1 -0
  175. package/lib/request/list-work-request-logs-request.d.ts +49 -0
  176. package/lib/request/list-work-request-logs-request.js +23 -0
  177. package/lib/request/list-work-request-logs-request.js.map +1 -0
  178. package/lib/request/list-work-requests-request.d.ts +61 -0
  179. package/lib/request/list-work-requests-request.js +23 -0
  180. package/lib/request/list-work-requests-request.js.map +1 -0
  181. package/lib/request/update-model-request.d.ts +40 -0
  182. package/lib/request/update-model-request.js +15 -0
  183. package/lib/request/update-model-request.js.map +1 -0
  184. package/lib/request/update-project-request.d.ts +40 -0
  185. package/lib/request/update-project-request.js +15 -0
  186. package/lib/request/update-project-request.js.map +1 -0
  187. package/lib/response/cancel-work-request-response.d.ts +20 -0
  188. package/lib/response/cancel-work-request-response.js +15 -0
  189. package/lib/response/cancel-work-request-response.js.map +1 -0
  190. package/lib/response/change-model-compartment-response.d.ts +20 -0
  191. package/lib/response/change-model-compartment-response.js +15 -0
  192. package/lib/response/change-model-compartment-response.js.map +1 -0
  193. package/lib/response/change-project-compartment-response.d.ts +20 -0
  194. package/lib/response/change-project-compartment-response.js +15 -0
  195. package/lib/response/change-project-compartment-response.js.map +1 -0
  196. package/lib/response/create-model-response.d.ts +45 -0
  197. package/lib/response/create-model-response.js +15 -0
  198. package/lib/response/create-model-response.js.map +1 -0
  199. package/lib/response/create-project-response.d.ts +45 -0
  200. package/lib/response/create-project-response.js +15 -0
  201. package/lib/response/create-project-response.js.map +1 -0
  202. package/lib/response/delete-model-response.d.ts +25 -0
  203. package/lib/response/delete-model-response.js +15 -0
  204. package/lib/response/delete-model-response.js.map +1 -0
  205. package/lib/response/delete-project-response.d.ts +25 -0
  206. package/lib/response/delete-project-response.js +15 -0
  207. package/lib/response/delete-project-response.js.map +1 -0
  208. package/lib/response/get-model-response.d.ts +30 -0
  209. package/lib/response/get-model-response.js +15 -0
  210. package/lib/response/get-model-response.js.map +1 -0
  211. package/lib/response/get-project-response.d.ts +30 -0
  212. package/lib/response/get-project-response.js +15 -0
  213. package/lib/response/get-project-response.js.map +1 -0
  214. package/lib/response/get-work-request-response.d.ts +34 -0
  215. package/lib/response/get-work-request-response.js +15 -0
  216. package/lib/response/get-work-request-response.js.map +1 -0
  217. package/lib/response/index.d.ts +34 -0
  218. package/lib/response/list-models-response.d.ts +32 -0
  219. package/lib/response/list-models-response.js +15 -0
  220. package/lib/response/list-models-response.js.map +1 -0
  221. package/lib/response/list-projects-response.d.ts +32 -0
  222. package/lib/response/list-projects-response.js +15 -0
  223. package/lib/response/list-projects-response.js.map +1 -0
  224. package/lib/response/list-work-request-errors-response.d.ts +32 -0
  225. package/lib/response/list-work-request-errors-response.js +15 -0
  226. package/lib/response/list-work-request-errors-response.js.map +1 -0
  227. package/lib/response/list-work-request-logs-response.d.ts +32 -0
  228. package/lib/response/list-work-request-logs-response.js +15 -0
  229. package/lib/response/list-work-request-logs-response.js.map +1 -0
  230. package/lib/response/list-work-requests-response.d.ts +32 -0
  231. package/lib/response/list-work-requests-response.js +15 -0
  232. package/lib/response/list-work-requests-response.js.map +1 -0
  233. package/lib/response/update-model-response.d.ts +25 -0
  234. package/lib/response/update-model-response.js +15 -0
  235. package/lib/response/update-model-response.js.map +1 -0
  236. package/lib/response/update-project-response.d.ts +25 -0
  237. package/lib/response/update-project-response.js +15 -0
  238. package/lib/response/update-project-response.js.map +1 -0
  239. package/package.json +3 -3
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.KeyValueDetectionOverallMetricsReport = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var KeyValueDetectionOverallMetricsReport;
37
+ (function (KeyValueDetectionOverallMetricsReport) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "confidenceEntries": obj.confidenceEntries
41
+ ? obj.confidenceEntries.map(item => {
42
+ return model.KeyValueDetectionConfidenceEntry.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ KeyValueDetectionOverallMetricsReport.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "confidenceEntries": obj.confidenceEntries
52
+ ? obj.confidenceEntries.map(item => {
53
+ return model.KeyValueDetectionConfidenceEntry.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ KeyValueDetectionOverallMetricsReport.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(KeyValueDetectionOverallMetricsReport = exports.KeyValueDetectionOverallMetricsReport || (exports.KeyValueDetectionOverallMetricsReport = {}));
61
+ //# sourceMappingURL=key-value-detection-overall-metrics-report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-value-detection-overall-metrics-report.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/key-value-detection-overall-metrics-report.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,qCAAqC,CA6BrD;AA7BD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QA6BrD"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * The results of a model search.
16
+ */
17
+ export interface ModelCollection {
18
+ /**
19
+ * A list of models.
20
+ */
21
+ "items": Array<model.ModelSummary>;
22
+ }
23
+ export declare namespace ModelCollection {
24
+ function getJsonObj(obj: ModelCollection): object;
25
+ function getDeserializedJsonObj(obj: ModelCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ModelCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ModelCollection;
37
+ (function (ModelCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.ModelSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ ModelCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.ModelSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ ModelCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(ModelCollection = exports.ModelCollection || (exports.ModelCollection = {}));
61
+ //# sourceMappingURL=model-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-collection.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,eAAe,CA6B/B;AA7BD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA6B/B"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Trained Model Metrics.
16
+ */
17
+ export interface ModelMetrics {
18
+ "datasetSummary"?: model.DatasetSummary;
19
+ "modelType": string;
20
+ }
21
+ export declare namespace ModelMetrics {
22
+ function getJsonObj(obj: ModelMetrics): object;
23
+ function getDeserializedJsonObj(obj: ModelMetrics): object;
24
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ModelMetrics = void 0;
35
+ const model = __importStar(require("../model"));
36
+ const common = require("oci-common");
37
+ var ModelMetrics;
38
+ (function (ModelMetrics) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "datasetSummary": obj.datasetSummary
42
+ ? model.DatasetSummary.getJsonObj(obj.datasetSummary)
43
+ : undefined
44
+ });
45
+ if (obj && "modelType" in obj && obj.modelType) {
46
+ switch (obj.modelType) {
47
+ case "DOCUMENT_CLASSIFICATION":
48
+ return model.DocumentClassificationModelMetrics.getJsonObj(jsonObj, true);
49
+ case "KEY_VALUE_EXTRACTION":
50
+ return model.KeyValueDetectionModelMetrics.getJsonObj(jsonObj, true);
51
+ default:
52
+ if (common.LOG.logger)
53
+ common.LOG.logger.info(`Unknown value for: ${obj.modelType}`);
54
+ }
55
+ }
56
+ return jsonObj;
57
+ }
58
+ ModelMetrics.getJsonObj = getJsonObj;
59
+ function getDeserializedJsonObj(obj) {
60
+ const jsonObj = Object.assign(Object.assign({}, obj), {
61
+ "datasetSummary": obj.datasetSummary
62
+ ? model.DatasetSummary.getDeserializedJsonObj(obj.datasetSummary)
63
+ : undefined
64
+ });
65
+ if (obj && "modelType" in obj && obj.modelType) {
66
+ switch (obj.modelType) {
67
+ case "DOCUMENT_CLASSIFICATION":
68
+ return model.DocumentClassificationModelMetrics.getDeserializedJsonObj(jsonObj, true);
69
+ case "KEY_VALUE_EXTRACTION":
70
+ return model.KeyValueDetectionModelMetrics.getDeserializedJsonObj(jsonObj, true);
71
+ default:
72
+ if (common.LOG.logger)
73
+ common.LOG.logger.info(`Unknown value for: ${obj.modelType}`);
74
+ }
75
+ }
76
+ return jsonObj;
77
+ }
78
+ ModelMetrics.getDeserializedJsonObj = getDeserializedJsonObj;
79
+ })(ModelMetrics = exports.ModelMetrics || (exports.ModelMetrics = {}));
80
+ //# sourceMappingURL=model-metrics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-metrics.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model-metrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAWtC,IAAiB,YAAY,CAyD5B;AAzDD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,yBAAyB;oBAC5B,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,sBAAsB;oBACzB,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,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA3Be,uBAAU,aA2BzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,yBAAyB;oBAC5B,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ,KAAK,sBAAsB;oBACzB,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,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA3Be,mCAAsB,yBA2BrC,CAAA;AACH,CAAC,EAzDgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyD5B"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * The metadata about the model.
16
+ */
17
+ export interface ModelSummary {
18
+ /**
19
+ * A unique identifier that is immutable after creation.
20
+ */
21
+ "id": string;
22
+ /**
23
+ * A human-friendly name for the model, which can be changed.
24
+ */
25
+ "displayName"?: string;
26
+ /**
27
+ * An optional description of the model.
28
+ */
29
+ "description"?: string;
30
+ /**
31
+ * The compartment identifier.
32
+ */
33
+ "compartmentId": string;
34
+ /**
35
+ * The type of the Document model.
36
+ */
37
+ "modelType": string;
38
+ /**
39
+ * The version of the model.
40
+ */
41
+ "modelVersion": string;
42
+ /**
43
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.
44
+ */
45
+ "projectId": string;
46
+ /**
47
+ * When the model was created, as an RFC3339 datetime string.
48
+ */
49
+ "timeCreated": Date;
50
+ /**
51
+ * When the model was modified, as an RFC3339 datetime string.
52
+ */
53
+ "timeUpdated"?: Date;
54
+ /**
55
+ * The current state of the model.
56
+ */
57
+ "lifecycleState": string;
58
+ /**
59
+ * A message describing the current state in more detail, that can provide actionable information if training failed.
60
+ */
61
+ "lifecycleDetails"?: string;
62
+ /**
63
+ * The precision of the trained model. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
64
+ */
65
+ "precision"?: number;
66
+ "trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
67
+ "testingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
68
+ "validationDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
69
+ /**
70
+ * A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.
71
+ * For example: `{\"bar-key\": \"value\"}`
72
+ *
73
+ */
74
+ "freeformTags"?: {
75
+ [key: string]: string;
76
+ };
77
+ /**
78
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
79
+ * For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
80
+ *
81
+ */
82
+ "definedTags"?: {
83
+ [key: string]: {
84
+ [key: string]: any;
85
+ };
86
+ };
87
+ /**
88
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
89
+ * For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
90
+ *
91
+ */
92
+ "systemTags"?: {
93
+ [key: string]: {
94
+ [key: string]: any;
95
+ };
96
+ };
97
+ }
98
+ export declare namespace ModelSummary {
99
+ function getJsonObj(obj: ModelSummary): object;
100
+ function getDeserializedJsonObj(obj: ModelSummary): object;
101
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ModelSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ModelSummary;
37
+ (function (ModelSummary) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "trainingDataset": obj.trainingDataset
41
+ ? model.Dataset.getJsonObj(obj.trainingDataset)
42
+ : undefined,
43
+ "testingDataset": obj.testingDataset
44
+ ? model.Dataset.getJsonObj(obj.testingDataset)
45
+ : undefined,
46
+ "validationDataset": obj.validationDataset
47
+ ? model.Dataset.getJsonObj(obj.validationDataset)
48
+ : undefined
49
+ });
50
+ return jsonObj;
51
+ }
52
+ ModelSummary.getJsonObj = getJsonObj;
53
+ function getDeserializedJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {
55
+ "trainingDataset": obj.trainingDataset
56
+ ? model.Dataset.getDeserializedJsonObj(obj.trainingDataset)
57
+ : undefined,
58
+ "testingDataset": obj.testingDataset
59
+ ? model.Dataset.getDeserializedJsonObj(obj.testingDataset)
60
+ : undefined,
61
+ "validationDataset": obj.validationDataset
62
+ ? model.Dataset.getDeserializedJsonObj(obj.validationDataset)
63
+ : undefined
64
+ });
65
+ return jsonObj;
66
+ }
67
+ ModelSummary.getDeserializedJsonObj = getDeserializedJsonObj;
68
+ })(ModelSummary = exports.ModelSummary || (exports.ModelSummary = {}));
69
+ //# sourceMappingURL=model-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-summary.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/model-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ElC,IAAiB,YAAY,CAqC5B;AArCD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC/C,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC9C,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,uBAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC1D,CAAC,CAAC,SAAS;YACb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,mCAAsB,yBAiBrC,CAAA;AACH,CAAC,EArCgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqC5B"}
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Machine-learned Model.
16
+ */
17
+ export interface Model {
18
+ /**
19
+ * A unique identifier that is immutable after creation.
20
+ */
21
+ "id": string;
22
+ /**
23
+ * A human-friendly name for the model, which can be changed.
24
+ */
25
+ "displayName"?: string;
26
+ /**
27
+ * An optional description of the model.
28
+ */
29
+ "description"?: string;
30
+ /**
31
+ * The compartment identifier.
32
+ */
33
+ "compartmentId": string;
34
+ /**
35
+ * The type of the Document model.
36
+ */
37
+ "modelType": Model.ModelType;
38
+ /**
39
+ * The collection of labels used to train the custom model.
40
+ */
41
+ "labels"?: Array<string>;
42
+ /**
43
+ * Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.
44
+ */
45
+ "isQuickMode"?: boolean;
46
+ /**
47
+ * The maximum model training time in hours, expressed as a decimal fraction. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
48
+ */
49
+ "maxTrainingTimeInHours"?: number;
50
+ /**
51
+ * The total hours actually used for model training. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
52
+ */
53
+ "trainedTimeInHours"?: number;
54
+ "trainingDataset": model.DataScienceLabelingDataset | model.ObjectStorageDataset;
55
+ "testingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
56
+ "validationDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
57
+ /**
58
+ * The version of the model.
59
+ */
60
+ "modelVersion": string;
61
+ /**
62
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model.
63
+ */
64
+ "projectId": string;
65
+ /**
66
+ * When the model was created, as an RFC3339 datetime string.
67
+ */
68
+ "timeCreated": Date;
69
+ /**
70
+ * When the model was updated, as an RFC3339 datetime string.
71
+ */
72
+ "timeUpdated"?: Date;
73
+ /**
74
+ * The current state of the model.
75
+ */
76
+ "lifecycleState": Model.LifecycleState;
77
+ /**
78
+ * A message describing the current state in more detail, that can provide actionable information if training failed.
79
+ */
80
+ "lifecycleDetails"?: string;
81
+ "metrics"?: model.DocumentClassificationModelMetrics | model.KeyValueDetectionModelMetrics;
82
+ /**
83
+ * A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only.
84
+ * For example: `{\"bar-key\": \"value\"}`
85
+ *
86
+ */
87
+ "freeformTags"?: {
88
+ [key: string]: string;
89
+ };
90
+ /**
91
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
92
+ * For example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
93
+ *
94
+ */
95
+ "definedTags"?: {
96
+ [key: string]: {
97
+ [key: string]: any;
98
+ };
99
+ };
100
+ /**
101
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
102
+ * For example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
103
+ *
104
+ */
105
+ "systemTags"?: {
106
+ [key: string]: {
107
+ [key: string]: any;
108
+ };
109
+ };
110
+ }
111
+ export declare namespace Model {
112
+ enum ModelType {
113
+ KeyValueExtraction = "KEY_VALUE_EXTRACTION",
114
+ DocumentClassification = "DOCUMENT_CLASSIFICATION",
115
+ /**
116
+ * This value is used if a service returns a value for this enum that is not recognized by this
117
+ * version of the SDK.
118
+ */
119
+ UnknownValue = "UNKNOWN_VALUE"
120
+ }
121
+ enum LifecycleState {
122
+ Creating = "CREATING",
123
+ Updating = "UPDATING",
124
+ Active = "ACTIVE",
125
+ Deleting = "DELETING",
126
+ Deleted = "DELETED",
127
+ Failed = "FAILED",
128
+ /**
129
+ * This value is used if a service returns a value for this enum that is not recognized by this
130
+ * version of the SDK.
131
+ */
132
+ UnknownValue = "UNKNOWN_VALUE"
133
+ }
134
+ function getJsonObj(obj: Model): object;
135
+ function getDeserializedJsonObj(obj: Model): object;
136
+ }