This is part 5 of the technical guidance series, “watsonx.ai Integration with S/4HANA® on PowerVS.”
This blog provides an example of using the foundation models available on IBM watsonx.ai® studio to run OData queries against an SAP S/4HANA® system and return answers based on the application data. This setup authenticates to SAP S/4HANA® from a Jupyter notebook running on the watsonx.ai python runtime, and prompts an LLM to formulate user-facing answers from OData query results. Read the code on a sample Notebook right next to this article.
Setting up a watsonx.ai project and Notebook
This example requires an IBM Cloud API key to authenticate to watsonx.ai and access foundation models. Log into the watsonx platform at https://dataplatform.cloud.ibm.com/auth/iamid/login?context=wx and create a new project. Then go to assets and add a Parameter Set from the Prepare data tab.