-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: DIA-1325: update response for inference-runs (#21)
Co-authored-by: nik <nik@heartex.net>
- Loading branch information
Showing
3 changed files
with
199 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
components: | ||
schemas: | ||
KeyIndicators: | ||
title: Scores and metadata | ||
type: array | ||
items: | ||
type: object | ||
required: | ||
- key | ||
- title | ||
- main_kpi | ||
properties: | ||
key: | ||
title: Indicator key | ||
description: The key for this KPI, where you can find the value from inside main_kpi | ||
type: string | ||
title: | ||
title: Metric title | ||
description: The title for this metric, to be displayed to the user | ||
type: string | ||
main_kpi: | ||
title: The primary KPI, displayed in the top left of the box | ||
type: string | ||
secondary_kpi: | ||
title: The secondary KPI, displayed in the top right of the box | ||
type: string | ||
additional_kpis: | ||
title: Additional KPIs | ||
description: Additional KPIs to be displayed at the bottom of the box | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
key: | ||
title: Indicator key | ||
description: The key for this KPI, where you can find the value from inside main_kpi | ||
type: string | ||
label: | ||
title: Label | ||
description: The label for this KPI, to be displayed to the user | ||
type: string | ||
extra_kpis: | ||
title: Extra KPIs | ||
description: Extra KPIs to be displayed in the hover-tootip for that indicator | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
key: | ||
title: Indicator key | ||
description: The key for this KPI, where you can find the value from inside main_kpi | ||
type: string | ||
label: | ||
title: Label | ||
description: The label for this KPI, to be displayed to the user | ||
type: string | ||
|
||
KeyIndicatorValue: | ||
title: Key Indicator Value | ||
type: object | ||
properties: | ||
title: | ||
title: Key Indicator Title | ||
type: string | ||
values: | ||
title: Key Indicator Values | ||
type: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters