restv1

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Overview

This package defines the Pre-recorded API for Deepgram

Index

Constants

View Source
const (
	PackageVersion string = "v1.0"
)

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 Client

type Client struct {
	*rest.Client
}

Alias

func New

func New(client *rest.Client) *Client

New creates a new Client

func (*Client) FromFile

FromFile transcribes a prerecorded audio file from a file

func (*Client) FromStream

FromStream transcribes a prerecorded audio file from a stream

func (*Client) FromURL

FromURL transcribes a prerecorded audio file from a URL

Directories

Path Synopsis
This package provides the types for the Deepgram PreRecorded API.
This package provides the types for the Deepgram PreRecorded API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL