Class SpeechTranscriber
Inheritance
object
SpeechTranscriber
Inherited Members
Namespace: Glitch9.AIDevKit.Components
Assembly: .dll
Syntax
public class SpeechTranscriber : AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>
Methods
GenerateAsync(AudioClip)
Asynchronously generates output based on the provided input prompt. This method should be overridden in derived classes to implement the actual generation logic. It returns a UniTask that resolves to the generated output. The onReceiveGeneratedContent event is triggered with the generated output once the task completes.
Declaration
public override UniTask<string> GenerateAsync(AudioClip recordedClip)
Parameters
Type | Name | Description |
---|---|---|
AudioClip | recordedClip |
Returns
Type | Description |
---|---|
UniTask<string> |