@@ -50,10 +50,11 @@ def list(
50
50
self ,
51
51
project_id : str ,
52
52
* ,
53
+ eval_issue_types : List [Literal ["hallucination" , "search_failure" , "unhelpful" ]] | NotGiven = NOT_GIVEN ,
53
54
limit : int | NotGiven = NOT_GIVEN ,
54
55
offset : int | NotGiven = NOT_GIVEN ,
55
56
order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
56
- sort : Optional [Literal ["created_at" , "answered_at" , "cluster_frequency_count" , "custom_rank" ]]
57
+ sort : Optional [Literal ["created_at" , "answered_at" , "cluster_frequency_count" , "custom_rank" , "eval_score" ]]
57
58
| NotGiven = NOT_GIVEN ,
58
59
states : List [Literal ["unanswered" , "draft" , "published" , "published_with_draft" ]] | NotGiven = NOT_GIVEN ,
59
60
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -87,6 +88,7 @@ def list(
87
88
timeout = timeout ,
88
89
query = maybe_transform (
89
90
{
91
+ "eval_issue_types" : eval_issue_types ,
90
92
"limit" : limit ,
91
93
"offset" : offset ,
92
94
"order" : order ,
@@ -162,10 +164,11 @@ def list(
162
164
self ,
163
165
project_id : str ,
164
166
* ,
167
+ eval_issue_types : List [Literal ["hallucination" , "search_failure" , "unhelpful" ]] | NotGiven = NOT_GIVEN ,
165
168
limit : int | NotGiven = NOT_GIVEN ,
166
169
offset : int | NotGiven = NOT_GIVEN ,
167
170
order : Literal ["asc" , "desc" ] | NotGiven = NOT_GIVEN ,
168
- sort : Optional [Literal ["created_at" , "answered_at" , "cluster_frequency_count" , "custom_rank" ]]
171
+ sort : Optional [Literal ["created_at" , "answered_at" , "cluster_frequency_count" , "custom_rank" , "eval_score" ]]
169
172
| NotGiven = NOT_GIVEN ,
170
173
states : List [Literal ["unanswered" , "draft" , "published" , "published_with_draft" ]] | NotGiven = NOT_GIVEN ,
171
174
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -199,6 +202,7 @@ def list(
199
202
timeout = timeout ,
200
203
query = maybe_transform (
201
204
{
205
+ "eval_issue_types" : eval_issue_types ,
202
206
"limit" : limit ,
203
207
"offset" : offset ,
204
208
"order" : order ,
0 commit comments