5050
5151
5252class QueryLogsByGroupQueryLogFormattedEscalationEvalScores (BaseModel ):
53+ display_name : str
54+
5355 score : float
5456
5557 status : Literal ["pass" , "fail" ]
5658
5759
5860class QueryLogsByGroupQueryLogFormattedEvalScores (BaseModel ):
61+ display_name : str
62+
5963 score : float
6064
6165 status : Literal ["pass" , "fail" ]
6266
6367
6468class QueryLogsByGroupQueryLogFormattedGuardrailEvalScores (BaseModel ):
69+ display_name : str
70+
6571 score : float
6672
6773 status : Literal ["pass" , "fail" ]
6874
6975
7076class QueryLogsByGroupQueryLogFormattedNonGuardrailEvalScores (BaseModel ):
77+ display_name : str
78+
7179 score : float
7280
7381 status : Literal ["pass" , "fail" ]
@@ -384,6 +392,9 @@ class QueryLogsByGroupQueryLog(BaseModel):
384392 escalation_evals : Optional [List [str ]] = None
385393 """Evals that should trigger escalation to SME"""
386394
395+ eval_display_names : Optional [Dict [str , str ]] = None
396+ """Mapping of eval keys to display names at time of creation"""
397+
387398 eval_issue_labels : Optional [List [str ]] = None
388399 """Labels derived from evaluation scores"""
389400
@@ -402,6 +413,18 @@ class QueryLogsByGroupQueryLog(BaseModel):
402413 Used to log tool calls in the query log.
403414 """
404415
416+ expert_guardrail_override_explanation : Optional [str ] = None
417+ """
418+ Explanation of why the response was either guardrailed or not guardrailed by
419+ expert review. Expert review will override the original guardrail decision.
420+ """
421+
422+ expert_override_log_id : Optional [str ] = None
423+ """
424+ ID of the query log with expert review that overrode the original guardrail
425+ decision.
426+ """
427+
405428 expert_review_created_at : Optional [datetime ] = None
406429 """When the expert review was created"""
407430
@@ -449,9 +472,6 @@ class QueryLogsByGroupQueryLog(BaseModel):
449472 primary_eval_issue_score : Optional [float ] = None
450473 """Score of the primary eval issue"""
451474
452- similar_query_log_guardrail_explanation : Optional [str ] = None
453- """Explanation from a similar bad query log that caused this to be guardrailed"""
454-
455475 tools : Optional [List [QueryLogsByGroupQueryLogTool ]] = None
456476 """Tools to use for the LLM call.
457477
0 commit comments