legacy

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 1 Imported by: 4

Documentation

Overview

*********** WARNING *********** This package defines interfaces for the live API

Deprecated: This package is deprecated. Use the listen package instead. This will be removed in a future release.

This package is frozen and no new functionality will be added. *********** WARNING ***********

Index

Constants

View Source
const (
	TypeOpenResponse          = interfacesv1.TypeOpenResponse
	TypeMessageResponse       = interfacesv1.TypeMessageResponse
	TypeMetadataResponse      = interfacesv1.TypeMetadataResponse
	TypeUtteranceEndResponse  = interfacesv1.TypeUtteranceEndResponse
	TypeSpeechStartedResponse = interfacesv1.TypeSpeechStartedResponse
	TypeFinalizeResponse      = interfacesv1.TypeFinalizeResponse
	TypeCloseStreamResponse   = interfacesv1.TypeCloseStreamResponse
	TypeCloseResponse         = interfacesv1.TypeCloseResponse
	TypeErrorResponse         = interfacesv1.TypeErrorResponse
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alternative

type Alternative = interfacesv1.Alternative

Alternative is a single alternative in a transcript

type Channel

type Channel = interfacesv1.Channel

Channel is a single channel in a transcript

type CloseResponse added in v1.1.6

type CloseResponse = interfacesv1.CloseResponse

type ErrorResponse

type ErrorResponse = interfacesv1.ErrorResponse

type LiveMessageCallback

type LiveMessageCallback = interfacesv1.LiveMessageCallback

Alias

type LiveOptions added in v1.4.0

********************************* Request/Input structs *********************************

type LiveTranscriptionOptions added in v1.2.0

type LiveTranscriptionOptions interfacesv1.LiveTranscriptionOptions

********************************* Request/Input structs *********************************

type MessageResponse

type MessageResponse = interfacesv1.MessageResponse

type MessageType added in v1.3.5

type MessageType = interfacesv1.MessageType

********************************* MessageType is the header to bootstrap you way unmarshalling other messages *********************************

Example:
{
	"type": "message",
	"message": {
		...
	}
}

type Metadata

type Metadata = interfacesv1.Metadata

Metadata is the metadata for a transcript

type MetadataResponse

type MetadataResponse = interfacesv1.MetadataResponse

type ModelInfo

type ModelInfo = interfacesv1.ModelInfo

ModelInfo is the model information for a transcript

type OpenResponse added in v1.1.6

type OpenResponse = interfacesv1.OpenResponse

********************************* Results from Live Transcription *********************************

type SpeechStartedResponse added in v1.1.1

type SpeechStartedResponse = interfacesv1.SpeechStartedResponse

type UtteranceEndResponse added in v1.0.2

type UtteranceEndResponse = interfacesv1.UtteranceEndResponse

type Word

type Word = interfacesv1.Word

********************************* shared/common structs ********************************* Word is a single word in a transcript

Jump to

Keyboard shortcuts

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