mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Add AI bot info to docs
This commit is contained in:
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…
x
Reference in New Issue
Block a user