接入 dify

This commit is contained in:
XIE7654
2025-08-02 21:27:16 +08:00
parent c42a961440
commit 25e5e9dd01

View File

@@ -31,5 +31,33 @@
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script>
window.difyChatbotConfig = {
token: 'Wwun4nxbbn7jvkZj',
baseUrl: 'http://dify.ywwuzi.cn',
systemVariables: {
// user_id: 'YOU CAN DEFINE USER ID HERE',
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
},
userVariables: {
// avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE',
// name: 'YOU CAN DEFINE USER NAME HERE',
},
}
</script>
<script
src="http://dify.ywwuzi.cn/embed.min.js"
id="Wwun4nxbbn7jvkZj"
defer>
</script>
<style>
#dify-chatbot-bubble-button {
background-color: #1C64F2 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
}
</style>
</body>
</html>