Documentation
¶
Index ¶
- Constants
- type Runtime
- func (r *Runtime) ApplyVoiceAction(ctx context.Context, moduleID string, provider setup.VoiceProviderOption, ...) (setup.VoiceProviderOption, error)
- func (r *Runtime) DecorateVoiceModules(modules []setup.VoiceModuleDescriptor) []setup.VoiceModuleDescriptor
- func (r *Runtime) DecorateVoiceProvider(moduleID string, provider setup.VoiceProviderOption) setup.VoiceProviderOption
- func (r *Runtime) PiperTextToSpeech(ctx context.Context, provider setup.VoiceProviderOption, text string) ([]byte, error)
- func (r *Runtime) VoiceBinaryPath(provider setup.VoiceProviderOption) (string, error)
- func (r *Runtime) VoiceModelInstalled(moduleID string, provider setup.VoiceProviderOption) (bool, string)
- func (r *Runtime) VoiceModelInstalledForID(moduleID string, provider setup.VoiceProviderOption, modelID string) (bool, string)
- func (r *Runtime) VoiceModelPath(moduleID string, provider setup.VoiceProviderOption) string
- func (r *Runtime) VoiceModelPathForID(moduleID string, provider setup.VoiceProviderOption, modelID string) string
- func (r *Runtime) VoiceRuntimeRSSBytes(provider setup.VoiceProviderOption) uint64
- func (r *Runtime) WhisperCLIPath(provider setup.VoiceProviderOption) (string, error)
- func (r *Runtime) WhisperServerPath(provider setup.VoiceProviderOption) (string, error)
- func (r *Runtime) WhisperSpeechToText(ctx context.Context, provider setup.VoiceProviderOption, ...) (string, error)
- type WhisperSpeechInput
Constants ¶
View Source
const ( ActionDownload = "download" ActionDelete = "delete" ActionStart = "start" ActionStop = "stop" RuntimeNotImplemented = "not_implemented" RuntimeRunning = "running" RuntimeStopped = "stopped" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) ApplyVoiceAction ¶
func (r *Runtime) ApplyVoiceAction(ctx context.Context, moduleID string, provider setup.VoiceProviderOption, request setup.VoiceProviderActionRequest) (setup.VoiceProviderOption, error)
func (*Runtime) DecorateVoiceModules ¶
func (r *Runtime) DecorateVoiceModules(modules []setup.VoiceModuleDescriptor) []setup.VoiceModuleDescriptor
func (*Runtime) DecorateVoiceProvider ¶
func (r *Runtime) DecorateVoiceProvider(moduleID string, provider setup.VoiceProviderOption) setup.VoiceProviderOption
func (*Runtime) PiperTextToSpeech ¶
func (*Runtime) VoiceBinaryPath ¶
func (r *Runtime) VoiceBinaryPath(provider setup.VoiceProviderOption) (string, error)
func (*Runtime) VoiceModelInstalled ¶
func (*Runtime) VoiceModelInstalledForID ¶
func (*Runtime) VoiceModelPath ¶
func (r *Runtime) VoiceModelPath(moduleID string, provider setup.VoiceProviderOption) string
func (*Runtime) VoiceModelPathForID ¶
func (*Runtime) VoiceRuntimeRSSBytes ¶
func (r *Runtime) VoiceRuntimeRSSBytes(provider setup.VoiceProviderOption) uint64
func (*Runtime) WhisperCLIPath ¶
func (r *Runtime) WhisperCLIPath(provider setup.VoiceProviderOption) (string, error)
func (*Runtime) WhisperServerPath ¶
func (r *Runtime) WhisperServerPath(provider setup.VoiceProviderOption) (string, error)
func (*Runtime) WhisperSpeechToText ¶
func (r *Runtime) WhisperSpeechToText(ctx context.Context, provider setup.VoiceProviderOption, input WhisperSpeechInput) (string, error)
Click to show internal directories.
Click to hide internal directories.