update
continuous-integration/drone/push Build is passing Details

master
Evan Chen 2021-12-18 10:47:24 +08:00
parent 873e01187a
commit 8f94a115bf
1 changed files with 27 additions and 0 deletions

27
talentshow/chatbot.html Normal file
View File

@ -0,0 +1,27 @@
<!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>