Skip to content

Commit 8fbc69f

Browse files
authored
[Quick start] Fix doc bash item (#71)
1 parent dae1890 commit 8fbc69f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

examples/tutorials/get-started/quickstart.ipynb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"cell_type": "markdown",
100100
"metadata": {},
101101
"source": [
102-
"### Set flow path and run input data"
102+
"### Set flow path"
103103
]
104104
},
105105
{
@@ -108,8 +108,7 @@
108108
"metadata": {},
109109
"outputs": [],
110110
"source": [
111-
"flow = \"../../flows/standard/web-classification\" # path to the flow directory\n",
112-
"data = \"../../flows/standard/web-classification/data.jsonl\" # path to the data file"
111+
"flow = \"../../flows/standard/web-classification\" # path to the flow directory"
113112
]
114113
},
115114
{
@@ -157,6 +156,8 @@
157156
"metadata": {},
158157
"outputs": [],
159158
"source": [
159+
"data = \"../../flows/standard/web-classification/data.jsonl\" # path to the data file\n",
160+
"\n",
160161
"# create run with default variant\n",
161162
"base_run = pf.run(flow=flow, data=data, stream=True)"
162163
]
@@ -199,7 +200,7 @@
199200
"eval_run = pf.run(\n",
200201
" flow=eval_flow,\n",
201202
" data=\"../../flows/standard/web-classification/data.jsonl\", # path to the data file\n",
202-
" run=base_run, # use run as the variant\n",
203+
" run=base_run, # specify base_run as the run you want to evaluate\n",
203204
" column_mapping={\n",
204205
" \"groundtruth\": \"${data.answer}\",\n",
205206
" \"prediction\": \"${run.outputs.category}\",\n",
@@ -262,7 +263,7 @@
262263
" - text: ${fetch_text_content_from_url.output}\n",
263264
"\n",
264265
"\n",
265-
"You can check the whole flow definistion at `../../flows/standard/web-classification/flow.dag.yaml`"
266+
"You can check the whole flow definition at [flow.dag.yaml](../../flows/standard/web-classification/flow.dag.yaml)"
266267
]
267268
},
268269
{
@@ -381,7 +382,7 @@
381382
"name": "python",
382383
"nbconvert_exporter": "python",
383384
"pygments_lexer": "ipython3",
384-
"version": "3.8.17"
385+
"version": "3.9.17"
385386
},
386387
"orig_nbformat": 4
387388
},

0 commit comments

Comments
 (0)