Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rachhek committed Dec 12, 2024
1 parent 999c6da commit 94bb3d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
1 change: 1 addition & 0 deletions use_case_research_assistant/data/eval_data_new.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"question": "What are some generative ai products?", "company_name": "Microsoft", "website_filters": ["www.microsoft.com", "www.learn.microsoft.com"], "answers": ["hello"]}
17 changes: 5 additions & 12 deletions use_case_research_assistant/experiment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ connections:
api_key: ${api_key}
api_type: azure

datasets:
- name: research_assistant_training
source: data/sample_data.jsonl
description: "This dataset is for prompt experiments."
mappings:
question: "${data.question}"
answer: "${data.answer}"

datasets:
- name: research_assistant_new_training
source: data/sample_input.jsonl
description: "This dataset is for prompt experiments."
Expand All @@ -27,13 +20,13 @@ datasets:
answers: "${data.answers}"

evaluators:
- name: research_assistant_evaluation_flow
- name: research_assistant_evaluation_flow_new
flow: flows/evaluation
datasets:
- name: research_assistant_test
- name: research_assistant_test_new
reference: research_assistant_new_training
source: eval_data.jsonl
description: "This dataset is for evaluating flows."
mappings:
groundtruth: "${data.answer}"
prediction: "${run.outputs.answer}"
groundtruth: "${data.answers}"
prediction: "${run.outputs.answers}"

0 comments on commit 94bb3d5

Please sign in to comment.