Skip to content

Commit

Permalink
delete duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
olachinkei committed Oct 21, 2024
1 parent 9a32116 commit 226be68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wandbot/evaluation/weave_eval/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ async def get_eval_record(
return {
"system_prompt": response["system_prompt"],
"generated_answer": response["answer"],
"retrieved_contexts": response["source_documents"],
"retrieved_contexts_individual": parse_text_to_json(response["source_documents"]),
"model": response["model"],
"total_tokens": response["total_tokens"],
Expand Down Expand Up @@ -103,7 +102,6 @@ async def get_answer_correctness(
"answer_correctness": result.dict()["passing"]
}


dataset_ref = weave.ref(config.eval_dataset).get()
question_rows = dataset_ref.rows
question_rows = [
Expand Down

0 comments on commit 226be68

Please sign in to comment.