@sap-ai-sdk/rpt 2.17.1-20261109011151.0 → 2.18.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.
|
@@ -8,7 +8,7 @@ import type { PredictRequestPayload, PredictResponsePayload, BodyPredictParquet
|
|
|
8
8
|
export declare const RptApi: {
|
|
9
9
|
_defaultBasePath: undefined;
|
|
10
10
|
/**
|
|
11
|
-
* Create a request builder for execution of post requests to the
|
|
11
|
+
* Create a request builder for execution of post requests to the "/predict" endpoint.
|
|
12
12
|
* @param body - Request body.
|
|
13
13
|
* @param headerParameters - Object containing the following keys: Content-Encoding.
|
|
14
14
|
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
@@ -17,13 +17,13 @@ export declare const RptApi: {
|
|
|
17
17
|
'Content-Encoding'?: 'gzip';
|
|
18
18
|
}) => OpenApiRequestBuilder<PredictResponsePayload>;
|
|
19
19
|
/**
|
|
20
|
-
* Create a request builder for execution of post requests to the
|
|
20
|
+
* Create a request builder for execution of post requests to the "/predict_parquet" endpoint.
|
|
21
21
|
* @param body - Request body.
|
|
22
22
|
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
23
23
|
*/
|
|
24
24
|
predictParquet: (body: BodyPredictParquet) => OpenApiRequestBuilder<PredictResponsePayload>;
|
|
25
25
|
/**
|
|
26
|
-
* Create a request builder for execution of get requests to the
|
|
26
|
+
* Create a request builder for execution of get requests to the "/health" endpoint.
|
|
27
27
|
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
28
28
|
*/
|
|
29
29
|
health: () => OpenApiRequestBuilder<any>;
|
|
@@ -12,7 +12,7 @@ import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
|
12
12
|
export const RptApi = {
|
|
13
13
|
_defaultBasePath: undefined,
|
|
14
14
|
/**
|
|
15
|
-
* Create a request builder for execution of post requests to the
|
|
15
|
+
* Create a request builder for execution of post requests to the "/predict" endpoint.
|
|
16
16
|
* @param body - Request body.
|
|
17
17
|
* @param headerParameters - Object containing the following keys: Content-Encoding.
|
|
18
18
|
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
@@ -25,7 +25,7 @@ export const RptApi = {
|
|
|
25
25
|
}
|
|
26
26
|
}, RptApi._defaultBasePath),
|
|
27
27
|
/**
|
|
28
|
-
* Create a request builder for execution of post requests to the
|
|
28
|
+
* Create a request builder for execution of post requests to the "/predict_parquet" endpoint.
|
|
29
29
|
* @param body - Request body.
|
|
30
30
|
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
31
31
|
*/
|
|
@@ -58,7 +58,7 @@ export const RptApi = {
|
|
|
58
58
|
headerParameters: { 'content-type': 'multipart/form-data' }
|
|
59
59
|
}, RptApi._defaultBasePath),
|
|
60
60
|
/**
|
|
61
|
-
* Create a request builder for execution of get requests to the
|
|
61
|
+
* Create a request builder for execution of get requests to the "/health" endpoint.
|
|
62
62
|
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
63
63
|
*/
|
|
64
64
|
health: () => new OpenApiRequestBuilder('get', '/health', {}, RptApi._defaultBasePath)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/rpt",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
4
4
|
"description": "This package provides a client for SAP’s Relational Pretrained Transformer model, SAP-RPT-1.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-api",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@sap-ai-sdk/ai-api": "^2.
|
|
37
|
-
"@sap-ai-sdk/core": "^2.
|
|
38
|
-
"@sap-cloud-sdk/connectivity": "^4.
|
|
39
|
-
"@sap-cloud-sdk/http-client": "^4.
|
|
40
|
-
"@sap-cloud-sdk/util": "^4.
|
|
36
|
+
"@sap-ai-sdk/ai-api": "^2.18.0",
|
|
37
|
+
"@sap-ai-sdk/core": "^2.18.0",
|
|
38
|
+
"@sap-cloud-sdk/connectivity": "^4.10.0",
|
|
39
|
+
"@sap-cloud-sdk/http-client": "^4.10.0",
|
|
40
|
+
"@sap-cloud-sdk/util": "^4.10.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"vitest": "5.1.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test": "vitest run",
|
|
48
48
|
"lint": "oxlint && oxfmt --check .",
|
|
49
49
|
"lint:fix": "oxlint --fix && oxfmt .",
|
|
50
|
-
"generate": "openapi-generator --
|
|
50
|
+
"generate": "openapi-generator --generateEsm --clearOutputDir -i ./src/spec/rpt.json -o ./src/client",
|
|
51
51
|
"postgenerate": "pnpm update-imports && pnpm make-rpt-internal && pnpm lint:fix",
|
|
52
52
|
"update-imports": "node ../../scripts/update-imports.ts ./src/client/rpt",
|
|
53
53
|
"make-rpt-internal": "node ../../scripts/postgenerate-rpt.ts ./src/client/rpt/rpt-api.ts",
|