yt-chat-components 1.1.2 → 1.1.3
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/.idea/modules.xml +1 -1
- package/.idea/sonarlint/issuestore/3/6/364385cedcce4c06de1901392ffeeac0caef0f3c +0 -0
- package/.idea/sonarlint/issuestore/3/9/39129446b425a1d640160c068e4194e96639eedf +0 -0
- package/.idea/sonarlint/issuestore/4/a/4a2f33951ce07c1ff7184f91877aa13db05d3785 +0 -0
- package/.idea/sonarlint/issuestore/4/a/4a7b99bdbee5792679d347b6474463bf5e14b66d +0 -0
- package/.idea/sonarlint/issuestore/4/b/4b015aa5428c4d4c3d672893ec23f5fe3969f9be +0 -0
- package/.idea/sonarlint/issuestore/4/b/4b6989b8ccae808ebc45d02230d336ea53800365 +0 -0
- package/.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/issuestore/6/c/6c024c1d0ad64656b9d4b0695ec3c49c0454addf +0 -0
- package/.idea/sonarlint/issuestore/6/e/6e75fc1c07c3a427a86fc213ca9479caaaff00ea +0 -0
- package/.idea/sonarlint/issuestore/8/d/8d6123af13a140f93e06299fff7ea23c547e9ec8 +0 -0
- package/.idea/sonarlint/issuestore/c/c/cc2352788140b6778ac06df4b33f50b390d2d8be +0 -0
- package/.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/issuestore/d/7/d747cbed4201192dfa83a1a51345b020a050b647 +0 -0
- package/.idea/sonarlint/issuestore/d/9/d938938695d447dadda115e28781c6541f53fc4f +0 -0
- package/.idea/sonarlint/issuestore/index.pb +31 -3
- package/build/static/js/bundle.min.js +2 -0
- package/build/static/js/bundle.min.js.LICENSE.txt +132 -0
- package/package.json +79 -78
- package/public/index.html +108 -108
- package/src/YtChatView/chatWidget/chatWindow/chatMessage/index.tsx +498 -464
- package/src/YtChatView/chatWidget/chatWindow/controllers/index.ts +249 -249
- package/src/YtChatView/chatWidget/chatWindow/index.module.css +196 -196
- package/src/YtChatView/chatWidget/chatWindow/index.tsx +1099 -1086
- package/src/YtChatView/chatWidget/chatWindow/types/chatWidget/index.ts +50 -50
- package/src/YtChatView/chatWidget/index.tsx +2593 -2591
- package/src/YtChatView/logoBtn/index.css +3 -3
- package/src/YtChatView/logoBtn/index.jsx +103 -103
- package/src/YtChatView/logoSplitBtn/index.css +3 -3
- package/src/YtChatView/logoSplitBtn/index.jsx +105 -105
- package/src/YtChatView/mobileChat/index.jsx +945 -945
- package/src/YtChatView/mobileChat/index.module.css +253 -253
- package/src/YtChatView/previewDialog/index.jsx +600 -600
- package/src/YtChatView/previewDialog/index.module.css +253 -253
- package/src/chatWidget/chatWindow/index.tsx +426 -426
- package/src/chatWidget/index.tsx +2193 -2193
- package/src/index.tsx +10 -10
- package/webpack.config.js +50 -50
- package/dist/build/static/js/bundle.min.js +0 -1
- /package/.idea/{langflow-embedded-chat-clone.iml → langflow-embedded-chat.iml} +0 -0
- /package/.idea/sonarlint/issuestore/{7/0/7030d0b2f71b999ff89a343de08c414af32fc93a → 0/f/0f8c0c92cf798431ebb931ff6e997b1af86ecee5} +0 -0
- /package/.idea/sonarlint/issuestore/{9/c/9cfff9a6d27bd6c255aa751213163c7901fb8ce7 → 2/7/27e69cb561aeea20c1afbdd32d260dd60b89a81b} +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
Copyright (c) 2018 Jed Watson.
|
|
3
|
+
Licensed under the MIT License (MIT), see
|
|
4
|
+
http://jedwatson.github.io/classnames
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
* Determine if an object is a Buffer
|
|
9
|
+
*
|
|
10
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
11
|
+
* @license MIT
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/*!
|
|
15
|
+
*************************************************************************
|
|
16
|
+
*
|
|
17
|
+
* mhchemParser.ts
|
|
18
|
+
* 4.2.1
|
|
19
|
+
*
|
|
20
|
+
* Parser for the \ce command and \pu command for MathJax and Co.
|
|
21
|
+
*
|
|
22
|
+
* mhchem's \ce is a tool for writing beautiful chemical equations easily.
|
|
23
|
+
* mhchem's \pu is a tool for writing physical units easily.
|
|
24
|
+
*
|
|
25
|
+
* ----------------------------------------------------------------------
|
|
26
|
+
*
|
|
27
|
+
* Copyright (c) 2015-2023 Martin Hensel
|
|
28
|
+
*
|
|
29
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
30
|
+
* you may not use this file except in compliance with the License.
|
|
31
|
+
* You may obtain a copy of the License at
|
|
32
|
+
*
|
|
33
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
34
|
+
*
|
|
35
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
36
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
37
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
38
|
+
* See the License for the specific language governing permissions and
|
|
39
|
+
* limitations under the License.
|
|
40
|
+
*
|
|
41
|
+
* ----------------------------------------------------------------------
|
|
42
|
+
*
|
|
43
|
+
* https://github.com/mhchem/mhchemParser
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @license
|
|
51
|
+
* Lodash <https://lodash.com/>
|
|
52
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
53
|
+
* Released under MIT license <https://lodash.com/license>
|
|
54
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
55
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @license React
|
|
60
|
+
* react-dom.production.min.js
|
|
61
|
+
*
|
|
62
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the MIT license found in the
|
|
65
|
+
* LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @license React
|
|
70
|
+
* react-is.production.min.js
|
|
71
|
+
*
|
|
72
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the MIT license found in the
|
|
75
|
+
* LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @license React
|
|
80
|
+
* react.production.min.js
|
|
81
|
+
*
|
|
82
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the MIT license found in the
|
|
85
|
+
* LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @license React
|
|
90
|
+
* scheduler.production.min.js
|
|
91
|
+
*
|
|
92
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the MIT license found in the
|
|
95
|
+
* LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/** */
|
|
99
|
+
|
|
100
|
+
/** */
|
|
101
|
+
|
|
102
|
+
/** */
|
|
103
|
+
|
|
104
|
+
/** */
|
|
105
|
+
|
|
106
|
+
/** */
|
|
107
|
+
|
|
108
|
+
/** */
|
|
109
|
+
|
|
110
|
+
/** */
|
|
111
|
+
|
|
112
|
+
/** */
|
|
113
|
+
|
|
114
|
+
/** */
|
|
115
|
+
|
|
116
|
+
/** */
|
|
117
|
+
|
|
118
|
+
/** */
|
|
119
|
+
|
|
120
|
+
/** */
|
|
121
|
+
|
|
122
|
+
/** */
|
|
123
|
+
|
|
124
|
+
/** */
|
|
125
|
+
|
|
126
|
+
/** */
|
|
127
|
+
|
|
128
|
+
/** */
|
|
129
|
+
|
|
130
|
+
/** */
|
|
131
|
+
|
|
132
|
+
/** */
|
package/package.json
CHANGED
|
@@ -1,78 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "yt-chat-components",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"main": "build/static/js/bundle.min.js",
|
|
5
|
-
"module": "build/static/js/bundle.min.js",
|
|
6
|
-
"types": "build/static/js/index.d.ts",
|
|
7
|
-
"peerDependencies": {
|
|
8
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
9
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"@ant-design/icons": "5.0.0",
|
|
14
|
-
"@testing-library/jest-dom": "^5.16.5",
|
|
15
|
-
"@testing-library/react": "^13.4.0",
|
|
16
|
-
"@testing-library/user-event": "^13.5.0",
|
|
17
|
-
"@types/jest": "^27.5.2",
|
|
18
|
-
"@types/node": "^16.18.37",
|
|
19
|
-
"@types/react": "^18.2.14",
|
|
20
|
-
"@types/react-dom": "^18.2.6",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"react
|
|
26
|
-
"react": "^
|
|
27
|
-
"react-dom": "^
|
|
28
|
-
"react-
|
|
29
|
-
"react-
|
|
30
|
-
"react-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"build
|
|
42
|
-
"build:
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"react-app
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"not
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"last 1
|
|
61
|
-
"last 1
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"@babel/
|
|
67
|
-
"@babel/preset-
|
|
68
|
-
"@babel/preset-
|
|
69
|
-
"babel-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"webpack
|
|
77
|
-
|
|
78
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "yt-chat-components",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"main": "build/static/js/bundle.min.js",
|
|
5
|
+
"module": "build/static/js/bundle.min.js",
|
|
6
|
+
"types": "build/static/js/index.d.ts",
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
9
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"antd": "5.24.2",
|
|
13
|
+
"@ant-design/icons": "5.0.0",
|
|
14
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
15
|
+
"@testing-library/react": "^13.4.0",
|
|
16
|
+
"@testing-library/user-event": "^13.5.0",
|
|
17
|
+
"@types/jest": "^27.5.2",
|
|
18
|
+
"@types/node": "^16.18.37",
|
|
19
|
+
"@types/react": "^18.2.14",
|
|
20
|
+
"@types/react-dom": "^18.2.6",
|
|
21
|
+
"axios": "^1.4.0",
|
|
22
|
+
"echarts": "^5.6.0",
|
|
23
|
+
"echarts-for-react": "^3.0.2",
|
|
24
|
+
"lodash": "^4.17.21",
|
|
25
|
+
"lucide-react": "^0.256.0",
|
|
26
|
+
"react": "^18.2.0",
|
|
27
|
+
"react-dom": "^18.2.0",
|
|
28
|
+
"react-draggable": "^4.4.6",
|
|
29
|
+
"react-markdown": "^8.0.7",
|
|
30
|
+
"react-scripts": "5.0.1",
|
|
31
|
+
"react-shadow": "^20.3.0",
|
|
32
|
+
"rehype-mathjax": "^4.0.3",
|
|
33
|
+
"remark-gfm": "3.0.1",
|
|
34
|
+
"typescript": "^4.9.5",
|
|
35
|
+
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
36
|
+
"uuid": "^10.0.0",
|
|
37
|
+
"web-vitals": "^2.1.4"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"start": "react-scripts start",
|
|
41
|
+
"build": "npm install --legacy-peer-deps && npm run build:react && npm run build:bundle",
|
|
42
|
+
"build:react": "react-scripts build",
|
|
43
|
+
"build:bundle": "webpack --config webpack.config.js",
|
|
44
|
+
"test": "react-scripts test",
|
|
45
|
+
"eject": "react-scripts eject"
|
|
46
|
+
},
|
|
47
|
+
"eslintConfig": {
|
|
48
|
+
"extends": [
|
|
49
|
+
"react-app",
|
|
50
|
+
"react-app/jest"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"browserslist": {
|
|
54
|
+
"production": [
|
|
55
|
+
">0.2%",
|
|
56
|
+
"not dead",
|
|
57
|
+
"not op_mini all"
|
|
58
|
+
],
|
|
59
|
+
"development": [
|
|
60
|
+
"last 1 chrome version",
|
|
61
|
+
"last 1 firefox version",
|
|
62
|
+
"last 1 safari version"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@babel/core": "^7.26.10",
|
|
67
|
+
"@babel/preset-env": "^7.26.9",
|
|
68
|
+
"@babel/preset-react": "^7.26.3",
|
|
69
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
70
|
+
"babel-loader": "^10.0.0",
|
|
71
|
+
"css-loader": "^7.1.2",
|
|
72
|
+
"file-loader": "^6.2.0",
|
|
73
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
74
|
+
"style-loader": "^4.0.0",
|
|
75
|
+
"url-loader": "^4.1.1",
|
|
76
|
+
"webpack": "^5.98.0",
|
|
77
|
+
"webpack-cli": "^5.1.4"
|
|
78
|
+
}
|
|
79
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>校园智多星</title>
|
|
7
|
-
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
|
8
|
-
</head>
|
|
9
|
-
<body style="width: 100vw; height: 100vh; position: relative; margin: unset ">
|
|
10
|
-
<yt-chat
|
|
11
|
-
right="100"
|
|
12
|
-
bottom="100"
|
|
13
|
-
width="50"
|
|
14
|
-
height="50"
|
|
15
|
-
title="菜鸟驿站"
|
|
16
|
-
icon-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"
|
|
17
|
-
host-url="https://ai-api.yuntu.cn"
|
|
18
|
-
user-info='{"id": "123", "name": "John Doe", "code":"1606451129" }'
|
|
19
|
-
app-id="0b4cc8ef-d5bb-45e6-b342-647765f5d195"
|
|
20
|
-
is-show-side-left=true
|
|
21
|
-
is-show-side-right=false
|
|
22
|
-
modal-index="9999999999"
|
|
23
|
-
modal-width="1200"
|
|
24
|
-
dialog-index="999999999"
|
|
25
|
-
agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"
|
|
26
|
-
agent-name="医专智能助手"
|
|
27
|
-
logo-width="42px"
|
|
28
|
-
logo-font-size="26px"
|
|
29
|
-
logo-position="fixed"
|
|
30
|
-
is-title-side-icon=false
|
|
31
|
-
is-show-upload-button=true
|
|
32
|
-
/>
|
|
33
|
-
</body>
|
|
34
|
-
|
|
35
|
-
<!--<body style="width: 100vw; height: 100vh; margin:0 ">-->
|
|
36
|
-
<!--<yt-page-chat-->
|
|
37
|
-
<!-- title="菜鸟驿站"-->
|
|
38
|
-
<!-- host-url="https://ai-api.yuntu.cn"-->
|
|
39
|
-
<!-- app-id="a8e7ebd8-9bf7-499b-9e4a-c235078a0910"-->
|
|
40
|
-
<!-- user-info='{"id": "123", "name": "John Doe", "code":"1606451129" }'-->
|
|
41
|
-
<!-- tags='[{"name":"今天天气怎么样?"},{"name":"明天天气怎么样?"},{"name":"昨天天气怎么样?"}]'-->
|
|
42
|
-
<!-- box-style='{"height":"100%"}'-->
|
|
43
|
-
<!-- scene-id="c1e7a2a4-6127-4e53-a529-113da78eb069"-->
|
|
44
|
-
<!-- is-show-side-right=true-->
|
|
45
|
-
<!-- is-show-side-left=true-->
|
|
46
|
-
<!-- dialog-index="999999999"-->
|
|
47
|
-
<!-- agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"-->
|
|
48
|
-
<!-- agent-name="医专智能助手"-->
|
|
49
|
-
<!-- logo-width="42px"-->
|
|
50
|
-
<!-- logo-font-size="26px"-->
|
|
51
|
-
<!-- is-title-side-icon=true-->
|
|
52
|
-
<!-- is-show-upload-button=false-->
|
|
53
|
-
<!-- drop-man-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/ai/ai_man01.png"-->
|
|
54
|
-
<!--/>-->
|
|
55
|
-
<!--</body>-->
|
|
56
|
-
|
|
57
|
-
<!--<body style="width: 100vw; height: 100vh; position: relative; margin: unset ">-->
|
|
58
|
-
<!--<yt-split-modal-chat-->
|
|
59
|
-
<!-- right="100"-->
|
|
60
|
-
<!-- bottom="100"-->
|
|
61
|
-
<!-- width="50"-->
|
|
62
|
-
<!-- height="50"-->
|
|
63
|
-
<!-- title="招生助手"-->
|
|
64
|
-
<!-- icon-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"-->
|
|
65
|
-
<!-- host-url="https://ai-api.yuntu.cn"-->
|
|
66
|
-
<!-- user-info='{"id": "test", "name": "test", "code":"test" }'-->
|
|
67
|
-
<!-- is-show-side-right=true-->
|
|
68
|
-
<!-- is-show-side-left=true-->
|
|
69
|
-
<!-- scene-id="c1e7a2a4-6127-4e53-a529-113da78eb069"-->
|
|
70
|
-
<!-- modal-index="9999999999"-->
|
|
71
|
-
<!-- modal-width="1300"-->
|
|
72
|
-
<!-- dialog-index="999999999"-->
|
|
73
|
-
<!-- agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/bcyz/user/ai/agent.png"-->
|
|
74
|
-
<!-- agent-name="医专智能助手"-->
|
|
75
|
-
<!-- logo-width="42px"-->
|
|
76
|
-
<!-- logo-font-size="26px"-->
|
|
77
|
-
<!-- logo-position="fixed"-->
|
|
78
|
-
<!-- is-title-side-icon=false-->
|
|
79
|
-
<!-- is-show-upload-button=false-->
|
|
80
|
-
<!--/>-->
|
|
81
|
-
<!--</body>-->
|
|
82
|
-
|
|
83
|
-
<!--fd432d45-51fa-47cb-9ca9-a545385c618c de12e244-d603-4651-999f-25e22bdceeeb-->
|
|
84
|
-
<!--校园智多星sceneId=de12e244-d603-4651-999f-25e22bdceeeb appId=-->
|
|
85
|
-
<!--<body style="width: 100vw; height: 100vh; margin:0 ">-->
|
|
86
|
-
<!--<yt-page-chat-mobile-->
|
|
87
|
-
<!-- title="移动聊天"-->
|
|
88
|
-
<!-- host-url="https://ai-api.yuntu.cn"-->
|
|
89
|
-
<!-- app-id="a8e7ebd8-9bf7-499b-9e4a-c235078a0910"-->
|
|
90
|
-
<!-- user-info='{"id": "123", "name": "测试校长", "code":"1606451129" }'-->
|
|
91
|
-
<!-- tags='[{"name":"今天天气怎么样?"},{"name":"明天天气怎么样?"},{"name":"昨天天气怎么样?"}]'-->
|
|
92
|
-
<!-- box-style='{"height":"100%"}'-->
|
|
93
|
-
<!-- scene-id="de12e244-d603-4651-999f-25e22bdceeeb"-->
|
|
94
|
-
<!-- is-show-side-right=true-->
|
|
95
|
-
<!-- is-show-side-left=true-->
|
|
96
|
-
<!-- is-show-login=true-->
|
|
97
|
-
<!-- is-login=true-->
|
|
98
|
-
<!-- dialog-index="999999999"-->
|
|
99
|
-
<!-- agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"-->
|
|
100
|
-
<!-- agent-name="校园智多星"-->
|
|
101
|
-
<!-- logo-width="42px"-->
|
|
102
|
-
<!-- logo-font-size="26px"-->
|
|
103
|
-
<!-- is-title-side-icon=true-->
|
|
104
|
-
<!-- is-show-upload-button=false-->
|
|
105
|
-
<!-- drop-man-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/ai/ai_man01.png"-->
|
|
106
|
-
<!--/>-->
|
|
107
|
-
<!--</body>-->
|
|
108
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>校园智多星</title>
|
|
7
|
+
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
|
8
|
+
</head>
|
|
9
|
+
<body style="width: 100vw; height: 100vh; position: relative; margin: unset ">
|
|
10
|
+
<yt-chat
|
|
11
|
+
right="100"
|
|
12
|
+
bottom="100"
|
|
13
|
+
width="50"
|
|
14
|
+
height="50"
|
|
15
|
+
title="菜鸟驿站"
|
|
16
|
+
icon-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"
|
|
17
|
+
host-url="https://ai-api.yuntu.cn"
|
|
18
|
+
user-info='{"id": "123", "name": "John Doe", "code":"1606451129" }'
|
|
19
|
+
app-id="0b4cc8ef-d5bb-45e6-b342-647765f5d195"
|
|
20
|
+
is-show-side-left=true
|
|
21
|
+
is-show-side-right=false
|
|
22
|
+
modal-index="9999999999"
|
|
23
|
+
modal-width="1200"
|
|
24
|
+
dialog-index="999999999"
|
|
25
|
+
agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"
|
|
26
|
+
agent-name="医专智能助手"
|
|
27
|
+
logo-width="42px"
|
|
28
|
+
logo-font-size="26px"
|
|
29
|
+
logo-position="fixed"
|
|
30
|
+
is-title-side-icon=false
|
|
31
|
+
is-show-upload-button=true
|
|
32
|
+
/>
|
|
33
|
+
</body>
|
|
34
|
+
|
|
35
|
+
<!--<body style="width: 100vw; height: 100vh; margin:0 ">-->
|
|
36
|
+
<!--<yt-page-chat-->
|
|
37
|
+
<!-- title="菜鸟驿站"-->
|
|
38
|
+
<!-- host-url="https://ai-api.yuntu.cn"-->
|
|
39
|
+
<!-- app-id="a8e7ebd8-9bf7-499b-9e4a-c235078a0910"-->
|
|
40
|
+
<!-- user-info='{"id": "123", "name": "John Doe", "code":"1606451129" }'-->
|
|
41
|
+
<!-- tags='[{"name":"今天天气怎么样?"},{"name":"明天天气怎么样?"},{"name":"昨天天气怎么样?"}]'-->
|
|
42
|
+
<!-- box-style='{"height":"100%"}'-->
|
|
43
|
+
<!-- scene-id="c1e7a2a4-6127-4e53-a529-113da78eb069"-->
|
|
44
|
+
<!-- is-show-side-right=true-->
|
|
45
|
+
<!-- is-show-side-left=true-->
|
|
46
|
+
<!-- dialog-index="999999999"-->
|
|
47
|
+
<!-- agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"-->
|
|
48
|
+
<!-- agent-name="医专智能助手"-->
|
|
49
|
+
<!-- logo-width="42px"-->
|
|
50
|
+
<!-- logo-font-size="26px"-->
|
|
51
|
+
<!-- is-title-side-icon=true-->
|
|
52
|
+
<!-- is-show-upload-button=false-->
|
|
53
|
+
<!-- drop-man-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/ai/ai_man01.png"-->
|
|
54
|
+
<!--/>-->
|
|
55
|
+
<!--</body>-->
|
|
56
|
+
|
|
57
|
+
<!--<body style="width: 100vw; height: 100vh; position: relative; margin: unset ">-->
|
|
58
|
+
<!--<yt-split-modal-chat-->
|
|
59
|
+
<!-- right="100"-->
|
|
60
|
+
<!-- bottom="100"-->
|
|
61
|
+
<!-- width="50"-->
|
|
62
|
+
<!-- height="50"-->
|
|
63
|
+
<!-- title="招生助手"-->
|
|
64
|
+
<!-- icon-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"-->
|
|
65
|
+
<!-- host-url="https://ai-api.yuntu.cn"-->
|
|
66
|
+
<!-- user-info='{"id": "test", "name": "test", "code":"test" }'-->
|
|
67
|
+
<!-- is-show-side-right=true-->
|
|
68
|
+
<!-- is-show-side-left=true-->
|
|
69
|
+
<!-- scene-id="c1e7a2a4-6127-4e53-a529-113da78eb069"-->
|
|
70
|
+
<!-- modal-index="9999999999"-->
|
|
71
|
+
<!-- modal-width="1300"-->
|
|
72
|
+
<!-- dialog-index="999999999"-->
|
|
73
|
+
<!-- agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/bcyz/user/ai/agent.png"-->
|
|
74
|
+
<!-- agent-name="医专智能助手"-->
|
|
75
|
+
<!-- logo-width="42px"-->
|
|
76
|
+
<!-- logo-font-size="26px"-->
|
|
77
|
+
<!-- logo-position="fixed"-->
|
|
78
|
+
<!-- is-title-side-icon=false-->
|
|
79
|
+
<!-- is-show-upload-button=false-->
|
|
80
|
+
<!--/>-->
|
|
81
|
+
<!--</body>-->
|
|
82
|
+
|
|
83
|
+
<!--fd432d45-51fa-47cb-9ca9-a545385c618c de12e244-d603-4651-999f-25e22bdceeeb-->
|
|
84
|
+
<!--校园智多星sceneId=de12e244-d603-4651-999f-25e22bdceeeb appId=-->
|
|
85
|
+
<!--<body style="width: 100vw; height: 100vh; margin:0 ">-->
|
|
86
|
+
<!--<yt-page-chat-mobile-->
|
|
87
|
+
<!-- title="移动聊天"-->
|
|
88
|
+
<!-- host-url="https://ai-api.yuntu.cn"-->
|
|
89
|
+
<!-- app-id="a8e7ebd8-9bf7-499b-9e4a-c235078a0910"-->
|
|
90
|
+
<!-- user-info='{"id": "123", "name": "测试校长", "code":"1606451129" }'-->
|
|
91
|
+
<!-- tags='[{"name":"今天天气怎么样?"},{"name":"明天天气怎么样?"},{"name":"昨天天气怎么样?"}]'-->
|
|
92
|
+
<!-- box-style='{"height":"100%"}'-->
|
|
93
|
+
<!-- scene-id="de12e244-d603-4651-999f-25e22bdceeeb"-->
|
|
94
|
+
<!-- is-show-side-right=true-->
|
|
95
|
+
<!-- is-show-side-left=true-->
|
|
96
|
+
<!-- is-show-login=true-->
|
|
97
|
+
<!-- is-login=true-->
|
|
98
|
+
<!-- dialog-index="999999999"-->
|
|
99
|
+
<!-- agent-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/school/ccit/user/xc//image/ebfaf4da-c1d9-46fb-a0b1-f159e95cffc2_AI招生咨询小助手.png"-->
|
|
100
|
+
<!-- agent-name="校园智多星"-->
|
|
101
|
+
<!-- logo-width="42px"-->
|
|
102
|
+
<!-- logo-font-size="26px"-->
|
|
103
|
+
<!-- is-title-side-icon=true-->
|
|
104
|
+
<!-- is-show-upload-button=false-->
|
|
105
|
+
<!-- drop-man-url="https://trans-from-yuntu-resourse.oss-cn-beijing.aliyuncs.com/smartSchool/appCreator/ai/ai_man01.png"-->
|
|
106
|
+
<!--/>-->
|
|
107
|
+
<!--</body>-->
|
|
108
|
+
</html>
|