SAP Conversational AI February 2021 Release Highlights: Operate & Secure
Hi SAP Community,
Here are the newest features released in SAP Conversational AI in February!
- Tighter security while authenticating the API calls made to bots using OAuth tokens
- Ability of bot developers to train the bot manually with the latest version of the dataset using the /train endpoint
- Ability of the bot owner or an org admin to disable use of the /conversations endpoint to restrict access to a bot’s conversation logs to individual bot developers
OAuth Tokens (Security upgrade)
As a bot developer, you must use OAuth tokens to authenticate API calls to new bots created after February release. OAuth tokens are more secure as they are valid for a small-time period. The following video shows the complete process of generating an OAuth token. For more information, please read our documentation.
Sunset of SDKs (Deprecation)
SAP Conversational AI provides several open-source SDKs, which are hosted on GitHub. As of February release, the SDKs will not be available anymore and the public repository of the project will be archived from GitHub.
/train Endpoint (Platform Change)
As of February release, the training mode for all the new bots is set to Manual. You can set it as Automatic in your bot Settings, under Versions.
If you are using APIs to change your bot’s dataset and the training mode is set to Manual (in bot Settings) after your dataset modification API call, you must call the /train endpoint in order to train the bot with the latest version of the dataset.
You can do this by using /datasets endpoint and adding /train at the end of the URL.
/conversation logs Endpoint (Platform Change)
As of February release, the bot owner or an org admin has the option to enable or disable the use of /conversations endpoint. This option will be disabled by default. If you want to continue or start using the endpoint, go to your bot Settings, click Options, under Bot Connector select Allow access to Conversation Logs using /conversations API.
Chat Preview (Platform Fix)
The Restart icon in the Chat Preview now clears all the data in the chat, JSON view, and Debug view simultaneously. You need not clear the data in each view separately.
Reminder: Don’t miss our tutorial challenge!
Be rewarded for sharing your chatbot-building knowledge with the community! All you have to do is to write your own SAP Conversational AI tutorial and publish it on the SAP Community before March 12.