Skip to content

Commit

Permalink
Merge pull request #170 from deepgram/sr/adds-extra
Browse files Browse the repository at this point in the history
adds extra feature to metadata types
  • Loading branch information
davidvonthenen authored Jan 29, 2024
2 parents 2a5c7a3 + 90b71fe commit 0cd182d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/live/v1/interfaces/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ type MetadataResponse struct {
Sha256 string `json:"sha256,omitempty"`
TransactionKey string `json:"transaction_key,omitempty"`
Type string `json:"type,omitempty"`
Extra map[string]string `json:"extra,omitempty"`
}

// UtteranceEndResponse is the response from a live transcription
Expand Down
1 change: 1 addition & 0 deletions pkg/api/prerecorded/v1/interfaces/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type Metadata struct {
IntentsInfo IntentsInfo `json:"intents_info,omitempty"`
SentimentInfo SentimentInfo `json:"sentiment_info,omitempty"`
TopicsInfo TopicsInfo `json:"topics_info,omitempty"`
Extra map[string]string `json:"extra,omitempty"`
}

type Warning struct {
Expand Down

0 comments on commit 0cd182d

Please sign in to comment.