Skip to content

Commit

Permalink
Comment chat-with-prompty eval section
Browse files Browse the repository at this point in the history
  • Loading branch information
0mza987 committed Apr 26, 2024
1 parent b6ebe4a commit 13aaa8c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions examples/prompty/chat-basic/chat-with-prompty.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -305,17 +305,17 @@
"metadata": {},
"outputs": [],
"source": [
"eval_run = pf.run(\n",
" flow=eval_prompty,\n",
" data=\"./data.jsonl\", # path to the data file\n",
" run=base_run, # specify base_run as the run you want to evaluate\n",
" column_mapping={\n",
" \"messages\": \"${data.chat_history}\",\n",
" \"question\": \"${data.question}\",\n",
" \"answer\": \"${run.outputs.answer}\",\n",
" },\n",
" stream=True,\n",
")"
"# eval_run = pf.run(\n",
"# flow=eval_prompty,\n",
"# data=\"./data.jsonl\", # path to the data file\n",
"# run=base_run, # specify base_run as the run you want to evaluate\n",
"# column_mapping={\n",
"# \"messages\": \"${data.chat_history}\",\n",
"# \"question\": \"${data.question}\",\n",
"# \"answer\": \"${run.outputs.answer}\",\n",
"# },\n",
"# stream=True,\n",
"# )"
]
},
{
Expand All @@ -324,8 +324,8 @@
"metadata": {},
"outputs": [],
"source": [
"details = pf.get_details(eval_run)\n",
"details.head(10)"
"# details = pf.get_details(eval_run)\n",
"# details.head(10)"
]
},
{
Expand Down Expand Up @@ -366,7 +366,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.9.19"
},
"resources": "examples/requirements.txt, examples/prompty/chat-basic, examples/prompty/eval-apology"
},
Expand Down

0 comments on commit 13aaa8c

Please sign in to comment.