Skip to main content

Examples

const sttComponent = new RemoteSTTComponent({
\ *   sttConfig: {
provider: 'whisper',
modelName: 'whisper-1',
language: 'en'
}
});

Constructors

Interfaces


Constructors

constructor

new RemoteSTTComponent(props: RemoteSTTComponentProps): RemoteSTTComponent
Creates a new RemoteSTTComponent instance.

Parameters

props
RemoteSTTComponentProps
required
Configuration for the remote STT component.

Returns

RemoteSTTComponent

Interfaces

RemoteSTTComponentProps

Configuration options for RemoteSTTComponent creation.

Properties

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