Skip to Content
Technical Articles
Author's profile photo Vijay Sharma

Have a Query on Custom Code Adaptation? Ask CAI Chatbot!! Part 1

Conversational AI is the buzz word all around and the use cases are immense. Check out the wonderful blog  like Developing AI based Covid-19 Self assesment assistant using SAP Conversational AI by Sudip Ghosh   and Enabling the Return To Work initiative using SAP Conversational AI & Qualtrics by Murali Shanmugham on the topic,if not already done.

I was reading this wonderful blog Custom code adaptation for SAP S/4HANA – FAQ  by Olga, just when the thought crossed my mind, why not have a CAI based FAQ Chatbot for this and made it available to user for any questions they have on custom code Adaptation… and that motivated me to build one.

I am not going to share , how to create a Chatbot , as there are many wonderful blogs available already for the same for e.g check this blog from Paul PINARD.

So, We built the FAQ bot , covering all the questions from Olga’s blog and is ready to answer the user queries. The beauty is that we can monitor the user queries and can enhance the FAQ continuously based on the same.

And I are ready to test the Bot …and it works wonderful as is shown in pic below… 🙂

Once, we have tested the bot in CAI, we are ready to integrate the same to any of the so many available connectors , be it Skype, MS teams, Webchat , Twitter, Telegram and so on.

I decided to , integrate it to the SAP Cloud platform Fiori Launchpad. To achieve the same, we need  to perform following steps .

  • Create a Webclient connector for the FAQ bot we already created.

           

  • Create a Fiori Launchpad plugin in SCP WebIde to integrate FAQ Chatbot using channel script and wow …we can see the FAQ chatbot integrated in WebIde plugin testing

         

  • Next, we need to deploy it on the SAP Cloud Platform and create a plugin app and assign it to the catalog and catalog to the SCP user.
  • And with this,we are done with the Chatbot integration to the SCP launchpad and ready to use it.

Lets see a demo for the same.

In Part 2, we will see how to integrate this chatbot to the On-Premise Fiori Launchpad.

Till then stay Safe. Keep learning & Keep Sharing!!

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sudip Ghosh
      Sudip Ghosh

      nice idea, thanks for mention

      Author's profile photo Mahesh Palavalli
      Mahesh Palavalli

      Nice one Vijay Sharma , don't tell me that in the future blogs, we can see the irpa bot creating some extensions from chatbot 😛

      Author's profile photo Vijay Sharma
      Vijay Sharma
      Blog Post Author

      Thanks Mahesh!!

      That would be nice, isn't it  :).

       

      Author's profile photo Sumit Kumar Kundu
      Sumit Kumar Kundu

      Good one Vijay Sharma . S/4hana cloud community page has a similar chatbot called Edmin.Edmin.

      Author's profile photo Vijay Sharma
      Vijay Sharma
      Blog Post Author

      Thanks Sumit Kumar Kundu!

      I just saw the same, as you mentioned. Its nice :). Good that we know now how to create one.

       

      Author's profile photo Gabriel Cortezia
      Gabriel Cortezia

      Hi Vijay Sharma, thank you!

      Could you please share your SAPUI5 app code with me? I were trying to use ShellFloatingAction be it's not working for me.

      Regards.

       

      Author's profile photo Sandra Vogt
      Sandra Vogt

      I created a Fiori Launchpad plugin in SCP WebIde to integrate the FAQ Chatbot as proposed (following the detailed instructions in https://blogs.sap.com/2018/06/23/sap-conversational-ai-meets-sap-cloud-platform/).
      As a result the chat bot appears in our Fiori Launchpad and answers questions BUT for any reason the responses from the chatbot are always surrounded with a {"text":  } tag:

       

      Example

      Any ideas what is going wrong and how we can fix this?
      Tanks for any inspiration.

      Regards
      Sandra

      Author's profile photo Abhishek Sharma
      Abhishek Sharma

      Hi Sandra Vogt

      facing same problem, did you get solution ?

       

      Thanks-

      Abhishek