Documentation
¶
Overview ¶
Package tts re-exports the public pkg/speechkit/tts TTS surface so the existing kernel/adapter call sites (cmd/speechkit, internal/server, internal/assist, internal/voiceagent/cascaded, internal/ttswiring) keep compiling unchanged after the providers moved out to the public package. New TTS adapter code goes in pkg/speechkit/tts.
Index ¶
- Constants
- Variables
- type CapabilityReporter
- type Deepgram
- type DeepgramOpts
- type EnabledProviders
- type Google
- type GoogleOpts
- type HuggingFace
- type HuggingFaceOpts
- type OpenAI
- type OpenAIOpts
- type Piper
- type PiperOpts
- type PiperVoiceInfo
- type Provider
- type ProviderKind
- type ResolvedSynthesizeOptions
- type Result
- type Router
- type Service
- type ServiceOption
- type Strategy
- type SynthesizeOpts
Constants ¶
const ( ProviderKindLocalBuiltIn = pkgtts.ProviderKindLocalBuiltIn ProviderKindLocalProvider = pkgtts.ProviderKindLocalProvider ProviderKindCloudProvider = pkgtts.ProviderKindCloudProvider ProviderKindDirectProvider = pkgtts.ProviderKindDirectProvider StrategyCloudFirst = pkgtts.StrategyCloudFirst StrategyLocalFirst = pkgtts.StrategyLocalFirst StrategyCloudOnly = pkgtts.StrategyCloudOnly StrategyLocalOnly = pkgtts.StrategyLocalOnly )
Variables ¶
var ( NewRouter = pkgtts.NewRouter NewService = pkgtts.NewService WithDefaultOpts = pkgtts.WithDefaultOpts OrderByPreferredProvider = pkgtts.OrderByPreferredProvider PreferredProviderForProfileID = pkgtts.PreferredProviderForProfileID ResolveSynthesizeOptions = pkgtts.ResolveSynthesizeOptions BuildRouter = pkgtts.BuildRouter NewOpenAI = pkgtts.NewOpenAI NewGoogle = pkgtts.NewGoogle NewDeepgram = pkgtts.NewDeepgram NewHuggingFace = pkgtts.NewHuggingFace NewPiper = pkgtts.NewPiper ListPiperVoices = pkgtts.ListPiperVoices )
Functions and constructors (function-value aliases keep signatures in sync).
var ErrMissingRouter = pkgtts.ErrMissingRouter
ErrMissingRouter is re-exported for callers that branch on it.
Functions ¶
This section is empty.
Types ¶
type CapabilityReporter ¶ added in v0.42.0
type CapabilityReporter = pkgtts.CapabilityReporter
Core contracts and routing.
type DeepgramOpts ¶ added in v0.43.0
type DeepgramOpts = pkgtts.DeepgramOpts
Concrete providers + their option structs.
type EnabledProviders ¶ added in v0.42.0
type EnabledProviders = pkgtts.EnabledProviders
Core contracts and routing.
type HuggingFaceOpts ¶
type HuggingFaceOpts = pkgtts.HuggingFaceOpts
Concrete providers + their option structs.
type PiperVoiceInfo ¶ added in v0.37.8
type PiperVoiceInfo = pkgtts.PiperVoiceInfo
Concrete providers + their option structs.
type ProviderKind ¶ added in v0.46.0
type ProviderKind = pkgtts.ProviderKind
Core contracts and routing.
type ResolvedSynthesizeOptions ¶ added in v0.45.0
type ResolvedSynthesizeOptions = pkgtts.ResolvedSynthesizeOptions
Core contracts and routing.
type ServiceOption ¶ added in v0.46.0
type ServiceOption = pkgtts.ServiceOption
Core contracts and routing.