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
Copy file name to clipboardExpand all lines: src/ragas/metrics/_faithfulness.py
+16-20Lines changed: 16 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@
55
55
56
56
NLI_STATEMENTS_MESSAGE=Prompt(
57
57
name="nli_statements",
58
-
instruction="Natural language inference. Use only 'Yes' (1), 'No' (0) and 'Null' (-1) as verdict.",
58
+
instruction="Natural language inference. Use only 'Yes' (1), 'No' (0)",
59
59
examples=[
60
60
{
61
61
"context": """John is a student at XYZ University. He is pursuing a degree in Computer Science. He is enrolled in several courses this semester, including Data Structures, Algorithms, and Database Management. John is a diligent student and spends a significant amount of time studying and completing assignments. He often stays late in the library to work on his projects.""",
@@ -97,15 +97,6 @@
97
97
"verdict": "0",
98
98
},
99
99
},
100
-
{
101
-
"context": """Albert Einstein was a German-born theoretical physicist who is widely held to be one of the greatest and most influential scientists of all time.""",
0 commit comments