Skip to content

Commit 4427eca

Browse files
authored
Improve Clarity and Structure of Faithfulness Explanation in Documentation (#1114)
## Description This PR enhances the documentation by improving the clarity and structure of the faithfulness explanation. The changes include: - Reorganizing the content for better flow and readability - Clarifying the process of determining the faithfulness of generated answers - Fixing grammatical errors and improving sentence structure
1 parent 69b7c5d commit 4427eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concepts/metrics/faithfulness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This measures the factual consistency of the generated answer against the given context. It is calculated from answer and retrieved context. The answer is scaled to (0,1) range. Higher the better.
44

5-
The generated answer is regarded as faithful if all the claims that are made in the answer can be inferred from the given context. To calculate this a set of claims from the generated answer is first identified. Then each one of these claims are cross checked with given context to determine if it can be inferred from given context or not. The faithfulness score is given by divided by
5+
The generated answer is regarded as faithful if all the claims made in the answer can be inferred from the given context. To calculate this, a set of claims from the generated answer is first identified. Then each of these claims is cross-checked with the given context to determine if it can be inferred from the context. The faithfulness score is given by:
66

77
```{math}
88
:label: faithfulness

0 commit comments

Comments
 (0)