Update rag_bm.py

This commit is contained in:
YangQianli92 2024-04-16 14:48:31 +08:00 committed by GitHub
parent 081c1b45c7
commit 52a062db60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ class RAGExample:
self.llm = get_rag_llm()
async def rag_evaluate_pipeline(self, dataset_name: list[str] = ["CRUD"]):
dataset_config = self.benchmark.load_dataset()
dataset_config = self.benchmark.load_dataset(dataset_name)
for dataset in dataset_config.datasets:
if "all" in dataset_name or dataset.name in dataset_name: