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:
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.
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:
After creating Repository:
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.
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 😊
After creating workflow in GitHub we will jump into SAP AI Launchpad to create an application to sync workflows with SAP AI Core.
once application is ready we can check our scenario(Name, Executable ID and Description etc details) under ML Operations node in SAP AI Launchpad.
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.
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.
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/sap-ai-core/sap-ai-core-service-guide/what-is-sap-ai-core
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 |