DokuWiki Integration
在你的 wiki 上放一个 AI 助手,让它根据 wiki 页面回答
概述
The Asyntai plugin for DokuWiki does two things. It puts the chat assistant on every page of your wiki, and it sends your wiki pages to Asyntai so the assistant answers from them. Your readers ask a question in plain words and get the answer with a link to the page, instead of searching through hundreds of pages.
工作原理
Every time someone saves a page, the plugin sends the new text to your Asyntai knowledge base. A page that changes is sent again, and a page that is deleted is removed from Asyntai. One button sends the whole wiki at the start. This works for public wikis and for internal wikis behind a login alike, because the wiki pushes the pages out from inside.
要求
- DokuWiki 2024-02-06 Kaos or later
- wiki 的管理权限
- 一个 Asyntai 账户。创建是免费的,Free 套餐足以使用聊天挂件。
- 知识库同步需要付费的 Asyntai 套餐,因为它使用 Asyntai API
安装
按以下步骤把 Asyntai 添加到你的 wiki:
安装插件
Open Admin, then Extension Manager, search for Asyntai and press Install. You can also unpack the plugin into lib/plugins/asyntai.
连接您的账户
Open Admin, then Asyntai AI Chatbot, and press Get started. Sign in to Asyntai or create a free account in the window that opens. The chat assistant appears on every page at once.
添加你的 API 密钥
On the same page, paste an Asyntai API key, tick Send pages when they are saved, and press Save. Skip this step if you only want the chat widget.
Send the Whole Wiki
Press Send all pages now. The pages go out one after the other while you watch the progress. From then on, every saved page is sent on its own.
提示: 发布前,请在 Asyntai 后台添加你的文档、问答和说明,这样助手从第一位访客起就能答得准确。
同步发送什么
- The title and the text of each page, as plain text, with a link back to the wiki, so the assistant can point readers to the page
- 隐藏页面永远不会发送,因此技术页面不会进入知识库
- The wiki and playground namespaces are left out from the start, and you can add more on the settings page
- 短于 120 个字符的页面属于残缺条目,会被跳过
- A page is sent again only when it changed since the last time
如何移除
Uninstall the plugin from Admin, then Extension Manager. The chat assistant and the sync stop at once. Pages already sent stay in your Asyntai knowledge base until you delete them there.
隐私
Your API key is stored in conf/local.php, and only administrators can open the settings page. 隐私政策.
套餐与价格
The plugin is free. The chat widget works on every Asyntai plan, including the Free plan. The knowledge base sync needs a paid plan, because it uses the Asyntai API. 查看定价.
需要帮助?
如果您有任何问题或遇到困难,请通过 [email protected] 联系我们。