feat: Support Parquet input in RPT client#1520
Conversation
9fadc5e to
24b672a
Compare
24b672a to
bd7d3ef
Compare
There was a problem hiding this comment.
These changes are not in the upstream spec:
I've requested that encoding is added and AFAIK prediction_config types were already requested.
…uet-cloud-sdk * origin/main: (38 commits) feat: Support orchestration prompt module fallback (#1454) v2.7.0 chore: Fix pnpm-lockfile refresh merge condition handling (#1497) feat: Add `rawResponse` property to `OrchestrationStreamResponse`& `getRequestId`-helpers (#1464) chore: Combine ai client type headers (#1545) chore(deps-dev): Bump @sap/cds-dk from 9.7.1 to 9.7.2 (#1548) chore: update pnpm transitive dependencies (#1544) chore(deps-dev): Bump glob from 13.0.2 to 13.0.3 (#1541) chore(deps-dev): Bump dotenv from 17.2.4 to 17.3.1 (#1540) chore(deps): Bump the langchain group with 3 updates (#1538) feat: Update ai-api specification (#1489) feat: Advertise AbortSignal support for HTTP request cancellation (#1480) chore(deps-dev): Bump orval from 8.2.0 to 8.3.0 (#1536) chore(deps): Bump the langchain group with 3 updates (#1535) feat: Added support for custom headers in document grounding and open ai clients (#1519) chore: Fix rpt (#1533) chore(deps-dev): Bump @types/node from 22.19.10 to 22.19.11 (#1532) chore(deps-dev): Bump glob from 13.0.1 to 13.0.2 (#1530) chore(deps-dev): Bump nock from 14.0.10 to 14.0.11 (#1529) chore(deps): Bump the langchain group with 3 updates (#1528) ...
| ); | ||
| } | ||
|
|
||
| // Workaround: Endpoint requires a filename that ends with .parquet |
There was a problem hiding this comment.
[q] Does it make sense to ask the service owners to ignore the filename and just look at the format?
|
|
||
| /** | ||
| * Predict based on Parquet file data. | ||
| * @param parquetData - Parquet file data as Blob. Can also be a File to forward the filename. |
There was a problem hiding this comment.
[nth] Maybe add a few words an what is in the file. I think prediction data and data schema.
Co-authored-by: Marika Marszalkowski <marika.marszalkowski@sap.com>
Co-authored-by: Marika Marszalkowski <marika.marszalkowski@sap.com>
SummaryThe following content is AI-generated and provides a summary of the pull request:
Support Parquet input in RPT clientNew Features✨ Added support for Parquet file format in the RPT (Relational Prediction Transformation) client, enabling efficient binary tabular data predictions with typed columns. ChangesRPT Client API Enhancements
Core HTTP Client Improvements
AI API Client UpdatesGenerated clients were updated with improved parameter ordering and content-type headers:
Sample Code & Documentation
Testing
Build Configuration
File API Changes
PR Bot InformationVersion:
💌 Have ideas or want to contribute? Create an issue and share your thoughts with us! Made with ❤️ by Hyperspace. |
…uet-cloud-sdk * origin/main: chore(deps-dev): Bump @types/node from 22.19.11 to 22.19.13 (#1581) chore(deps): Bump hono from 4.12.2 to 4.12.3 (#1580) chore(deps): Bump the langchain group with 4 updates (#1579) chore(deps-dev): Bump orval from 8.4.2 to 8.5.0 (#1576) Enhance PR template with Definition of Done checklist (#1563) chore(deps): Bump @modelcontextprotocol/sdk from 1.27.0 to 1.27.1 (#1575) chore(deps): Bump the langchain group with 3 updates (#1574) chore(deps): Bump hono from 4.12.1 to 4.12.2 (#1572) chore(deps): Bump @modelcontextprotocol/sdk from 1.26.0 to 1.27.0 (#1571) chore(deps): Bump langchain from 1.2.25 to 1.2.26 in the langchain group (#1570) chore(deps-dev): Bump orval from 8.4.0 to 8.4.2 (#1566) chore(deps): Bump hono from 4.12.0 to 4.12.1 (#1567) chore(deps): Bump the langchain group with 2 updates (#1565) chore(deps-dev): Bump glob from 13.0.5 to 13.0.6 (#1560) chore(deps): Bump hono from 4.11.10 to 4.12.0 (#1559) chore(deps): Bump hono from 4.11.9 to 4.11.10 (#1556) chore(deps): Bump the langchain group with 3 updates (#1555)
…uet-cloud-sdk * origin/main: feat: Support compressed requests in the RPT client (#1488)
2a29a40 to
8828943
Compare
Context
This PR is #1484 but powered by the multi-part SAP Cloud SDK PR.
Related https://github.com/SAP/ai-sdk-js-backlog/issues/469.
Cloud SDK PR/branch: SAP/cloud-sdk-js#6301
What this PR does and why it is needed