Skip to content

Commit

Permalink
Missing SummaryInfo on Prerecorded
Browse files Browse the repository at this point in the history
  • Loading branch information
dvonthenen committed Nov 30, 2023
1 parent 88f87f4 commit b587e39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/api/prerecorded/v1/interfaces/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ type Metadata struct {
Duration float64 `json:"duration,omitempty"`
Channels int `json:"channels,omitempty"`
Models []string `json:"models,omitempty"`
ModelInfo map[string]struct {
SummaryInfo struct {
InputTokens int `json:"input_tokens,omitempty"`
OutputTokens int `json:"output_tokens,omitempty"`
ModelUUID string `json:"model_uuid,omitempty"`
} `json:"summary_info,omitempty"`
ModelInfo map[string]struct {
Name string `json:"name,omitempty"`
Version string `json:"version,omitempty"`
Arch string `json:"arch,omitempty"`
Expand Down

0 comments on commit b587e39

Please sign in to comment.