Skip to main content
Remote STT (Speech-to-Text) node for audio transcription. You can either use a pre-configured STT component that could be reused across multiple nodes or provide STT configuration, and the node will create a new component for you. Input: GraphTypes.Audio - The data type that RemoteSTTNode accepts as input Output: String - The data type that RemoteSTTNode outputs Example:
// 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
});

Constructor

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

Parameters

props (RemoteSTTNodeProps | RemoteSTTNodeWithComponentProps) = {} Optional configuration for the STT node. Can specify either STT provider settings or reference an existing STT component, but not both. If not provided, uses default settings.

Returns

RemoteSTTNode Overrides AbstractNode.constructor