AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class SpeechTranscriber

    Inheritance
    object
    AIComponent
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>
    SpeechTranscriber
    Inherited Members
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.Recorder
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.Microphone
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.IsRecording
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.Awake()
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.StartRecording()
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.StopRecordingAsync()
    AIGenerativeRecorder<SpeechToTextOptions, SpeechToTextProfile, string>.StopRecordingAndGenerateAsync()
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.saveOutput
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.outputPath
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.onSendRequest
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.onReceiveGeneratedContent
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.Api
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.SaveFolderPath
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.SaveGeneratedContents
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.Options
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.Awake()
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.InitializeSubcomponent(SpeechToTextOptions)
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.Generate(AudioClip)
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.GenerateAsync(AudioClip)
    AIComponent.streaming
    AIComponent.onReceiveUsage
    AIComponent.onErrorOccured
    AIComponent.Api
    AIComponent.DebugMode
    AIComponent.Logger
    AIComponent.IsProcessing
    AIComponent.IsSubcomponent
    AIComponent.Awake()
    AIComponent.SetParentComponent(AIComponent)
    AIComponent.Enqueue(Func<UniTask>)
    AIComponent.CancelAllRequests()
    AIComponent.CancelLastRequest()
    AIComponent.OnReceiveUsageData(Usage)
    AIComponent.LogInfo(string)
    AIComponent.LogWarning(string)
    AIComponent.LogError(string)
    AIComponent.IsInvalidPrompt(string)
    AIComponent.IsInvalidFile(IFile)
    AIComponent.IsInvalidFiles(IList<IFile>)
    AIComponent.NoRequiredComponent(MonoBehaviour)
    AIComponent.IsInvalidPrompt<T>(T)
    AIComponent.IsInvalidPrompt(TextPrompt, List<ChatMessage>)
    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>
    Overrides
    AIGenerative<SpeechToTextOptions, SpeechToTextProfile, AudioClip, string>.GenerateAsync(AudioClip)
    In this article
    Back to top Generated by DocFX