Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 26, 2024
1 parent c4a325d commit 58423dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions evals/evaluation/rag_eval/examples/eval_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ def main():
"summarization, question_answering, continuation and hallucinated_modified."
)
output_save_path = os.path.join(args.output_dir, f"{task}.json")
evaluator = CRUD_Evaluator(
dataset=dataset, output_path=output_save_path, task=task
)
evaluator = CRUD_Evaluator(dataset=dataset, output_path=output_save_path, task=task)
if args.ingest_docs:
CRUD_Evaluator.ingest_docs(args.docs_path, args.database_endpoint, args.chunk_size, args.chunk_overlap)
results = evaluator.evaluate(
Expand Down

0 comments on commit 58423dd

Please sign in to comment.