Does anyone have any information on whether the Javascript in the chatbots can be modified? (Xanadu release)
Sort by:
Yes, JavaScript in chatbots can be modified, depending on how the chatbot is built and where it's deployed. For example, if it is deployed at the client side, its JavaScript code can be modified by editing the webpage source or injecting new scripts using browser developer tools. You can use custom JavaScript to modify chatbot behavior, user-interface, or responses. Otherwise, if it is deployed at the server-side, then you can modify its JavaScript code by updating the server-side script.
short answer to this is "Yes, the JavaScript in Xanadu chatbots can be modified",
although the extent of modification depends on the specific Xanadu product and version you're using. Generally,
1. you can use JavaScript to customize the chat interface,
2. integrate with external systems, add custom logic to bot flows,
3. manipulate data within the bot's context.
For example, you could use JavaScript to create a custom welcome message based on the user's location, validate user input before sending it to the backend, trigger specific actions based on user interactions within the chat.
please refer documentation and join the community to further specific support
Thank you both (Mohammed and Chandra) I was trying to find out if the chatbot code (Javascript) can be modified to enhance the chatbot. We did not have much luck when we modified the javascript in the bot. We would like to enhance the bots by updating the Javascript which I believe will be on the Server side. Any guidance you can provide will be very helpful