@clikvn/agent-widget-embedded 1.0.38-dev → 1.0.39-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +12 -0
- package/.idea/clik-ai-chatbot-embedded.iml +12 -0
- package/.idea/codeStyles/Project.xml +59 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/jsLinters/eslint.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +6 -0
- package/.idea/vcs.xml +6 -0
- package/dist/components/Chat/Message.d.ts.map +1 -1
- package/dist/components/Chat/ScenariosList.d.ts +10 -1
- package/dist/components/Chat/ScenariosList.d.ts.map +1 -1
- package/dist/constants/toolNames.d.ts +2 -5
- package/dist/constants/toolNames.d.ts.map +1 -1
- package/dist/index.html +37 -54
- package/dist/services/vt360.service.d.ts +4 -1
- package/dist/services/vt360.service.d.ts.map +1 -1
- package/dist/utils/toolUtils.d.ts +6 -0
- package/dist/utils/toolUtils.d.ts.map +1 -1
- package/dist/web.js +1 -1
- package/package.json +1 -1
- package/dist/index-old.html +0 -108
package/package.json
CHANGED
package/dist/index-old.html
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<title></title>
|
|
6
|
-
<script type="module">
|
|
7
|
-
import Agent from 'http://localhost:3000/web.js'; // Change to from './web.js' to 'https://localhost:5678/web.js'
|
|
8
|
-
Agent.initWidget({
|
|
9
|
-
apiHost: 'http://localhost:8085/chatbot',
|
|
10
|
-
agentId: '6d02b23f-465f-44ec-8766-27a82890a9b8',
|
|
11
|
-
theme: {
|
|
12
|
-
input: {
|
|
13
|
-
placeholder: 'Tin nhắn...',
|
|
14
|
-
},
|
|
15
|
-
overview: {
|
|
16
|
-
title: 'Van Mieu, Quoc Tu Giam',
|
|
17
|
-
description:
|
|
18
|
-
'Your personal AI tutor by Khan Academy! Im Khanmigo Lite - here to help you with math, science, and humanities and questions.',
|
|
19
|
-
},
|
|
20
|
-
header: {
|
|
21
|
-
title: 'tung test',
|
|
22
|
-
},
|
|
23
|
-
language: {
|
|
24
|
-
code: 'global',
|
|
25
|
-
options: [
|
|
26
|
-
{
|
|
27
|
-
name: 'en',
|
|
28
|
-
code: 'global',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: 'vi',
|
|
32
|
-
code: 'vi',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: 'us',
|
|
36
|
-
code: 'en',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: 'jp',
|
|
40
|
-
code: 'jp',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: 'kr',
|
|
44
|
-
code: 'kr',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: 'cn',
|
|
48
|
-
code: 'cn',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: 'th',
|
|
52
|
-
code: 'th',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
name: 'tw',
|
|
56
|
-
code: 'tw',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: 'sg',
|
|
60
|
-
code: 'sg',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: 'my',
|
|
64
|
-
code: 'my',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: 'kh',
|
|
68
|
-
code: 'kh',
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: 'au',
|
|
72
|
-
code: 'au',
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
overrideConfig: {
|
|
78
|
-
// chatId: '14342fe3-8991-4a67-afea-b1c4266da82b',
|
|
79
|
-
chatId: 'f547e5e3-363f-425c-adc1-7f618330d551',
|
|
80
|
-
overrideConfig: {
|
|
81
|
-
vars: {
|
|
82
|
-
POI_CODE: 'MLI_VKLVVAJEFHLH',
|
|
83
|
-
LANGUAGE: 'US',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
// suggestedActions: [
|
|
87
|
-
// {
|
|
88
|
-
// title: 'How are you?',
|
|
89
|
-
// label: 'are you?',
|
|
90
|
-
// action: 'How are you?'
|
|
91
|
-
// }
|
|
92
|
-
// ]
|
|
93
|
-
},
|
|
94
|
-
});
|
|
95
|
-
</script>
|
|
96
|
-
<style>
|
|
97
|
-
.chatbox {
|
|
98
|
-
width: 100%;
|
|
99
|
-
height: 100vh;
|
|
100
|
-
}
|
|
101
|
-
</style>
|
|
102
|
-
</head>
|
|
103
|
-
<body>
|
|
104
|
-
<div class="chatbox">
|
|
105
|
-
<clik-agent-widget></clik-agent-widget>
|
|
106
|
-
</div>
|
|
107
|
-
</body>
|
|
108
|
-
</html>
|