oci-modeldeployment 2.109.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.
Files changed (35) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +23 -0
  6. package/index.js +46 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +111 -0
  9. package/lib/client.js +303 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/index.d.ts +17 -0
  12. package/lib/model/index.js +40 -0
  13. package/lib/model/index.js.map +1 -0
  14. package/lib/model/inference-result.d.ts +28 -0
  15. package/lib/model/inference-result.js +32 -0
  16. package/lib/model/inference-result.js.map +1 -0
  17. package/lib/request/index.d.ts +19 -0
  18. package/lib/request/index.js +18 -0
  19. package/lib/request/index.js.map +1 -0
  20. package/lib/request/predict-request.d.ts +30 -0
  21. package/lib/request/predict-request.js +15 -0
  22. package/lib/request/predict-request.js.map +1 -0
  23. package/lib/request/predict-with-response-stream-request.d.ts +30 -0
  24. package/lib/request/predict-with-response-stream-request.js +15 -0
  25. package/lib/request/predict-with-response-stream-request.js.map +1 -0
  26. package/lib/response/index.d.ts +19 -0
  27. package/lib/response/index.js +18 -0
  28. package/lib/response/index.js.map +1 -0
  29. package/lib/response/predict-response.d.ts +24 -0
  30. package/lib/response/predict-response.js +15 -0
  31. package/lib/response/predict-response.js.map +1 -0
  32. package/lib/response/predict-with-response-stream-response.d.ts +26 -0
  33. package/lib/response/predict-with-response-stream-response.js +15 -0
  34. package/lib/response/predict-with-response-stream-response.js.map +1 -0
  35. package/package.json +29 -0
