Sample application that uses generative AI RAG pattern. Deployment target on IBM Cloud and uses IBM watsonx.ai, watsonx Assistant and Watson Discovery services
Added helmet package to address issues flagged by dynamic scans (headers + content security policy)
Changed cookie's security attributes
Refactored the script that creates Watson Assistant widget to use configuration from the backend dynamically. This eliminates the need to bake the watson IDs into the image as the attributes are taken from the environment. Also will help with future integration with Security Verify.
Removed the steps from the build script that embeds Watson IDs into the HTML
Changed the check for Assistant initialization to skip the message if the Assistant "Home screen" is displayed - this can happen if the Assistant initial configuration is modified after the deployment of Sample App Config DA.