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
---
## 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
- 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 () {
var glimeScript = document.createElement("script");
glimeScript.setAttribute("src", "https://cdn.glimelab.ai/widget/1.0.0/widget.js");
glimeScript.setAttribute("onload", 'window.glime.init("Bl3mlvfCnTnRm5");');
document.head.appendChild(glimeScript);
if (!glimeScript) {
glimeScript = document.createElement("script");
glimeScript.setAttribute("data", "name: 'glime'");
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