mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
Update base.py
This commit is contained in:
parent
b93e6779b9
commit
bcc6691c4d
1 changed files with 1 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ class RAGBenchmark:
|
|||
mrr = self.MRR(nodes, reference_doc)
|
||||
|
||||
similarity = await self.SemanticSimilarity(response, reference)
|
||||
|
||||
result = self._set_metrics(
|
||||
bleu_avg, bleu1, bleu2, bleu3, bleu4, rouge_l,
|
||||
similarity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue