Skip to content

Commit 803400d

Browse files
committed
Update factual correctness name and docs url
1 parent 5fff1db commit 803400d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

evaluators/ragas/langevals_ragas/factual_correctness.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ class RagasFactualCorrectnessEvaluator(
5757
Computes with an LLM how factually similar the generated answer is to the expected output.
5858
"""
5959

60-
name = "Factual Correctness"
60+
name = "LLM Factual Match"
6161
category = "quality"
6262
env_vars = env_vars
6363
default_settings = RagasFactualCorrectnessSettings()
6464
docs_url = (
65-
"https://docs.ragas.io/en/latest/concepts/metrics/answer_correctness.html"
65+
"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/factual_correctness/"
6666
)
6767
is_guardrail = False
6868

ts-integration/evaluators.generated.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,13 +1202,13 @@ Measures how many relevant contexts were retrieved compared to expected contexts
12021202
},
12031203
},
12041204
"ragas/factual_correctness": {
1205-
name: `Factual Correctness`,
1205+
name: `LLM Factual Match`,
12061206
description: `
12071207
Computes with an LLM how factually similar the generated answer is to the expected output.
12081208
`,
12091209
category: "quality",
12101210
docsUrl:
1211-
"https://docs.ragas.io/en/latest/concepts/metrics/answer_correctness.html",
1211+
"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/factual_correctness/",
12121212
isGuardrail: false,
12131213
requiredFields: ["output", "expected_output"],
12141214
optionalFields: [],

0 commit comments

Comments
 (0)