Marker-Inc-Korea / RAGchain

Extension of Langchain for RAG. Easy benchmarking, multiple retrievals, reranker, time-aware RAG, and so on...
Apache License 2.0
274 stars 28 forks source link

fix error when using context_recall metric but don't validate passages #348

Closed vkehfdl1 closed 9 months ago

vkehfdl1 commented 9 months ago

close #347

There was error when you want to use context_recall, but not using context_precision, and don't validate passages. use_metrics value turns to empty list, so it occurs error at ragas library.

So I fix to check one more time after removing context_recall at ragas_metrics list.