File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
preview/evaluation/metrics Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ class Pointwise:
145145 metric = constants .Metric .MULTI_TURN_CHAT_QUALITY ,
146146 metric_prompt_template = _default_templates .MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
147147 )
148- MULTI_TURN_SAFETY_QUALITY = pointwise_metric .PointwiseMetric (
148+ MULTI_TURN_SAFETY = pointwise_metric .PointwiseMetric (
149149 metric = constants .Metric .MULTI_TURN_SAFETY ,
150150 metric_prompt_template = _default_templates .MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
151151 )
@@ -193,7 +193,7 @@ class Pairwise:
193193 metric = constants .Metric .PAIRWISE_MULTI_TURN_CHAT_QUALITY ,
194194 metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
195195 )
196- MULTI_TURN_SAFETY_QUALITY = pairwise_metric .PairwiseMetric (
196+ MULTI_TURN_SAFETY = pairwise_metric .PairwiseMetric (
197197 metric = constants .Metric .PAIRWISE_MULTI_TURN_SAFETY ,
198198 metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
199199 )
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ class Pointwise:
143143 metric = constants .Metric .MULTI_TURN_CHAT_QUALITY ,
144144 metric_prompt_template = _default_templates .MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
145145 )
146- MULTI_TURN_SAFETY_QUALITY = pointwise_metric .PointwiseMetric (
146+ MULTI_TURN_SAFETY = pointwise_metric .PointwiseMetric (
147147 metric = constants .Metric .MULTI_TURN_SAFETY ,
148148 metric_prompt_template = _default_templates .MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
149149 )
@@ -191,7 +191,7 @@ class Pairwise:
191191 metric = constants .Metric .PAIRWISE_MULTI_TURN_CHAT_QUALITY ,
192192 metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
193193 )
194- MULTI_TURN_SAFETY_QUALITY = pairwise_metric .PairwiseMetric (
194+ MULTI_TURN_SAFETY = pairwise_metric .PairwiseMetric (
195195 metric = constants .Metric .PAIRWISE_MULTI_TURN_SAFETY ,
196196 metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
197197 )
You can’t perform that action at this time.
0 commit comments