Skip to content

Commit

Permalink
文档机器人替换成Dify,MiniMax大模型
Browse files Browse the repository at this point in the history
  • Loading branch information
shanjingheng committed Nov 14, 2023
1 parent ced3e97 commit 2e3da89
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/.vuepress/templates/index.build.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,19 @@
<!--vuepress-ssr-styles-->
<!--vuepress-ssr-resources-->

<script
src="https://udify.app/embed.min.js"
id="KJyrY8btzxWayDDf"
defer>
</script>

<script type="text/javascript">window.DocsBotAI=window.DocsBotAI||{},DocsBotAI.init=function(c){return new Promise(function(e,o){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://widget.docsbot.ai/chat.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),t.addEventListener("load",function(){window.DocsBotAI.mount({id:c.id,supportCallback:c.supportCallback,identify:c.identify});var t;t=function(n){return new Promise(function(e){if(document.querySelector(n))return e(document.querySelector(n));var o=new MutationObserver(function(t){document.querySelector(n)&&(e(document.querySelector(n)),o.disconnect())});o.observe(document.body,{childList:!0,subtree:!0})})},t&&t("#docsbotai-root").then(e).catch(o)}),t.addEventListener("error",function(t){o(t.message)})})};</script>
<script>
window.difyChatbotConfig = {
token: 'KJyrY8btzxWayDDf'
}
</script>

<!-- <script type="text/javascript">window.DocsBotAI=window.DocsBotAI||{},DocsBotAI.init=function(c){return new Promise(function(e,o){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://widget.docsbot.ai/chat.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),t.addEventListener("load",function(){window.DocsBotAI.mount({id:c.id,supportCallback:c.supportCallback,identify:c.identify});var t;t=function(n){return new Promise(function(e){if(document.querySelector(n))return e(document.querySelector(n));var o=new MutationObserver(function(t){document.querySelector(n)&&(e(document.querySelector(n)),o.disconnect())});o.observe(document.body,{childList:!0,subtree:!0})})},t&&t("#docsbotai-root").then(e).catch(o)}),t.addEventListener("error",function(t){o(t.message)})})};</script>
<script type="text/javascript">
function resizeDocBotPosition(){
setTimeout(()=>{
Expand All @@ -52,7 +63,7 @@
DocsBotAI.init({id: "wAq4J83xvnonxzKkoqyB/RPYdTllyoosTgw216djx"}).then(()=>{
resizeDocBotPosition()
})
</script>
</script> -->
</head>
<body>
<div id="app"><!--vuepress-ssr-app--></div>
Expand Down

0 comments on commit 2e3da89

Please sign in to comment.