-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
52 lines (48 loc) · 1.47 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Adish Web Chat</title>
<style>
body, html {
height: 100%;
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
background-color: #e9ecef;
}
#chat-header {
background-color: #343a40;
color: #ffffff;
padding: 15px;
text-align: center;
font-size: 1.2em;
font-weight: bold;
}
</style>
</head>
<body>
<div id="chat-container">
<div id="chat-header">Chat With VardhamanGPT</div>
<div id="chat-box"></div>
<div id="chat-footer"></div>
</div>
<script src="https://sf-cdn.coze.com/obj/unpkg-va/flow-platform/chat-app-sdk/0.1.0-beta.2/libs/oversea/index.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
new CozeWebSDK.WebChatClient({
config: {
bot_id: '7338012682504749061',
},
componentProps: {
title: 'Coze',
},
container: document.getElementById('chat-box')
});
});
</script>
</body>
</html>