The uwc-chatbot has been superseded by the Temenos Copilot AI Chatbot and is no longer available here. Please contact Dimitris Tsirikos ([email protected]) for details.

uwc-chatbot code examples, properties, methods, events and Live Demo.

Here is an example of using the Chatbot in a plain html page:

<html>
<head>
<link href="https://developer.temenos.com/uux/base.css" rel="stylesheet" />
<script src="https://developer.temenos.com/uux/unified-ux-chatbot.min.js"></script>
</head>
<body>
Here is an example configuration...
<script>
const configuration = {
authToken: "REPLACE_WITH_YOUR_OWN_JWT",
streamMode: "chat",
sqlExecutionEP: "https://ca-conversations-tbac-dev-uks.orangepond-0afaf2d2.uksouth.azurecontainerapps.io/conversations",
showInsights: "true",
chatWindow: {
title: "Temenos Copilot",
toolbar: ["clearChat", "toggleFullScreen", "toggleDock", "closeChat"],
zIndex: "1040",
fullScreen: {
zIndex: "500",
insets: {
left:"40px"
}
}
},
title: "Welcome to Temenos Copilot",
subtitle: "You can type a question at the bottom, or pick a pre-defined one from the menu.",
initialResponse: "How may I help you today?",
examples: [
{
promptText: "Which account has the largest balance?",
includeInStartPage: true,
responseConfiguration: {
chartType: "pie"
}
},
],
}
</script>
</body>
</html>