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: README.md
+33-16Lines changed: 33 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,16 +115,18 @@ api:
115
115
no_tools: null # Whether to bypass tools (optional)
116
116
system_prompt: null # Custom system prompt (optional)
117
117
118
-
# Metrics Configuration with thresholds
118
+
# Metrics Configuration with thresholds and defaults
119
119
metrics_metadata:
120
120
turn_level:
121
-
"ragas:faithfulness":
122
-
threshold: 0.8
123
-
description: "How faithful the response is to the provided context"
124
-
125
121
"ragas:response_relevancy":
126
122
threshold: 0.8
127
123
description: "How relevant the response is to the question"
124
+
default: true # Used by default when turn_metrics is null
125
+
126
+
"ragas:faithfulness":
127
+
threshold: 0.8
128
+
description: "How faithful the response is to the provided context"
129
+
default: false # Only used when explicitly specified
128
130
129
131
"custom:tool_eval":
130
132
description: "Tool call evaluation comparing expected vs actual tool calls (regex for arguments)"
@@ -160,16 +162,6 @@ visualization:
160
162
- conversation_group_id: "test_conversation"
161
163
description: "Sample evaluation"
162
164
163
-
# Turn-level metrics to evaluate
164
-
turn_metrics:
165
-
- "ragas:faithfulness"
166
-
- "custom:answer_correctness"
167
-
168
-
# Metric-specific configuration
169
-
turn_metrics_metadata:
170
-
"ragas:faithfulness":
171
-
threshold: 0.8
172
-
173
165
# Conversation-level metrics
174
166
conversation_metrics:
175
167
- "deepeval:conversation_completeness"
@@ -186,8 +178,23 @@ visualization:
186
178
- OpenShift Virtualization is an extension of the OpenShift ...
187
179
attachments: [] # Attachments (Optional)
188
180
expected_response: OpenShift Virtualization is an extension of the OpenShift Container Platform that allows running virtual machines alongside containers
181
+
182
+
# Per-turn metrics (overrides system defaults)
183
+
turn_metrics:
184
+
- "ragas:faithfulness"
185
+
- "custom:answer_correctness"
186
+
187
+
# Per-turn metric configuration
188
+
turn_metrics_metadata:
189
+
"ragas:faithfulness":
190
+
threshold: 0.9 # Override system default
191
+
# turn_metrics: null (omitted) β Use system defaults (metrics with default=true)
192
+
193
+
- turn_id: id2
194
+
query: Skip this turn evaluation
195
+
turn_metrics: [] # Skip evaluation for this turn
189
196
190
-
- turn_id: id2
197
+
- turn_id: id3
191
198
query: How do I create a virtual machine in OpenShift Virtualization?
192
199
response: null # Populated by API if enabled, otherwise provide
0 commit comments