SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Inference Observability & Feedback Workflow in SAP AI Core

In this tutorial, you will learn how to execute AI inferences and leverage Inference Observability in SAP AI Core to track, analyze, and improve model responses using feedback and labeling mechanisms.

Overview

🎓 beginner 45 min. SAP Ai CoreBeginnerArtificial IntelligenceMachine Learning

You will learn

  • How to execute inference using orchestration or foundation models
  • How to record and retrieve inference details
  • How to add feedback to improve responses
  • How to use labels for filtering and analysis
Smita Naik S Smita Naik May 6, 2026
Created by April 27, 2026
Contributors

Prerequisites

Prerequisites

  1. BTP Account
    If you do not already have a commercial SAP Business Technology Platform (BTP) account, you can use BTP Advanced Trial.
    Create a BTP Account
  2. For SAP Developers or Employees
    Internal SAP stakeholders should refer to the following documentation: How to create BTP Account For Internal SAP Employee, SAP AI Core Internal Documentation
  3. For External Developers, Customers, or Partners
    Follow this tutorial to set up your environment and entitlements: External Developer Setup Tutorial, SAP AI Core External Documentation
  4. Create BTP Instance and Service Key for SAP AI Core
    Follow the steps to create an instance and generate a service key for SAP AI Core. Ensure to use service plan extended:
    Create Service Key and Instance
  5. AI Core Setup Guide
    Step-by-step guide to set up and get started with SAP AI Core:
    AI Core Setup Tutorial
  6. An Extended SAP AI Core service plan is required, as the Generative AI Hub is not available in the Free or Standard plans. For more details, refer to SAP AI Core Service Plans
  7. Bruno Tool Version Ensure you are using Bruno version 3.1 or higher.
    Versions up to 3.0 do not support .yml files used in this tutorial.
    You can download the latest version from: https://www.usebruno.com/

Steps

Pre-Read

In real-world AI applications, executing a model is only the first step. Once deployed, it becomes essential to monitor how the model behaves with actual user inputs, identify issues, and continuously improve the system.

Inference Observability in SAP AI Core provides this capability by recording inference requests, responses, metadata, and feedback for later analysis.

This feature works with both:

- Orchestration services
- Foundation model deployments

By enabling observability, AI systems move from being black-box models to transparent and trackable systems.

Note: Inference data is recorded only when explicitly enabled using observability headers in the request.

Step 1 Bruno Collection

To simplify execution, this tutorial provides a pre-configured Bruno collection containing all required API requests.

This collection includes:

- Inference execution
- Observability APIs
- Feedback APIs
- Label management APIs

👉 Download the Bruno collection from here: Bruno_collections

Import the Bruno Collection

- Open Bruno
- Navigate to Collections
- Click on open Collection
- Upload the downloaded folder files

Configure Environment Variables

After importing the collection:

- Select any request (e.g., Get Token)
- Click on No Environment → Configure
- Provide the following values from your service key:
    - ai_auth_url
    - ai_api_url
    - client_id
    - client_secret
    - resource_group
- Save the environment
- Select the configured environment before executing requests

Generate Access Token - Open the Get Token request - Click Send to generate the access token

Note: If the token expires during execution, regenerate it using the same request.

Step 2 Initial Setup Overview
+
Step 3 Execute Inference and Enable Observability
+
Step 4 Retrieve and Analyze Inference (Observability)
+
Step 5 Add Feedback to Improve Responses
+
Step 6 Retrieve Feedback
+
Step 7 Use Labels for Filtering and Analysis
+
Step 8 Cleanup (Optional)
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Bruno Collection 2. Initial Setup Overview 3. Execute Inference and Enable Observability 4. Retrieve and Analyze Inference (Observability) 5. Add Feedback to Improve Responses 6. Retrieve Feedback 7. Use Labels for Filtering and Analysis 8. Cleanup (Optional)

Learn more →