Documentation ¶
Overview ¶
This package defines the Pre-recorded API for Deepgram
Index ¶
- Variables
- type PrerecordedClient
- func (c *PrerecordedClient) FromFile(ctx context.Context, file string, ...) (*api.PreRecordedResponse, error)
- func (c *PrerecordedClient) FromStream(ctx context.Context, src io.Reader, ...) (*api.PreRecordedResponse, error)
- func (c *PrerecordedClient) FromURL(ctx context.Context, url string, ...) (*api.PreRecordedResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidInput required input was not found ErrInvalidInput = errors.New("required input was not found") )
errors
Functions ¶
This section is empty.
Types ¶
type PrerecordedClient ¶
func New ¶
func New(client *client.Client) *PrerecordedClient
func (*PrerecordedClient) FromFile ¶
func (c *PrerecordedClient) FromFile(ctx context.Context, file string, options interfaces.PreRecordedTranscriptionOptions) (*api.PreRecordedResponse, error)
func (*PrerecordedClient) FromStream ¶
func (c *PrerecordedClient) FromStream(ctx context.Context, src io.Reader, options interfaces.PreRecordedTranscriptionOptions) (*api.PreRecordedResponse, error)
func (*PrerecordedClient) FromURL ¶
func (c *PrerecordedClient) FromURL(ctx context.Context, url string, options interfaces.PreRecordedTranscriptionOptions) (*api.PreRecordedResponse, error)
Directories ¶
Path | Synopsis |
---|---|
This package provides the types for the Deepgram PreRecorded API.
|
This package provides the types for the Deepgram PreRecorded API. |
Click to show internal directories.
Click to hide internal directories.