Documentation ¶
Index ¶
- func GetJson(resp *http.Response, target interface{}) error
- func Init(apiKey string, host string, path string) *deepgram
- type BufferSource
- type InvitationList
- type InvitationOptions
- type LiveTranscriptionOptions
- type Message
- type PreRecordedResponse
- type PreRecordedTranscriptionOptions
- type ReadStreamSource
- type TranscriptionSource
- type UrlSource
- type UsageRequest
- type UsageRequestList
- type UsageRequestListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BufferSource ¶
type InvitationList ¶
type InvitationList struct {
Invites []InvitationOptions `json:"invites"`
}
type InvitationOptions ¶
type LiveTranscriptionOptions ¶
type LiveTranscriptionOptions struct { Model string `json:"model" url:"model,omitempty" ` Language string `json:"language" url:"language,omitempty" ` Version string `json:"version" url:"version,omitempty" ` Punctuate bool `json:"punctuate" url:"punctuate,omitempty" ` Profanity_filter bool `json:"profanity_filter" url:"profanity_filter,omitempty" ` Redact bool `json:"redact" url:"redact,omitempty" ` Diarize interface{} `json:"diarize" url:"diarize,omitempty" ` Multichannel bool `json:"multichannel" url:"multichannel,omitempty" ` Alternatives int `json:"alternatives" url:"alternatives,omitempty" ` Numerals bool `json:"numerals" url:"numerals,omitempty" ` Search []string `json:"search" url:"search,omitempty" ` Callback string `json:"callback" url:"callback,omitempty" ` Keywords []string `json:"keywords" url:"keywords,omitempty" ` Interim_results bool `json:"interim_results" url:"interim_results,omitempty" ` Endpointing bool `json:"endpointing" url:"endpointing,omitempty" ` Vad_turnoff int `json:"vad_turnoff" url:"vad_turnoff,omitempty" ` Encoding string `json:"encoding" url:"encoding,omitempty" ` Channels int `json:"channels" url:"channels,omitempty" ` Sample_rate int `json:"sample_rate" url:"sample_rate,omitempty" ` Tier string `json:"tier" url:"tier,omitempty" ` Replace string `json:"replace" url:"replace,omitempty" ` }
type PreRecordedResponse ¶
type PreRecordedResponse struct { Request_id string `json:"request_id"` Metadata interface{} `json:"metadata"` Results interface{} `json:"results"` }
type PreRecordedTranscriptionOptions ¶
type PreRecordedTranscriptionOptions struct { Tier string `json:"tier" url:"tier,omitempty" ` Model string `json:"model" url:"model,omitempty" ` Version string `json:"version" url:"version,omitempty" ` Language string `json:"language" url:"language,omitempty" ` Punctuate bool `json:"punctuate" url:"punctuate,omitempty" ` Profanity_filter bool `json:"profanity_filter" url:"profanity_filter,omitempty" ` Redact bool `json:"redact" url:"redact,omitempty" ` Diarize interface{} `json:"diarize" url:"diarize,omitempty" ` Ner bool `json:"ner" url:"ner,omitempty" ` Multichannel bool `json:"multichannel" url:"multichannel,omitempty" ` Alternatives int `json:"alternatives" url:"alternatives,omitempty" ` Numerals bool `json:"numerals" url:"numerals,omitempty" ` Search []string `json:"search" url:"search,omitempty" ` Replace string `json:"replace" url:"replace,omitempty" ` Callback string `json:"callback" url:"callback,omitempty" ` Keywords []string `json:"keywords" url:"keywords,omitempty" ` Utterances bool `json:"utterances" url:"utterances,omitempty" ` Utt_split int `json:"utt_split" url:"utt_split,omitempty" ` Tag string `json:"tag" url:"tag,omitempty"` }
type ReadStreamSource ¶
type TranscriptionSource ¶
type TranscriptionSource interface { ReadStreamSource | UrlSource | BufferSource }
type UsageRequest ¶
type UsageRequest struct { RequestId string `json:"request_id" url:"request_id,omitempty"` Created string `json:"created" url:"created,omitempty"` Path string `json:"path" url:"path,omitempty"` Accessor string `json:"accessor" url:"accessor,omitempty"` Response interface{} `json:"response" url:"response,omitempty"` Callback interface{} `json:"callback" url:"callback,omitempty"` }
type UsageRequestList ¶
type UsageRequestListOptions ¶
Click to show internal directories.
Click to hide internal directories.