Skip to content

SAP-samples/sap-rpt-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SAP Relational Pretrained Transformer Samples

SAP REUSE status

Description

This repository contains a Bruno API collection and code samples for using SAP Relational Pretrained Transformer (RPT) models.

SAP-RPT-1

The Bruno API collection and code in /sap-rpt-1 show how to make predictions on tabular data using the REST API of SAP RPT-1.
Please note that you need a service instance of SAP AI Core (service plan "extended") and a deployment of the model (e.g. sap-rpt-1-small or sap-rpt-1-large - see SAP AI Core documentation and tutorials).

Get Service Key

To obtain your service key:

  1. Navigate to your BTP subaccount overview page.
  2. Navigate to your BTP service instance page and Click on the SAP AI Core instance to view the service key details.

Generate AUTH_TOKEN

To generate your authentication token, please refer to this link.

Bruno API Collection

Important Note The baseUrl and authUrl need to be modified by the above picture.

  • Get the Oauth Token.get_oauth_token
  • You can verify that your access token should work by sending the request in bruno.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

API collection and samples for using SAP's Relational Pretrained Transformer (SAP-RPT) models

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •