Skip to content

Commit

Permalink
Update factual correctness name and docs url
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriochaves committed Jan 5, 2025
1 parent 5fff1db commit 803400d
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions evaluators/ragas/langevals_ragas/factual_correctness.py
Original file line number Diff line number Diff line change
@@ -57,12 +57,12 @@ class RagasFactualCorrectnessEvaluator(
Computes with an LLM how factually similar the generated answer is to the expected output.
"""

name = "Factual Correctness"
name = "LLM Factual Match"
category = "quality"
env_vars = env_vars
default_settings = RagasFactualCorrectnessSettings()
docs_url = (
"https://docs.ragas.io/en/latest/concepts/metrics/answer_correctness.html"
"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/factual_correctness/"
)
is_guardrail = False

4 changes: 2 additions & 2 deletions ts-integration/evaluators.generated.ts
Original file line number Diff line number Diff line change
@@ -1202,13 +1202,13 @@ Measures how many relevant contexts were retrieved compared to expected contexts
},
},
"ragas/factual_correctness": {
name: `Factual Correctness`,
name: `LLM Factual Match`,
description: `
Computes with an LLM how factually similar the generated answer is to the expected output.
`,
category: "quality",
docsUrl:
"https://docs.ragas.io/en/latest/concepts/metrics/answer_correctness.html",
"https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/factual_correctness/",
isGuardrail: false,
requiredFields: ["output", "expected_output"],
optionalFields: [],

0 comments on commit 803400d

Please sign in to comment.