Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wangchao1230 committed Apr 15, 2024
1 parent fb45083 commit b8166f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/flex-flows/basic/flex-flow-quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,10 @@
"metadata": {},
"outputs": [],
"source": [
"flow = \".\" # path to the flow directory\n",
"data = \"./data.jsonl\" # path to the data file\n",
"\n",
"# create run with the flow and data\n",
"# create run with the flow function and data\n",
"base_run = pf.run(\n",
" flow=flow,\n",
" flow=flow_entry,\n",
" data=data,\n",
" column_mapping={\n",
" \"text\": \"${data.text}\",\n",
Expand Down Expand Up @@ -265,6 +263,7 @@
"metadata": {},
"outputs": [],
"source": [
"# we can also run flow pointing to yaml file\n",
"eval_flow = \"../eval-code-quality/flow.flex.yaml\"\n",
"\n",
"eval_run = pf.run(\n",
Expand Down Expand Up @@ -339,7 +338,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
},
"resources": "examples/requirements.txt, examples/flex-flows/basic"
},
Expand Down
1 change: 1 addition & 0 deletions examples/flex-flows/chat-basic/sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"question": "What is Prompt flow?"}

0 comments on commit b8166f1

Please sign in to comment.