Skip to content

Commit

Permalink
update experiment and data format
Browse files Browse the repository at this point in the history
  • Loading branch information
rachhek committed Dec 11, 2024
1 parent 231bd20 commit 0f2fdc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion use_case_research_assistant/data/sample_data.json

This file was deleted.

2 changes: 2 additions & 0 deletions use_case_research_assistant/data/sample_data.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"question": "What's the population of Finland?", "answer": "The population of Finland is 5.5 million."}
{"question": "What's the population of France?", "answer": "The population of France is 67 million."}
4 changes: 2 additions & 2 deletions use_case_research_assistant/experiment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ connections:

datasets:
- name: research_assistant_training
source: data/sample_data.json
source: data/sample_data.jsonl
description: "This dataset is for prompt experiments."
mappings:
question: "${data.question}"
Expand All @@ -27,4 +27,4 @@ evaluators:
description: "This dataset is for evaluating flows."
mappings:
groundtruth: "${data.answer}"
prediction: "${run.outputs.answer}"
prediction: "${run.outputs.answer}"

0 comments on commit 0f2fdc9

Please sign in to comment.