Skip to content

Commit c3c939f

Browse files
committed
fix structure response
1 parent fd0aff4 commit c3c939f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ldai/judge/evaluation_schema_builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def build(evaluation_metric_keys: list[str]) -> Dict[str, Any]:
1818
:return: Schema dictionary for structured output
1919
"""
2020
return {
21+
'title': 'EvaluationResponse',
22+
'description': f"Response containing evaluation results for {', '.join(evaluation_metric_keys)} metrics",
2123
'type': 'object',
2224
'properties': {
2325
'evaluations': {

0 commit comments

Comments
 (0)