Technical Articles
ChatGPT Custom Widget: Enhance Your SAP Analytics Cloud Experience with the ChatGPT Custom Widget
SAC Custom Widget for ChatGptWidget is a valuable resource for SAP Analytics Cloud users looking to integrate into their analytics workflow. Its integration with the GPT language model, along with its customizable features, makes it a sophisticated and effective solution for natural language processing within the SAC environment.
Installation
To use this widget in your SAP application, follow these steps:
- Download the
ChatGptWidget.json
file from the URLs specified in the webcomponents property of the JSON. - Go to your SAC Portal, select Analytic Application from the left side bar, and then go to the Custom Widget tab.
- Click on the + icon on the right side and select the
ChatGptWidget.json
file that you downloaded. - You’re done! You can now use it in your app.
How to get ChatGPT apiKey?
- Log into your OpenAI account on the OpenAI website.
- Click on the “View API Keys” button in the top-right corner of the page, or Click Here
- Click on the “Create an API Key” button to generate a new API key.
- Done, Now use it to Custom Widget
Conclusion
The SAC Custom Widget for ChatGptWidget is an open-source project on GitHub that provides a fully customizable chatbot widget for SAP Analytics Cloud (SAC). The ChatGptWidget utilizes the powerful GPT (Generative Pre-trained Transformer) language model from OpenAI to provide natural language processing capabilities.
Hi Rohit,
Nice integration, thanks for sharing!
Would you be able to add "Artificial Intelligence" as an "SAP Managed Tag" of your article so our community of AI enthusiasts can easily find it through search and pages?
Hey Paul,
Updated, thanks for sharing!
Hello Rohit, I have tried to test the widget but it doesn't work only appears the following message "Finding result..." I changed the API-KEY several times.
Thanks!
Hi Rohit Chouhan nice blog! you could be interested by this influence request too https://influence.sap.com/sap/ino/#/idea/298357
Best
Antoine
Hi Rohit Chouhan ,
Thank you for posting. This is very helpful.
I am getting the following message "Finding result..." and nothing moves ahead in SAC.
I checked your web component URL link of JSON file. It is throwing error "Failed to fetch version info for gh"
After research "https://github.com/jsdelivr/jsdelivr/issues/18216" it seems this error shows for fetching new files from GitHub.
Note that this issue mostly affects
@branch
links, as they are only cached for a short time by the CDN and need to be updated from GitHub frequently. If you use@release
links, after the first successful fetch they are stored on our servers permanently and do not need to be checked again with GitHub.EDIT: Also,
@commitHash
links don't have this issue at all since they are static.Could you check on the URL and commit. Thank you.
Jayaraman