SmartAudioWhisperAdapter

Wisej.AI.Adapters.SmartAudioWhisperAdapter

Namespace: Wisej.AI.Adapters

Assembly: Wisej.AI (3.5.0.0)

Transcribes the audio file of the of the associated Audioarrow-up-right control to its Textarrow-up-right property in the original language of the audio. speech-to-textarrow-up-right

public class SmartAudioWhisperAdapter : SmartAdapter

Works with:

  • OpenAI Whisper

  • GroqCloud Whisper

Set the SourceURLarrow-up-right property of the associated Audioarrow-up-right control to the audio file that you want to transcribe to text. When AutoRun is true and the user presses the play button the adapter will automatically start the transcription. If AutoRun is set to false, use RunAsync (where control is the Audioarrow-up-right control) to start the transcription. You can use the SystemPrompt to improve the quality of the transcripts generated by the Whisper model. The model will try to match the style of the prompt, so it will be more likely to use capitalization and punctuation if the prompt does too. For more information promptingarrow-up-right.

Constructors

SmartAudioWhisperAdapter()

Initializes a new instance of SmartAudioWhisperAdapter.

Methods

OnControlDisposed(control)

Parameter
Type
Description

RegisterControl(control)

Parameter
Type
Description

RunAsyncCore(control)

Parameter
Type
Description

Returns: Task<Message>arrow-up-right.

Implements

Name
Description

Represents a provider that supplies tools.

Last updated