File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sdk/ai/azure-ai-projects/samples/evaluation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 103103 "required" : ["query" , "response" ],
104104 },
105105 metrics = {
106- "tool_selection " : EvaluatorMetric (
106+ "score " : EvaluatorMetric (
107107 type = EvaluatorMetricType .ORDINAL ,
108108 desirable_direction = EvaluatorMetricDirection .INCREASE ,
109109 min_value = 1 ,
201201 )
202202
203203 print ("Getting list of builtin evaluator versions" )
204- evaluators : ItemPaged [ EvaluatorVersion ] = project_client .evaluators .list_latest_versions (type = "builtin" )
204+ evaluators = project_client .evaluators .list_latest_versions (type = "builtin" )
205205 print ("List of builtin evaluator versions" )
206206 for evaluator in evaluators :
207207 pprint (evaluator )
208208
209209 print ("Getting list of custom evaluator versions" )
210- evaluators : ItemPaged [ EvaluatorVersion ] = project_client .evaluators .list_latest_versions (type = "custom" )
210+ evaluators = project_client .evaluators .list_latest_versions (type = "custom" )
211211 print ("List of custom evaluator versions" )
212212 for evaluator in evaluators :
213213 pprint (evaluator )
You can’t perform that action at this time.
0 commit comments