Skip to content

Commit 075663b

Browse files
Merge branch 'main' into pminervini-main
2 parents 31a5fb0 + 68b7245 commit 075663b

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

docs/docusaurus.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,23 @@ const config: Config = {
155155
}),
156156
],
157157
],
158+
scripts: [
159+
{
160+
id: "runllm-widget-script",
161+
type: "module",
162+
src: "https://cdn.jsdelivr.net/npm/@runllm/search-widget@stable/dist/run-llm-search-widget.es.js",
163+
"runllm-server-address": "https://api.runllm.com",
164+
"runllm-assistant-id": "132",
165+
"runllm-position": "BOTTOM_RIGHT",
166+
"runllm-keyboard-shortcut": "Mod+j",
167+
version: "stable",
168+
"runllm-preset": "docusaurus",
169+
"runllm-slack-community-url": "",
170+
"runllm-name": "DSPy",
171+
"runllm-theme-color": "#005EEC",
172+
async: true,
173+
},
174+
],
158175
};
159176

160177
export default config;

dsp/primitives/demonstrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def knn(
167167

168168
train_casted_to_vectorize = [cast(cur_elem) for cur_elem in train]
169169

170-
vectorizer: "BaseSentenceVectorizer" = dsp.settings.vectorizer
170+
vectorizer: BaseSentenceVectorizer = dsp.settings.vectorizer
171171
all_vectors = vectorizer(train_casted_to_vectorize).astype(np.float32)
172172

173173
index = create_faiss_index(

0 commit comments

Comments
 (0)