Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

add runllm chat widget

cw757c188fbc6843
diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts
index ffbbf9f93..0782bf780 100644
--- a/docs/docusaurus.config.ts
+++ b/docs/docusaurus.config.ts
@@ -155,6 +155,23 @@ const config: Config = {
}),
],
],
+ scripts: [
+ {
+ id: "runllm-widget-script",
+ type: "module",
+ src: "https://cdn.jsdelivr.net/npm/@runllm/search-widget@stable/dist/run-llm-search-widget.es.js",
+ "runllm-server-address": "https://api.runllm.com",
+ "runllm-assistant-id": "132",
+ "runllm-position": "BOTTOM_RIGHT",
+ "runllm-keyboard-shortcut": "Mod+j",
+ version: "stable",
+ "runllm-preset": "docusaurus",
+ "runllm-slack-community-url": "",
+ "runllm-name": "DSPy",
+ "runllm-theme-color": "#005EEC",
+ async: true,
+ },
+ ],
};
export default config;