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:
145
145
metric = constants .Metric .MULTI_TURN_CHAT_QUALITY ,
146
146
metric_prompt_template = _default_templates .MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
147
147
)
148
- MULTI_TURN_SAFETY_QUALITY = pointwise_metric .PointwiseMetric (
148
+ MULTI_TURN_SAFETY = pointwise_metric .PointwiseMetric (
149
149
metric = constants .Metric .MULTI_TURN_SAFETY ,
150
150
metric_prompt_template = _default_templates .MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
151
151
)
@@ -193,7 +193,7 @@ class Pairwise:
193
193
metric = constants .Metric .PAIRWISE_MULTI_TURN_CHAT_QUALITY ,
194
194
metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
195
195
)
196
- MULTI_TURN_SAFETY_QUALITY = pairwise_metric .PairwiseMetric (
196
+ MULTI_TURN_SAFETY = pairwise_metric .PairwiseMetric (
197
197
metric = constants .Metric .PAIRWISE_MULTI_TURN_SAFETY ,
198
198
metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
199
199
)
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ class Pointwise:
143
143
metric = constants .Metric .MULTI_TURN_CHAT_QUALITY ,
144
144
metric_prompt_template = _default_templates .MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
145
145
)
146
- MULTI_TURN_SAFETY_QUALITY = pointwise_metric .PointwiseMetric (
146
+ MULTI_TURN_SAFETY = pointwise_metric .PointwiseMetric (
147
147
metric = constants .Metric .MULTI_TURN_SAFETY ,
148
148
metric_prompt_template = _default_templates .MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
149
149
)
@@ -191,7 +191,7 @@ class Pairwise:
191
191
metric = constants .Metric .PAIRWISE_MULTI_TURN_CHAT_QUALITY ,
192
192
metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_CHAT_QUALITY_PROMPT_TEMPLATE ,
193
193
)
194
- MULTI_TURN_SAFETY_QUALITY = pairwise_metric .PairwiseMetric (
194
+ MULTI_TURN_SAFETY = pairwise_metric .PairwiseMetric (
195
195
metric = constants .Metric .PAIRWISE_MULTI_TURN_SAFETY ,
196
196
metric_prompt_template = _default_templates .PAIRWISE_MULTI_TURN_SAFETY_PROMPT_TEMPLATE ,
197
197
)
You can’t perform that action at this time.
0 commit comments