28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-Hant">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
<!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
|
|
<title>Chat Bot</title>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
</body>
|
|
|
|
<script>
|
|
window.watsonAssistantChatOptions = {
|
|
integrationID: "3778bfaf-8730-4a8c-bcd6-d3280f9a815f", // The ID of this integration.
|
|
region: "jp-tok", // The region your integration is hosted in.
|
|
serviceInstanceID: "d9329221-40fb-4911-ba9f-69098349b8ab", // The ID of your service instance.
|
|
onLoad: function(instance) { instance.render(); }
|
|
};
|
|
setTimeout(function(){
|
|
const t=document.createElement('script');
|
|
t.src="https://web-chat.global.assistant.watson.appdomain.cloud/versions/" + (window.watsonAssistantChatOptions.clientVersion || 'latest') + "/WatsonAssistantChatEntry.js";
|
|
document.head.appendChild(t);
|
|
});
|
|
</script>
|
|
</html>
|