@@ -0,0 +1,111 @@
1
+ /**
2
+ * Model Deployment Data Plane API
3
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
4
+
5
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
6
+
7
+ * OpenAPI spec version: 20240424
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2025, 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 common = require("oci-common");
17
+ import * as requests from "./request";
18
+ import * as responses from "./response";
19
+ declare const Breaker: any;
20
+ export declare enum ModelDeploymentApiKeys {
21
+ }
22
+ /**
23
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
24
+ */
25
+ export declare class ModelDeploymentClient {
26
+ protected static serviceEndpointTemplate: string;
27
+ protected static endpointServiceName: string;
28
+ protected static serviceEndpointTemplatePerRealm: {
29
+ oc1: string;
30
+ };
31
+ protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
32
+ protected "_endpoint": string;
33
+ protected "_defaultHeaders": any;
34
+ protected "_clientConfiguration": common.ClientConfiguration;
35
+ protected _circuitBreaker: typeof Breaker | null;
36
+ protected _httpOptions: any;
37
+ protected _bodyDuplexMode: any;
38
+ targetService: string;
39
+ protected _regionId: string;
40
+ protected "_region": common.Region;
41
+ protected _lastSetRegionOrRegionId: string;
42
+ protected _httpClient: common.HttpClient;
43
+ protected _authProvider: common.AuthenticationDetailsProvider | undefined;
44
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
45
+ /**
46
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
47
+ */
48
+ get endpoint(): string;
49
+ /**
50
+ * Sets the endpoint to call (ex, https://www.example.com).
51
+ * @param endpoint The endpoint of the service.
52
+ */
53
+ set endpoint(endpoint: string);
54
+ get logger(): import("oci-common/lib/log").Logger;
55
+ /**
56
+ * Determines whether realm specific endpoint should be used or not.
57
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
58
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
59
+ */
60
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
61
+ /**
62
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
63
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
64
+ * @param region The region of the service.
65
+ */
66
+ set region(region: common.Region);
67
+ /**
68
+ * Sets the regionId to call (ex, 'us-phoenix-1').
69
+ *
70
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
71
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
72
+ * and then call {@link #endpoint(String) endpoint}.
73
+ * @param regionId The public region ID.
74
+ */
75
+ set regionId(regionId: string);
76
+ /**
77
+ * Shutdown the circuit breaker used by the client when it is no longer needed
78
+ */
79
+ shutdownCircuitBreaker(): void;
80
+ /**
81
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
82
+ */
83
+ closeProvider(): void;
84
+ /**
85
+ * Close the client once it is no longer needed
86
+ */
87
+ close(): void;
88
+ /**
89
+ * Invoking a model deployment calls the predict endpoint of the model deployment URI.
90
+ * This endpoint takes sample data as input and is processed using the predict() function in score.py model artifact file
91
+ *
92
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
93
+ * @param PredictRequest
94
+ * @return PredictResponse
95
+ * @throws OciError when an error occurs
96
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/modeldeployment/Predict.ts.html |here} to see how to use Predict API.
97
+ */
98
+ predict(predictRequest: requests.PredictRequest): Promise<responses.PredictResponse>;
99
+ /**
100
+ * Invoking a model deployment calls the predictWithResponseStream endpoint of the model deployment URI to get the streaming result.
101
+ * This endpoint takes sample data as input and is processed using the predict() function in score.py model artifact file
102
+ *
103
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
104
+ * @param PredictWithResponseStreamRequest
105
+ * @return PredictWithResponseStreamResponse
106
+ * @throws OciError when an error occurs
107
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/modeldeployment/PredictWithResponseStream.ts.html |here} to see how to use PredictWithResponseStream API.
108
+ */
109
+ predictWithResponseStream(predictWithResponseStreamRequest: requests.PredictWithResponseStreamRequest): Promise<responses.PredictWithResponseStreamResponse | ReadableStream<Uint8Array> | null>;
110
+ }
111
+ export {};
package/lib/client.js ADDED
@@ -0,0 +1,303 @@
1
+ "use strict";
2
+ /**
3
+ * Model Deployment Data Plane API
4
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
5
+
6
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
7
+
8
+ * OpenAPI spec version: 20240424
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2025, 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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
18
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19
+ return new (P || (P = Promise))(function (resolve, reject) {
20
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
21
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
22
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
23
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
24
+ });
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.ModelDeploymentClient = exports.ModelDeploymentApiKeys = void 0;
28
+ const common = require("oci-common");
29
+ const oci_common_1 = require("oci-common");
30
+ const Breaker = require("opossum");
31
+ // ===============================================
32
+ // This file is autogenerated - Please do not edit
33
+ // ===============================================
34
+ var ModelDeploymentApiKeys;
35
+ (function (ModelDeploymentApiKeys) {
36
+ })(ModelDeploymentApiKeys = exports.ModelDeploymentApiKeys || (exports.ModelDeploymentApiKeys = {}));
37
+ /**
38
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
39
+ */
40
+ class ModelDeploymentClient {
41
+ constructor(params, clientConfiguration) {
42
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
43
+ this["_endpoint"] = "";
44
+ this["_defaultHeaders"] = {};
45
+ this._circuitBreaker = null;
46
+ this._httpOptions = undefined;
47
+ this._bodyDuplexMode = undefined;
48
+ this.targetService = "ModelDeployment";
49
+ this._regionId = "";
50
+ this._lastSetRegionOrRegionId = "";
51
+ const requestSigner = params.authenticationDetailsProvider
52
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
53
+ : null;
54
+ this._authProvider = params.authenticationDetailsProvider;
55
+ if (clientConfiguration) {
56
+ this._clientConfiguration = clientConfiguration;
57
+ this._circuitBreaker = clientConfiguration.circuitBreaker
58
+ ? clientConfiguration.circuitBreaker.circuit
59
+ : null;
60
+ this._httpOptions = clientConfiguration.httpOptions
61
+ ? clientConfiguration.httpOptions
62
+ : undefined;
63
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
64
+ ? clientConfiguration.bodyDuplexMode
65
+ : undefined;
66
+ }
67
+ if (!oci_common_1.developerToolConfiguration.isServiceEnabled("modeldeployment")) {
68
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
69
+ throw errmsg.concat("modeldeployment");
70
+ }
71
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
72
+ const specCircuitBreakerEnabled = true;
73
+ if (!this._circuitBreaker &&
74
+ common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
75
+ (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
76
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
77
+ }
78
+ this._httpClient =
79
+ params.httpClient ||
80
+ new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
81
+ if (params.authenticationDetailsProvider &&
82
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
83
+ const provider = params.authenticationDetailsProvider;
84
+ if (provider.getRegion()) {
85
+ this.region = provider.getRegion();
86
+ }
87
+ }
88
+ }
89
+ /**
90
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
91
+ */
92
+ get endpoint() {
93
+ return this._endpoint;
94
+ }
95
+ /**
96
+ * Sets the endpoint to call (ex, https://www.example.com).
97
+ * @param endpoint The endpoint of the service.
98
+ */
99
+ set endpoint(endpoint) {
100
+ this._endpoint = endpoint;
101
+ if (this.logger)
102
+ this.logger.info(`ModelDeploymentClient endpoint set to ${this._endpoint}`);
103
+ }
104
+ get logger() {
105
+ return common.LOG.logger;
106
+ }
107
+ /**
108
+ * Determines whether realm specific endpoint should be used or not.
109
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
110
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
111
+ */
112
+ set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
113
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
114
+ if (this.logger)
115
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
116
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
117
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ModelDeploymentClient.serviceEndpointTemplate, this._region, ModelDeploymentClient.endpointServiceName, ModelDeploymentClient.serviceEndpointTemplatePerRealm, this._realmSpecificEndpointTemplateEnabled);
118
+ }
119
+ else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
120
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ModelDeploymentClient.serviceEndpointTemplate, this._regionId, ModelDeploymentClient.endpointServiceName, ModelDeploymentClient.serviceEndpointTemplatePerRealm, this._realmSpecificEndpointTemplateEnabled);
121
+ }
122
+ }
123
+ /**
124
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
125
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
126
+ * @param region The region of the service.
127
+ */
128
+ set region(region) {
129
+ this._region = region;
130
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ModelDeploymentClient.serviceEndpointTemplate, region, ModelDeploymentClient.endpointServiceName, ModelDeploymentClient.serviceEndpointTemplatePerRealm, this._realmSpecificEndpointTemplateEnabled);
131
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
132
+ }
133
+ /**
134
+ * Sets the regionId to call (ex, 'us-phoenix-1').
135
+ *
136
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
137
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
138
+ * and then call {@link #endpoint(String) endpoint}.
139
+ * @param regionId The public region ID.
140
+ */
141
+ set regionId(regionId) {
142
+ this._regionId = regionId;
143
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ModelDeploymentClient.serviceEndpointTemplate, regionId, ModelDeploymentClient.endpointServiceName, ModelDeploymentClient.serviceEndpointTemplatePerRealm, this._realmSpecificEndpointTemplateEnabled);
144
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
145
+ }
146
+ /**
147
+ * Shutdown the circuit breaker used by the client when it is no longer needed
148
+ */
149
+ shutdownCircuitBreaker() {
150
+ if (this._circuitBreaker) {
151
+ this._circuitBreaker.shutdown();
152
+ }
153
+ }
154
+ /**
155
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
156
+ */
157
+ closeProvider() {
158
+ if (this._authProvider) {
159
+ if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
160
+ (this._authProvider).closeProvider();
161
+ }
162
+ }
163
+ /**
164
+ * Close the client once it is no longer needed
165
+ */
166
+ close() {
167
+ this.shutdownCircuitBreaker();
168
+ this.closeProvider();
169
+ }
170
+ /**
171
+ * Invoking a model deployment calls the predict endpoint of the model deployment URI.
172
+ * This endpoint takes sample data as input and is processed using the predict() function in score.py model artifact file
173
+ *
174
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
175
+ * @param PredictRequest
176
+ * @return PredictResponse
177
+ * @throws OciError when an error occurs
178
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/modeldeployment/Predict.ts.html |here} to see how to use Predict API.
179
+ */
180
+ predict(predictRequest) {
181
+ return __awaiter(this, void 0, void 0, function* () {
182
+ if (this.logger)
183
+ this.logger.debug("Calling operation ModelDeploymentClient#predict.");
184
+ const operationName = "predict";
185
+ const apiReferenceLink = "";
186
+ const pathParams = {
187
+ "{modelDeploymentId}": predictRequest.modelDeploymentId
188
+ };
189
+ const queryParams = {};
190
+ let headerParams = {
191
+ "Content-Type": common.Constants.APPLICATION_JSON,
192
+ "opc-request-id": predictRequest.opcRequestId
193
+ };
194
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
195
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, predictRequest.retryConfiguration, specRetryConfiguration);
196
+ if (this.logger)
197
+ retrier.logger = this.logger;
198
+ const request = yield oci_common_1.composeRequest({
199
+ baseEndpoint: this._endpoint,
200
+ defaultHeaders: this._defaultHeaders,
201
+ path: "/{modelDeploymentId}/predict",
202
+ method: "POST",
203
+ bodyContent: common.ObjectSerializer.serialize(predictRequest.requestBody, "string"),
204
+ pathParams: pathParams,
205
+ headerParams: headerParams,
206
+ queryParams: queryParams
207
+ });
208
+ try {
209
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
210
+ const sdkResponse = oci_common_1.composeResponse({
211
+ responseObject: {},
212
+ body: yield response.json(),
213
+ bodyKey: "value",
214
+ bodyModel: "string",
215
+ type: "string",
216
+ responseHeaders: [
217
+ {
218
+ value: response.headers.get("opc-request-id"),
219
+ key: "opcRequestId",
220
+ dataType: "string"
221
+ }
222
+ ]
223
+ });
224
+ return sdkResponse;
225
+ }
226
+ catch (err) {
227
+ throw err;
228
+ }
229
+ });
230
+ }
231
+ /**
232
+ * Invoking a model deployment calls the predictWithResponseStream endpoint of the model deployment URI to get the streaming result.
233
+ * This endpoint takes sample data as input and is processed using the predict() function in score.py model artifact file
234
+ *
235
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
236
+ * @param PredictWithResponseStreamRequest
237
+ * @return PredictWithResponseStreamResponse
238
+ * @throws OciError when an error occurs
239
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/modeldeployment/PredictWithResponseStream.ts.html |here} to see how to use PredictWithResponseStream API.
240
+ */
241
+ predictWithResponseStream(predictWithResponseStreamRequest) {
242
+ return __awaiter(this, void 0, void 0, function* () {
243
+ if (this.logger)
244
+ this.logger.debug("Calling operation ModelDeploymentClient#predictWithResponseStream.");
245
+ const operationName = "predictWithResponseStream";
246
+ const apiReferenceLink = "";
247
+ const pathParams = {
248
+ "{modelDeploymentId}": predictWithResponseStreamRequest.modelDeploymentId
249
+ };
250
+ const queryParams = {};
251
+ let headerParams = {
252
+ "Content-Type": common.Constants.APPLICATION_JSON,
253
+ "opc-request-id": predictWithResponseStreamRequest.opcRequestId
254
+ };
255
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
256
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, predictWithResponseStreamRequest.retryConfiguration, specRetryConfiguration);
257
+ if (this.logger)
258
+ retrier.logger = this.logger;
259
+ const request = yield oci_common_1.composeRequest({
260
+ baseEndpoint: this._endpoint,
261
+ defaultHeaders: this._defaultHeaders,
262
+ path: "/{modelDeploymentId}/predictWithResponseStream",
263
+ method: "POST",
264
+ bodyContent: common.ObjectSerializer.serialize(predictWithResponseStreamRequest.requestBody, "string"),
265
+ pathParams: pathParams,
266
+ headerParams: headerParams,
267
+ queryParams: queryParams
268
+ });
269
+ try {
270
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
271
+ if (response.headers &&
272
+ response.headers.get(common.Constants.CONTENT_TYPE_HEADER) ===
273
+ common.Constants.SERVER_SIDE_EVENT_TEXT_STREAM) {
274
+ return response.body;
275
+ }
276
+ const sdkResponse = oci_common_1.composeResponse({
277
+ responseObject: {},
278
+ body: response.body,
279
+ bodyKey: "value",
280
+ bodyModel: "string",
281
+ responseHeaders: [
282
+ {
283
+ value: response.headers.get("opc-request-id"),
284
+ key: "opcRequestId",
285
+ dataType: "string"
286
+ }
287
+ ]
288
+ });
289
+ return sdkResponse;
290
+ }
291
+ catch (err) {
292
+ throw err;
293
+ }
294
+ });
295
+ }
296
+ }
297
+ exports.ModelDeploymentClient = ModelDeploymentClient;
298
+ ModelDeploymentClient.serviceEndpointTemplate = "https://md.datascience.{region}.oci.{secondLevelDomain}";
299
+ ModelDeploymentClient.endpointServiceName = "";
300
+ ModelDeploymentClient.serviceEndpointTemplatePerRealm = {
301
+ "oc1": "https://modeldeployment.{region}.oci.customer-oci.com"
302
+ };
303
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/modeldeployment/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;AAEH,qCAAsC;AAItC,2CAKoB;AACpB,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAEnC,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,sBAAyB;AAArC,WAAY,sBAAsB;AAAE,CAAC,EAAzB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAAG;AACrC;;GAEG;AACH,MAAa,qBAAqB;IAsBhC,YAAY,MAAyB,EAAE,mBAAgD;QAf7E,6CAAuC,GAAwB,SAAS,CAAC;QACzE,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAA0B,IAAI,CAAC;QAC9C,iBAAY,GAAQ,SAAS,CAAC;QAC9B,oBAAe,GAAQ,SAAS,CAAC;QACpC,kBAAa,GAAG,iBAAiB,CAAC;QAC/B,cAAS,GAAW,EAAE,CAAC;QAEvB,6BAAwB,GAAW,EAAE,CAAC;QAM9C,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,6BAA6B,CAAC;QAC1D,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC,cAAc;gBACvD,CAAC,CAAC,mBAAmB,CAAC,cAAe,CAAC,OAAO;gBAC7C,CAAC,CAAC,IAAI,CAAC;YACT,IAAI,CAAC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DAA+B,GAAG;IACjD,KAAK,EAAE,uDAAuD;CAC/D,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Model Deployment Data Plane API
3
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
4
+
5
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
6
+
7
+ * OpenAPI spec version: 20240424
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2025, 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 InferenceResult from "./inference-result";
17
+ export import InferenceResult = InferenceResult.InferenceResult;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * Model Deployment Data Plane API
4
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
5
+
6
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
7
+
8
+ * OpenAPI spec version: 20240424
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2025, 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.InferenceResult = void 0;
38
+ const InferenceResult = __importStar(require("./inference-result"));
39
+ exports.InferenceResult = InferenceResult.InferenceResult;
40
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/modeldeployment/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Model Deployment Data Plane API
3
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
4
+
5
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
6
+
7
+ * OpenAPI spec version: 20240424
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2025, 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
+ * A model used in x-related-resource for grouping actions with no returned body.
18
+ */
19
+ export interface InferenceResult {
20
+ /**
21
+ * The predict result returned by model
22
+ */
23
+ "data": string;
24
+ }
25
+ export declare namespace InferenceResult {
26
+ function getJsonObj(obj: InferenceResult): object;
27
+ function getDeserializedJsonObj(obj: InferenceResult): object;
28
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * Model Deployment Data Plane API
4
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
5
+
6
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
7
+
8
+ * OpenAPI spec version: 20240424
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2025, 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.InferenceResult = void 0;
19
+ var InferenceResult;
20
+ (function (InferenceResult) {
21
+ function getJsonObj(obj) {
22
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
23
+ return jsonObj;
24
+ }
25
+ InferenceResult.getJsonObj = getJsonObj;
26
+ function getDeserializedJsonObj(obj) {
27
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
28
+ return jsonObj;
29
+ }
30
+ InferenceResult.getDeserializedJsonObj = getDeserializedJsonObj;
31
+ })(InferenceResult = exports.InferenceResult || (exports.InferenceResult = {}));
32
+ //# sourceMappingURL=inference-result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inference-result.js","sourceRoot":"","sources":["../../../../../lib/modeldeployment/lib/model/inference-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAeH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Model Deployment Data Plane API
3
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
4
+
5
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
6
+
7
+ * OpenAPI spec version: 20240424
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OracleSDKGenerator.
11
+ * Do not edit the class manually.
12
+ *
13
+ * Copyright (c) 2020, 2025, 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 PredictRequest from "./predict-request";
17
+ export import PredictRequest = PredictRequest.PredictRequest;
18
+ import * as PredictWithResponseStreamRequest from "./predict-with-response-stream-request";
19
+ export import PredictWithResponseStreamRequest = PredictWithResponseStreamRequest.PredictWithResponseStreamRequest;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Model Deployment Data Plane API
4
+ * Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
5
+
6
+ For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
7
+
8
+ * OpenAPI spec version: 20240424
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2025, 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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/modeldeployment/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240424
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/modeldeployment/Predict.ts.html |here} to see how to use PredictRequest.
16
+ */
17
+ export interface PredictRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment.
20
+ */
21
+ "modelDeploymentId": string;
22
+ /**
23
+ * Input data details for making a prediction call
24
+ */
25
+ "requestBody": string;
26
+ /**
27
+ * Unique Oracle identifier for request
28
+ */
29
+ "opcRequestId"?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240424
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=predict-request.js.map