Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: David S. Batista <dsbatista@gmail.com>
  • Loading branch information
shadeMe and davidsbatista authored Jun 3, 2024
1 parent 2e27fe8 commit aa29d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/evaluation/harness/rag/test_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ def test_rag_eval_harness_init_invalid_missing_outputs(
def test_rag_eval_harness_init_defaults(
rag_pipeline_with_query_embedder, rag_pipeline_with_keyword_retriever
):
harness = RAGEvaluationHarness.default_with_embedding_retriever(
_ = RAGEvaluationHarness.default_with_embedding_retriever(
rag_pipeline_with_query_embedder, metrics={RAGEvaluationMetric.DOCUMENT_MAP}
)

harness = RAGEvaluationHarness.default_with_keyword_retriever(
_ = RAGEvaluationHarness.default_with_keyword_retriever(
rag_pipeline_with_keyword_retriever, metrics={RAGEvaluationMetric.DOCUMENT_MAP}
)

Expand Down

0 comments on commit aa29d84

Please sign in to comment.