Documentation
¶
Index ¶
- Constants
- type Runtime
- func (r *Runtime) ApplyBrowserAction(ctx context.Context, provider setup.BrowserProviderOption, ...) (setup.BrowserProviderOption, error)
- func (r *Runtime) ApplyVoiceAction(ctx context.Context, moduleID string, provider setup.VoiceProviderOption, ...) (setup.VoiceProviderOption, error)
- func (r *Runtime) DecorateBrowserModule(module setup.BrowserModuleDescriptor) setup.BrowserModuleDescriptor
- func (r *Runtime) DecorateBrowserProvider(provider setup.BrowserProviderOption) setup.BrowserProviderOption
- func (r *Runtime) DecorateVoiceModules(modules []setup.VoiceModuleDescriptor) []setup.VoiceModuleDescriptor
- func (r *Runtime) DecorateVoiceProvider(moduleID string, provider setup.VoiceProviderOption) setup.VoiceProviderOption
- func (r *Runtime) ManagedPlaywrightMCPBinaryPathForTest() string
- func (r *Runtime) ManagedPlaywrightMCPBrowsersJSONPathForTest() string
- func (r *Runtime) ManagedVoiceBinaryPath(provider setup.VoiceProviderOption) (string, error)
- func (r *Runtime) PiperTextToSpeech(ctx context.Context, provider setup.VoiceProviderOption, text string) ([]byte, error)
- func (r *Runtime) PlaywrightBrowsersDirForTest() string
- func (r *Runtime) PlaywrightMCPServerConfig(provider setup.BrowserProviderOption) (setup.MCPServerConfig, bool)
- func (r *Runtime) SupertonicTextToSpeech(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" ActionInstallRuntime = "install-runtime" ActionDeleteRuntime = "delete-runtime" 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) ApplyBrowserAction ¶ added in v0.1.15
func (r *Runtime) ApplyBrowserAction(ctx context.Context, provider setup.BrowserProviderOption, request setup.BrowserProviderActionRequest) (setup.BrowserProviderOption, error)
func (*Runtime) ApplyVoiceAction ¶
func (r *Runtime) ApplyVoiceAction(ctx context.Context, moduleID string, provider setup.VoiceProviderOption, request setup.VoiceProviderActionRequest) (setup.VoiceProviderOption, error)
func (*Runtime) DecorateBrowserModule ¶ added in v0.1.15
func (r *Runtime) DecorateBrowserModule(module setup.BrowserModuleDescriptor) setup.BrowserModuleDescriptor
func (*Runtime) DecorateBrowserProvider ¶ added in v0.1.15
func (r *Runtime) DecorateBrowserProvider(provider setup.BrowserProviderOption) setup.BrowserProviderOption
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) ManagedPlaywrightMCPBinaryPathForTest ¶ added in v0.1.15
func (*Runtime) ManagedPlaywrightMCPBrowsersJSONPathForTest ¶ added in v0.1.15
func (*Runtime) ManagedVoiceBinaryPath ¶ added in v0.1.10
func (r *Runtime) ManagedVoiceBinaryPath(provider setup.VoiceProviderOption) (string, error)
func (*Runtime) PiperTextToSpeech ¶
func (*Runtime) PlaywrightBrowsersDirForTest ¶ added in v0.1.15
func (*Runtime) PlaywrightMCPServerConfig ¶ added in v0.1.15
func (r *Runtime) PlaywrightMCPServerConfig(provider setup.BrowserProviderOption) (setup.MCPServerConfig, bool)
func (*Runtime) SupertonicTextToSpeech ¶ added in v0.1.10
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)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.