Repository navigation
docusaurus-plugin-asyntai: AI chat assistant that answers from your docs #13009
asyntai
started this conversation in
Plugins, Themes, Presets and Libs
This plugin adds the Asyntai AI chat assistant to every page of a Docusaurus site. Readers ask a question in the chat, and the assistant answers from your own published documentation.
npm install docusaurus-plugin-asyntai
// docusaurus.config.js module.exports = { plugins: [ ['docusaurus-plugin-asyntai', {widgetId: 'asyntai_1a2b3c4d5e6f'}], ], };
Build the site, and the chat bubble shows on every page.
- The widget ID is on the Install page of your Asyntai dashboard. It starts with
asyntai_. A free account is enough to try it. - The plugin adds one
asyncscript tag after the page body, so your docs render first. It wraps no React components and adds no CSS. - A missing or malformed
widgetIdstops the build with a clear message. - Set
enableInDevelopment: falseto keep the widget off duringdocusaurus start.
Links:
- Setup guide: https://asyntai.com/documentation/integrations/docusaurus/
- npm: https://www.npmjs.com/package/docusaurus-plugin-asyntai
- Source (MIT): https://github.com/asyntai/docusaurus-plugin-asyntai
Questions and feedback are welcome in this thread.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment