Custom Agentic Chatbot with SAP AI Core and Joule Studio β€” Part 2 (2)
Share

[[{“value”:”

πŸš€Β Series Overview: Custom Agentic Chatbot with SAP AI Core and Joule Studio

Β 

Part 2 (2)Β β€”Β Deploying the Agent on AI Core (Deployment & Testing)

Β 
In this continuation of Part 2 (1), we’ll focus on putting everything together:
  • Register the ServingTemplate in AI Core
  • Create a Configuration and Deployment
  • Test the live REST endpoint

Β 

Step 1.Β Register the ServingTemplate

Push the YAML file to your connected Git repository. SAP AI Core will automatically detect it and register it as:

  • Scenario: high-level use case
  • Executable: specific deployable artifact

woojin_0-1759730435942.png

Β 

Step 2. Create Configuration

Link the YAML-defined Executable to runtime parameters.

  • Configuration Name: any unique name (e.g., agent-chat-config)
  • Scenario: auto-populated from scenarios.ai.sap.com/name
  • Version: as defined in ai.sap.com/version
  • Executable: auto-registered from executables.ai.sap.com/name

woojin_2-1759730496222.png

Review and click Create to save.

Β 

Step 3. Create Deployment

Launch the service from the configuration:

  • Click Create Deployment
  • Set the duration
  • Deploy

woojin_3-1759730520201.png

Once deployment is active, your chatbot is live and accessible via a REST inference endpoint.

Β 

Step 4. Test the Endpoint

When the deployment is successful, AI Core generates a secure endpoint, for example:

https://api.<region>.hana.ondemand.com/v2/inference/deployments/<deployment-id>

Validate that your deployed Endpoint works correctly by sending test requests via Postman or cURL. Refer to this tutorial.

Postman Example:

  • Method: POST
  • URL:Β https://api.<region>.hana.ondemand.com/v2/inference/deployments/<deployment-id>/plan
  • Header:
    • AI-Resource-Group: woojin-agent (Resource group name defined in AI Core)
    • Content-Type: application/json (Request body format)
  • Body (Json)

{
“message”:”what is current weather in Seoul?”,
“conversation_id”:”test-session-2″
}

Example:

woojin_0-1759730885241.png

Β 

If everything is configured correctly, you’ll receive a JSON response from your deployed chatbot. Your custom agentic chatbot is now live on AI Core.Β πŸŽ‰

πŸ‘‰Β  In Part 3, we’ll cover how to configure BTP Destinations so Joule Studio can securely call this endpoint.

Β 

Β 

“}]]Β 

Β [[{“value”:”πŸš€Β Series Overview: Custom Agentic Chatbot with SAP AI Core and Joule StudioPart 1 β€” Building the Custom AI Agent BackendPart 2 (1) β€” Deploying the Agent on AI Core (Environment & Containerization)Part 2 (2) β€” Deploying the Agent on AI Core (Deployment & Testing)Part 3 (1) β€” Setting Up Joule Studio Connection (Destination & Environment)Part 3 (2) β€” Creating a Joule Skill (Design & Release)Part 3 (3) β€” Testing and Sharing on Work ZoneΒ Part 2 (2)Β β€”Β Deploying the Agent on AI Core (Deployment & Testing)Β In this continuation of Part 2 (1), we’ll focus on putting everything together:Register the ServingTemplate in AI CoreCreate a Configuration and DeploymentTest the live REST endpointΒ Step 1.Β Register the ServingTemplatePush the YAML file to your connected Git repository. SAP AI Core will automatically detect it and register it as:Scenario: high-level use caseExecutable: specific deployable artifactΒ Step 2. Create ConfigurationLink the YAML-defined Executable to runtime parameters.Configuration Name: any unique name (e.g., agent-chat-config)Scenario: auto-populated from scenarios.ai.sap.com/nameVersion: as defined in ai.sap.com/versionExecutable: auto-registered from executables.ai.sap.com/nameReview and click Create to save.Β Step 3. Create DeploymentLaunch the service from the configuration:Click Create DeploymentSet the durationDeployOnce deployment is active, your chatbot is live and accessible via a REST inference endpoint.Β Step 4. Test the EndpointWhen the deployment is successful, AI Core generates a secure endpoint, for example:https://api.<region>.hana.ondemand.com/v2/inference/deployments/<deployment-id>Validate that your deployed Endpoint works correctly by sending test requests via Postman or cURL. Refer to this tutorial.Postman Example:Method: POSTURL:Β https://api.<region>.hana.ondemand.com/v2/inference/deployments/<deployment-id>/planHeader:AI-Resource-Group: woojin-agent (Resource group name defined in AI Core)Content-Type: application/json (Request body format)Body (Json){
“message”:”what is current weather in Seoul?”,
“conversation_id”:”test-session-2″
}Example:Β If everything is configured correctly, you’ll receive a JSON response from your deployed chatbot. Your custom agentic chatbot is now live on AI Core.Β πŸŽ‰πŸ‘‰Β  In Part 3, we’ll cover how to configure BTP Destinations so Joule Studio can securely call this endpoint.Β Β “}]]Β Read MoreΒ Technology Blog Posts by SAP articlesΒ 

#SAPCHANNEL

By ali