Skip to content

Commit ff74458

Browse files
Update openapi.yaml
1 parent 8f467a1 commit ff74458

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

openapi.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,8 +3419,10 @@ paths:
34193419
enum: [completed, error, running, queued, user_error, inference_error]
34203420
description: The new status for the job
34213421
results:
3422-
type: object
3423-
description: Job results (required when status is 'completed')
3422+
oneOf:
3423+
- $ref: '#/components/schemas/EvaluationClassifyResults'
3424+
- $ref: '#/components/schemas/EvaluationScoreResults'
3425+
- $ref: '#/components/schemas/EvaluationCompareResults'
34243426
error:
34253427
type: string
34263428
description: Error message
@@ -6768,6 +6770,7 @@ components:
67686770
parameters:
67696771
type: object
67706772
description: The parameters used for this evaluation
6773+
additionalProperties: true
67716774
created_at:
67726775
type: string
67736776
format: date-time
@@ -6849,7 +6852,16 @@ components:
68496852
properties:
68506853
aggregated_scores:
68516854
type: object
6852-
description: Aggregated score statistics
6855+
properties:
6856+
mean_score:
6857+
type: number
6858+
format: float
6859+
std_score:
6860+
type: number
6861+
format: float
6862+
pass_percentage:
6863+
type: number
6864+
format: float
68536865
generation_fail_count:
68546866
type: number
68556867
format: integer

0 commit comments

Comments
 (0)