Button Text

AI Adapter for SAP Integration Suite FAQ

Practical answers to common setup, security and configuration questions for SAP’s AI Adapter

01. Can exceptions contain sensitive data, and is it safe to send them to OpenAI?

Sensitive data should not be sent to publicly exposed AI providers. The recommended approach is to use your own grounded API or a private OpenAI license within your organization.

02. How should I create prompts for the AI adapter?

Prompt design is highly flexible and should be adapted to your specific requirements. Prompts are free-text fields, which means you can create simple instructions or more advanced versions depending on your use case. For example, a basic prompt may ask the AI to resolve a technical exception, while a more complex prompt can help generate better results in specialized scenarios.

03. How do I get APIs for OpenAI?

For basic configuration, you do not need to know OpenAI’s API specification because the adapter handles this automatically. For advanced configurations, such as when using your own agent exposed as an API, you will need the endpoint URL from OpenAI, which can then be used as a relative URL in the adapter.

04. Is it possible to connect Gemini using the custom OpenAI REST (2nd method) without a licensed account, only with a trial?

The AI adapter supports multiple LLM providers, and Gemini models are included in SAP AI Core. With the correct SAP license, Gemini can be activated and tested. Support for additional LLM providers is also planned and will be added in future updates.

05. Where do I need to configure the service instance (OAuth credentials) in case of AICore - GenAI Hub?

To configure OAuth credentials, you first activate the AI Core service in your BTP account and create a service instance with service keys. From the service key, you obtain the client credentials and client ID. In Cloud Integration, you then create an OAuth client credential security artifact using these details, and this artifact is applied in the AI adapter to enable communication.

06. When using OpenAI, exception messages can contain sensitive data, such as SAP sender address or SFTP connection details. How should this be handled?

Sensitive data should not be sent to publicly exposed AI models. Instead, you should use a private or production OpenAI license, or a grounded API provider within your organization, to ensure that sensitive information remains in a secure and controlled environment.

07. How can I obtain the OpenAI API or API key when using the AI adapter?

For basic configuration, you do not need to know OpenAI’s API specification or provide an API key, since the AI adapter automatically manages communication. For advanced configuration, if you are using a custom agent exposed as an API, you will need the endpoint URL and the corresponding API key from OpenAI, which can then be used in the adapter’s advanced configuration as a relative URL.

08. Where does the service instance (OAuth credentials) needs to be configured in case of AICore-GenAIHUB?

In the following link you will find detailed information to configure the service instance: https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/initial-setup

In Cloud Integration, create an OAuth client credential security artifact using these credentials.

09. How is the prompt sent to OpenAI?

The prompt field in the adapter is a free-text input that accepts any custom prompt. The adapter does not alter or influence the provided prompt; it forwards it directly to the LLM in the format the LLM expects.

10. Is there a specific format that needs to be followed when creating prompts?

The prompt field in the adapter is a free-text input that accepts any custom prompt(No specific format required). The adapter does not alter or influence the provided prompt; it forwards it directly to the LLM in the format the LLM expects.

11. Error handling can only be effective if full data is provided. How should information be provided for accurate AI guidance?

The response from the AI will depend on the following :

  • How well your AI is grounded to the relavant information. The AI model can be trained to on specifc data relavant to your use case.
  • Quality of the prompts, which should contain all the relavant information for the AI to respond accurately.

12. Use cases beyond error handling, e.g., checking message status or tracking IDOCs, how can AI help?

There are multiple other use case that can be implemented other than error handling scenario.

Responses of models are based on the training and data received. For specific data analysis, there are different ways to ground your AI and train the model, thus enabling the AI to suffice other use case.

13. Will using the AI adapter impact BTP/IS runtime upgrades, e.g., Camel upgrade to 3.14?

AI adapter is Camel3x compatible. There should not be any impact regarding BTP/IS runtime upgrades.

14. If we get an error in a CPI flow, will AI provide the resolution automatically?

The Iflow need to be configured in order to get response from the AI. This can be done by adding a request reply step(. e.g. Exception Handling Subprocess) where using the AI adapter you provide the right prompt to get respective error resolution from AI model.


Watch the Webinar & Get in Touch

For more details, you can access our AI Adapter on-demand Webinar here .
If you have further questions or would like to find out how the AI adapter can help streamline processes and create value for your organization, please don’t hesitate to reach out to us for support and guidance on implementation.

Need further help? Get support for your AI Adapter implementation.