Skip to main content

Input

Type: GraphTypes.Audio The data type that STTNode accepts as input

Output

Type: String The data type that STTNode outputs

Examples

// Using provider configuration
const sttNode = new RemoteSTTNode({
id: 'my-stt-node',
sttConfig: { language_code: 'en-US' }
});

// Using existing STT component
const sttNodeWithComponent = new RemoteSTTNode({
id: 'my-stt-node',
sttComponent: existingSTTComponent
});

Constructors

Interfaces


Constructors

constructor

new RemoteSTTNode(props?: RemoteSTTNodeProps | RemoteSTTNodeWithComponentProps): RemoteSTTNode
Creates a new RemoteSTTNode instance.

Parameters

props
RemoteSTTNodeProps | RemoteSTTNodeWithComponentProps
Configuration for the STT node.

Returns

RemoteSTTNode

Interfaces

RemoteSTTNodeProps

Configuration for RemoteSTTNode using STT provider settings.

Properties

sttConfig: { languageCode?: string; } STT configuration object

RemoteSTTNodeWithComponentProps

Configuration for RemoteSTTNode using an existing STT component.

Properties

sttComponent: RemoteSTTComponent Existing STT component to use