Skip to content

Navigation Menu

Sign up

docusaurus-plugin-asyntai: AI chat assistant that answers from your docs #13009

asyntai started this conversation in Plugins, Themes, Presets and Libs
Discussion options

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 async script tag after the page body, so your docs render first. It wraps no React components and adds no CSS.
  • A missing or malformed widgetId stops the build with a clear message.
  • Set enableInDevelopment: false to keep the widget off during docusaurus start.

Links:

Questions and feedback are welcome in this thread.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /