You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: docs/concepts/metrics/faithfulness.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
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.
4
4
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 crosschecked 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:
0 commit comments