Add AI bot info to docs

pull/2385/head v0.8.1
shamoon 1 year ago
parent 5bc6730e8b
commit 507e72407f

@ -6,6 +6,10 @@ hide:
- navigation - navigation
--- ---
## Introducing the Homepage AI Bot
Thanks to the generous folks at [Glime](https://glimelab.ai), Homepage is now equipped with a pretty helpful AI-powered bot. The bot has full knowledge of our docs, GitHub issues and discussions and great at answering specific questions about setting up your Homepage. To use the bot, just hit the 'Ask AI' button on any page in our docs or check out the [#ai-support channel on Discord](https://discord.com/channels/1019316731635834932/1177885603552038993)!
## General Troubleshooting Tips ## General Troubleshooting Tips
- For API errors, clicking the "API Error Information" button in the widget will usually show some helpful information as to whether the issue is reaching the service host, an authentication issue, etc. - For API errors, clicking the "API Error Information" button in the widget will usually show some helpful information as to whether the issue is reaching the service host, an authentication issue, etc.

@ -1,6 +1,12 @@
var glimeScript;
document$.subscribe(function () { document$.subscribe(function () {
var glimeScript = document.createElement("script"); if (!glimeScript) {
glimeScript.setAttribute("src", "https://cdn.glimelab.ai/widget/1.0.0/widget.js"); glimeScript = document.createElement("script");
glimeScript.setAttribute("onload", 'window.glime.init("Bl3mlvfCnTnRm5");'); glimeScript.setAttribute("data", "name: 'glime'");
document.head.appendChild(glimeScript); glimeScript.setAttribute("src", "https://cdn.glimelab.ai/widget/1.0.0/widget.js");
glimeScript.setAttribute("onload", 'window.glime.init("Bl3mlvfCnTnRm5");');
document.head.appendChild(glimeScript);
} else {
// window.glime.init("Bl3mlvfCnTnRm5");
}
}); });

Loading…
Cancel
Save