Documentation
¶
Index ¶
- Constants
- Variables
- type AssemblyAIOpts
- type AssemblyAIProvider
- type BuildSpec
- type CapabilityReporter
- type DeepgramOptions
- type DeepgramOpts
- type DeepgramProvider
- type EnabledProviders
- type GoogleOpts
- type GoogleSTTProvider
- type GroqOpts
- type HuggingFaceOpts
- type HuggingFaceProvider
- type InstallStatus
- type LocalOpts
- type LocalProvider
- type OllamaOpts
- type OpenAICompatibleProvider
- type OpenAIOpts
- type OpenRouterOpts
- type OpenRouterSTTProvider
- type ResolvedTranscribeOptions
- type Result
- type RouterConfig
- type STTProvider
- type TranscribeOpts
- type VPSOpts
- type VPSProvider
- type WordConfidence
Constants ¶
const LanguageMulti = pkgstt.LanguageMulti
LanguageMulti is the value carried when no language is pinned. Never forwarded verbatim — each provider expresses multilanguage in its own dialect. See pkg/speechkit/stt.LanguageMulti.
const MinWhisperModelBytes = pkgstt.MinWhisperModelBytes
Variables ¶
var ( ResolveTranscribeOptions = pkgstt.ResolveTranscribeOptions ParseDeepgramKeyterms = pkgstt.ParseDeepgramKeyterms ValidateModelPath = pkgstt.ValidateModelPath FindWhisperBinary = pkgstt.FindWhisperBinary SetSecretResolver = pkgstt.SetSecretResolver NewGoogleSTTProvider = pkgstt.NewGoogleSTTProvider NewDeepgramProvider = pkgstt.NewDeepgramProvider NewAssemblyAIProvider = pkgstt.NewAssemblyAIProvider NewHuggingFaceProvider = pkgstt.NewHuggingFaceProvider NewOpenAISTTProvider = pkgstt.NewOpenAISTTProvider NewOpenRouterSTTProvider = pkgstt.NewOpenRouterSTTProvider NewGroqSTTProvider = pkgstt.NewGroqSTTProvider NewLocalProvider = pkgstt.NewLocalProvider NewVPSProvider = pkgstt.NewVPSProvider NewVPSProviderWithModel = pkgstt.NewVPSProviderWithModel NewOpenAICompatibleProvider = pkgstt.NewOpenAICompatibleProvider NewOllamaSTTProvider = pkgstt.NewOllamaSTTProvider )
Functions and constructors (function-value aliases keep signatures in sync with the public package automatically).
var BuildRouter = pkgstt.BuildRouter
BuildRouter forwards to the public router assembly SSOT.
var IsMultilanguage = pkgstt.IsMultilanguage
IsMultilanguage reports whether a language value means "do not pin".
Functions ¶
This section is empty.
Types ¶
type AssemblyAIOpts ¶ added in v0.61.32
type AssemblyAIOpts = pkgstt.AssemblyAIOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type AssemblyAIProvider ¶ added in v0.42.0
type AssemblyAIProvider = pkgstt.AssemblyAIProvider
Concrete provider types.
type BuildSpec ¶ added in v0.42.0
type BuildSpec struct {
ExecutionMode models.ExecutionMode
Provider string
ModelID string
APIKey string // cloud API key (OpenAI/Groq/Google/Deepgram/AssemblyAI/OpenRouter)
Token string // HuggingFace token
BaseURL string // Ollama base URL (optional; defaulted when empty)
// DiarizationModel overrides the Deepgram diarization model (optional).
DiarizationModel string
// Deepgram forwards provider-specific Listen options (optional).
Deepgram DeepgramOptions
// Google streaming credential env-var names (optional), forwarded to the
// Google provider so realtime transcription can authenticate.
GoogleStreamingCredentialsEnv string
GoogleApplicationCredentialsEnv string
}
BuildSpec carries the inputs needed to construct a cloud STT provider for a given ExecutionMode. It mirrors pkg/speechkit/stt.BuildSpec but keeps the internal models.ExecutionMode type for host callers.
type CapabilityReporter ¶ added in v0.42.0
type CapabilityReporter = pkgstt.CapabilityReporter
Core contracts.
type DeepgramOptions ¶ added in v0.45.0
type DeepgramOptions = pkgstt.DeepgramOptions
Concrete provider types.
type DeepgramOpts ¶ added in v0.61.32
type DeepgramOpts = pkgstt.DeepgramOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type DeepgramProvider ¶ added in v0.42.0
type DeepgramProvider = pkgstt.DeepgramProvider
Concrete provider types.
type EnabledProviders ¶ added in v0.61.32
type EnabledProviders = pkgstt.EnabledProviders
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type GoogleOpts ¶ added in v0.61.32
type GoogleOpts = pkgstt.GoogleOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type GroqOpts ¶ added in v0.61.32
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type HuggingFaceOpts ¶ added in v0.61.32
type HuggingFaceOpts = pkgstt.HuggingFaceOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type HuggingFaceProvider ¶
type HuggingFaceProvider = pkgstt.HuggingFaceProvider
Concrete provider types.
type LocalOpts ¶ added in v0.61.32
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type OllamaOpts ¶ added in v0.61.32
type OllamaOpts = pkgstt.OllamaOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type OpenAICompatibleProvider ¶
type OpenAICompatibleProvider = pkgstt.OpenAICompatibleProvider
Concrete provider types.
type OpenAIOpts ¶ added in v0.61.32
type OpenAIOpts = pkgstt.OpenAIOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type OpenRouterOpts ¶ added in v0.61.32
type OpenRouterOpts = pkgstt.OpenRouterOpts
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).
type OpenRouterSTTProvider ¶ added in v0.28.2
type OpenRouterSTTProvider = pkgstt.OpenRouterSTTProvider
Concrete provider types.
type ResolvedTranscribeOptions ¶ added in v0.45.0
type ResolvedTranscribeOptions = pkgstt.ResolvedTranscribeOptions
Core contracts.
type RouterConfig ¶ added in v0.61.32
type RouterConfig = pkgstt.RouterConfig
Router assembly (single public assembly path shared by the Device- and Server-Targets; see pkg/speechkit/stt.BuildRouter).