Skip to content

Commit 8ebdf86

Browse files
authored
Merge pull request #1135 from vespa-engine/thomasht86/update-rag-blueprint-dirs
RAG Blueprint - Update path to queries
2 parents 8ea872d + ad354eb commit 8ebdf86

File tree

1 file changed

+32
-13
lines changed

1 file changed

+32
-13
lines changed

docs/sphinx/source/examples/rag-blueprint-vespa-cloud.ipynb

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,35 @@
108108
},
109109
{
110110
"cell_type": "code",
111-
"execution_count": 2,
111+
"execution_count": 1,
112112
"id": "039939b7",
113113
"metadata": {},
114114
"outputs": [
115115
{
116116
"name": "stdout",
117117
"output_type": "stream",
118118
"text": [
119-
"fatal: destination path 'src' already exists and is not an empty directory.\n"
119+
"Cloning into 'src'...\n",
120+
"remote: Enumerating objects: 640, done.\u001b[K\n",
121+
"remote: Counting objects: 100% (640/640), done.\u001b[K\n",
122+
"remote: Compressing objects: 100% (350/350), done.\u001b[K\n",
123+
"remote: Total 640 (delta 7), reused 557 (delta 5), pack-reused 0 (from 0)\u001b[K\n",
124+
"Receiving objects: 100% (640/640), 62.63 KiB | 1.01 MiB/s, done.\n",
125+
"Resolving deltas: 100% (7/7), done.\n",
126+
"remote: Enumerating objects: 15, done.\u001b[K\n",
127+
"remote: Counting objects: 100% (15/15), done.\u001b[K\n",
128+
"remote: Compressing objects: 100% (13/13), done.\u001b[K\n",
129+
"remote: Total 15 (delta 2), reused 8 (delta 2), pack-reused 0 (from 0)\u001b[K\n",
130+
"Receiving objects: 100% (15/15), 92.91 KiB | 318.00 KiB/s, done.\n",
131+
"Resolving deltas: 100% (2/2), done.\n",
132+
"Updating files: 100% (15/15), done.\n",
133+
"remote: Enumerating objects: 37, done.\u001b[K\n",
134+
"remote: Counting objects: 100% (37/37), done.\u001b[K\n",
135+
"remote: Compressing objects: 100% (30/30), done.\u001b[K\n",
136+
"remote: Total 37 (delta 8), reused 21 (delta 6), pack-reused 0 (from 0)\u001b[K\n",
137+
"Receiving objects: 100% (37/37), 111.45 KiB | 401.00 KiB/s, done.\n",
138+
"Resolving deltas: 100% (8/8), done.\n",
139+
"Updating files: 100% (37/37), done.\n"
120140
]
121141
}
122142
],
@@ -139,7 +159,7 @@
139159
},
140160
{
141161
"cell_type": "code",
142-
"execution_count": 3,
162+
"execution_count": 2,
143163
"id": "44ede02a",
144164
"metadata": {},
145165
"outputs": [],
@@ -193,7 +213,7 @@
193213
},
194214
{
195215
"cell_type": "code",
196-
"execution_count": 4,
216+
"execution_count": 3,
197217
"id": "9b58f243",
198218
"metadata": {},
199219
"outputs": [
@@ -222,13 +242,9 @@
222242
"│ │ ├── hybrid.xml\n",
223243
"│ │ ├── rag-with-gbdt.xml\n",
224244
"│ │ └── rag.xml\n",
225-
"│ ├── security\n",
226-
"│ │ └── clients.pem\n",
227245
"│ └── services.xml\n",
228246
"├── dataset\n",
229-
"│ ├── docs.jsonl\n",
230-
"│ ├── queries.json\n",
231-
"│ └── test_queries.json\n",
247+
"│ └── docs.jsonl\n",
232248
"├── eval\n",
233249
"│ ├── output\n",
234250
"│ │ ├── Vespa-training-data_match_first_phase_20250623_133241.csv\n",
@@ -243,6 +259,9 @@
243259
"│ ├── resp.json\n",
244260
"│ ├── train_lightgbm.py\n",
245261
"│ └── train_logistic_regression.py\n",
262+
"├── queries\n",
263+
"│ ├── queries.json\n",
264+
"│ └── test_queries.json\n",
246265
"├── deploy-locally.md\n",
247266
"├── generation.md\n",
248267
"├── query-profiles.md\n",
@@ -1188,7 +1207,7 @@
11881207
},
11891208
{
11901209
"cell_type": "code",
1191-
"execution_count": 23,
1210+
"execution_count": null,
11921211
"id": "1a35c274",
11931212
"metadata": {},
11941213
"outputs": [
@@ -1208,7 +1227,7 @@
12081227
}
12091228
],
12101229
"source": [
1211-
"queries_file = repo_root / \"dataset\" / \"queries.json\"\n",
1230+
"queries_file = repo_root / \"queries\" / \"queries.json\"\n",
12121231
"\n",
12131232
"with open(queries_file) as f:\n",
12141233
" queries = json.load(f)\n",
@@ -3417,12 +3436,12 @@
34173436
},
34183437
{
34193438
"cell_type": "code",
3420-
"execution_count": 39,
3439+
"execution_count": null,
34213440
"id": "25b9562c",
34223441
"metadata": {},
34233442
"outputs": [],
34243443
"source": [
3425-
"test_queries_file = repo_root / \"dataset\" / \"test_queries.json\"\n",
3444+
"test_queries_file = repo_root / \"queries\" / \"test_queries.json\"\n",
34263445
"\n",
34273446
"with open(test_queries_file) as f:\n",
34283447
" test_queries = json.load(f)\n",

0 commit comments

Comments
 (0)