forked from AsherBond/dspy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Ask AI in mkdocs (stanfordnlp#1669)
- Loading branch information
1 parent
2890ddf
commit d9161b3
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
document.addEventListener("DOMContentLoaded", function () { | ||
var script = document.createElement("script"); | ||
script.defer = true; | ||
script.type = "module"; | ||
script.id = "runllm-widget-script"; | ||
script.src = | ||
"https://widget.runllm.com"; | ||
script.setAttribute("runllm-name", "DSPy"); | ||
script.setAttribute("runllm-preset", "mkdocs"); | ||
script.setAttribute("runllm-server-address", "https://api.runllm.com"); | ||
script.setAttribute("runllm-assistant-id", "132"); | ||
script.setAttribute("runllm-position", "BOTTOM_RIGHT"); | ||
script.setAttribute("runllm-keyboard-shortcut", "Mod+j"); | ||
script.setAttribute( | ||
"runllm-slack-community-url", | ||
"" | ||
); | ||
|
||
document.head.appendChild(script); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters