@@ -115,7 +115,18 @@ def list(
115115 List [Literal ["hallucination" , "search_failure" , "unhelpful" , "difficult_query" , "ungrounded" ]]
116116 ]
117117 | NotGiven = NOT_GIVEN ,
118- sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
118+ sort : Optional [
119+ Literal [
120+ "created_at" ,
121+ "primary_eval_issue_score" ,
122+ "score_trustworthiness" ,
123+ "score_context_sufficiency" ,
124+ "score_response_helpfulness" ,
125+ "score_query_ease" ,
126+ "score_response_groundedness" ,
127+ ]
128+ ]
129+ | NotGiven = NOT_GIVEN ,
119130 tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
120131 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
121132 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -250,7 +261,18 @@ def list_by_group(
250261 ]
251262 | NotGiven = NOT_GIVEN ,
252263 remediation_ids : List [str ] | NotGiven = NOT_GIVEN ,
253- sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
264+ sort : Optional [
265+ Literal [
266+ "created_at" ,
267+ "primary_eval_issue_score" ,
268+ "score_trustworthiness" ,
269+ "score_context_sufficiency" ,
270+ "score_response_helpfulness" ,
271+ "score_query_ease" ,
272+ "score_response_groundedness" ,
273+ ]
274+ ]
275+ | NotGiven = NOT_GIVEN ,
254276 tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
255277 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
256278 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -539,7 +561,18 @@ def list(
539561 List [Literal ["hallucination" , "search_failure" , "unhelpful" , "difficult_query" , "ungrounded" ]]
540562 ]
541563 | NotGiven = NOT_GIVEN ,
542- sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
564+ sort : Optional [
565+ Literal [
566+ "created_at" ,
567+ "primary_eval_issue_score" ,
568+ "score_trustworthiness" ,
569+ "score_context_sufficiency" ,
570+ "score_response_helpfulness" ,
571+ "score_query_ease" ,
572+ "score_response_groundedness" ,
573+ ]
574+ ]
575+ | NotGiven = NOT_GIVEN ,
543576 tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
544577 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
545578 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -676,7 +709,18 @@ async def list_by_group(
676709 ]
677710 | NotGiven = NOT_GIVEN ,
678711 remediation_ids : List [str ] | NotGiven = NOT_GIVEN ,
679- sort : Optional [Literal ["created_at" , "primary_eval_issue_score" ]] | NotGiven = NOT_GIVEN ,
712+ sort : Optional [
713+ Literal [
714+ "created_at" ,
715+ "primary_eval_issue_score" ,
716+ "score_trustworthiness" ,
717+ "score_context_sufficiency" ,
718+ "score_response_helpfulness" ,
719+ "score_query_ease" ,
720+ "score_response_groundedness" ,
721+ ]
722+ ]
723+ | NotGiven = NOT_GIVEN ,
680724 tool_call_names : Optional [List [str ]] | NotGiven = NOT_GIVEN ,
681725 was_cache_hit : Optional [bool ] | NotGiven = NOT_GIVEN ,
682726 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
0 commit comments