Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
patrosrinivasa
Participant

Introduction:

Hello All, Here I am ready with another blog on SAP AI Launchpad & SAP AI Core. I will walk you through this blog and share my knowledge on how you can create your IST AI project with these trending AI technologies in SAP BTP platform. 

As many of you already know that SAP AI Core is a service in the SAP BTP that allows us to confidently deploy and manage artificial intelligence models that natively integrate with SAP applications. In this blog, I am going to show you how you can create an application with SAP AI Launchpad-SAP AI Core by connecting with GitHub repository.

Let's start..

Before going further, Please don't forget below pre-requisites to complete. Otherwise you can't able to see the desired output.😉

Prerequisites:

  1. SAP BTP Global account access
  2. Setup account for SAP AI Launchpad & SAP AI Core.
  3. GitHub account access.

 Note:  If you are using a GitHub account hosted by your organization, it must be external facing (not behind a firewall).

             To connect GitHub to SAP AI Core, we need to create a GitHub repository and a GitHub access token. A GitHub repository is where we store our AI workflows and other files. Each workflow can be used in various AI use cases. A GitHub access token is a code that allows SAP AI Core to access our GitHub repository. Below is screenshots for reference how you can generate access token and workflow pipeline. 

image1.PNG

 

                  Once we have created a GitHub repository and a GitHub access token, we will establish bridge between SAP AI Core and our GitHub by clicking on ADD button and provide your repo url and credentials.

Before creating Repository:

image2.PNG

 

After creating Repository:

image3.PNG

 

                In case you didn't store your access key locally or forgot don't worry.. You can regenerate token as shown in below screen. All you have to do is click Regenerate Token button.

image4.PNG

                          After following all the steps that I have explained, you will see below screen. If you had reached below screen means you are doing great and have completed half of the process 😊

image 5 and 6.png 

            After creating workflow in GitHub we will jump into SAP AI Launchpad to create an application to sync workflows with SAP AI Core.

image7.PNG

once application is ready we can check our scenario(Name, Executable ID and Description etc details) under ML Operations node in SAP AI Launchpad.

image8.PNG

                         To run executable, all we have to do is create a config file. The configuration name value should be a descriptive name of your choice. All other values must be set as shown in the image below, in line with your executable identifiers. 

Note: This step is one time only. Once a configuration is created, you can use it again and again.

To execute your workflow, click Create Execution on the configuration details page.

image9.PNG

 

after updating our workflow with another modification we can see the sync directly in SAP AI Launchpad logs section. All this because of configuration file was fetching info based on executableID that we defined in our workflow.

image10.PNG image11.PNG

If you got above message under Execution Logs section, then your workflow is working perfectly fine. Job Well done!!

 Conclusion:

 So we have completed a project creation with help of SAP AI Launchpad, SAP AI Core and GitHub. SAP AI Launchpad is a multitenant SaaS application in SAP Business Technology Platform. Customers and partners can use SAP AI Launchpad to manage AI use cases aka scenarios across multiple instances of AI runtimes. I have shown you 1 of the runtime environment SAP AI Core here. We can explore more gen AI capabilities via the Generative AI Hub available via SAP AI Launchpad. 

Hope you liked it. Thanks for reading this blog. Happy learning!!

Reference Links:

https://help.sap.com/docs/sap-ai-core  

https://community.sap.com/topics/ai-core-artificial-intelligence 

https://help.sap.com/docs/ai-launchpad/sap-ai-launchpad/what-is-sap-ai-launchpad?q=sap%20ai%20launch... 

https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/what-is-sap-ai-core 

 

1 Comment
Labels in this area