Documentation
¶
Overview ¶
Package models is the desktop host's view of the SpeechKit model catalog.
The catalog itself is owned by pkg/speechkit: profile shape, provider IDs, modality, execution mode, capabilities, and readiness metadata all live there. This package is a thin alias layer over that source of truth plus the host-only support entries (utility, embedding and TTS models a user never selects as a mode) that the desktop app appends.
Index ¶
Constants ¶
const ( ModalitySTT = speechkit.ModalitySTT ModalityTTS = speechkit.ModalityTTS ModalityRealtimeVoice = speechkit.ModalityRealtimeVoice ModalityAssist = speechkit.ModalityAssist ModalityUtility = speechkit.ModalityUtility ModalityEmbedding = speechkit.ModalityEmbedding ModalityReranker = speechkit.ModalityReranker )
const ( ExecutionModeLocal = speechkit.ExecutionModeLocal ExecutionModeSelfHostedHTTP = speechkit.ExecutionModeSelfHostedHTTP ExecutionModeHFRouted = speechkit.ExecutionModeHFRouted ExecutionModeHFInference = speechkit.ExecutionModeHFRouted // Legacy alias. ExecutionModeOpenAI = speechkit.ExecutionModeOpenAI ExecutionModeGroq = speechkit.ExecutionModeGroq ExecutionModeGoogle = speechkit.ExecutionModeGoogle ExecutionModeDeepgram = speechkit.ExecutionModeDeepgram ExecutionModeAssemblyAI = speechkit.ExecutionModeAssemblyAI ExecutionModeOllama = speechkit.ExecutionModeOllama ExecutionModeOpenRouter = speechkit.ExecutionModeOpenRouter )
const ( ProviderKindLocalBuiltIn = speechkit.ProviderKindLocalBuiltIn ProviderKindLocalProvider = speechkit.ProviderKindLocalProvider ProviderKindCloudProvider = speechkit.ProviderKindCloudProvider ProviderKindDirectProvider = speechkit.ProviderKindDirectProvider )
const ( CapabilityTranscription = speechkit.CapabilityTranscription CapabilitySTT = speechkit.CapabilitySTT CapabilityAudioInput = speechkit.CapabilityAudioInput CapabilityLLM = speechkit.CapabilityLLM CapabilityTTS = speechkit.CapabilityTTS CapabilityRealtimeAudio = speechkit.CapabilityRealtimeAudio CapabilityPipelineFallback = speechkit.CapabilityPipelineFallback CapabilityToolCalling = speechkit.CapabilityToolCalling CapabilityDictionaryPrompt = speechkit.CapabilityDictionaryPrompt CapabilityDictionaryNativeHints = speechkit.CapabilityDictionaryNativeHints CapabilityWordsPrompt = speechkit.CapabilityWordsPrompt CapabilityWordsNativeHints = speechkit.CapabilityWordsNativeHints CapabilityPostSTTReplacements = speechkit.CapabilityPostSTTReplacements CapabilitySessionSummary = speechkit.CapabilitySessionSummary CapabilityTranscript = speechkit.CapabilityTranscript CapabilityInterruptions = speechkit.CapabilityInterruptions CapabilitySessionResume = speechkit.CapabilitySessionResume CapabilityNativeContextPrompt = speechkit.CapabilityNativeContextPrompt CapabilityNativeKeyterms = speechkit.CapabilityNativeKeyterms CapabilityNativeDictationStream = speechkit.CapabilityNativeDictationStream CapabilityLanguageHints = speechkit.CapabilityLanguageHints CapabilitySpeakerStreaming = speechkit.CapabilitySpeakerStreaming CapabilityPrivacyRedaction = speechkit.CapabilityPrivacyRedaction CapabilityVoiceFocus = speechkit.CapabilityVoiceFocus CapabilityMedicalDomain = speechkit.CapabilityMedicalDomain CapabilityReasoningEffort = speechkit.CapabilityReasoningEffort CapabilityTranslation = speechkit.CapabilityTranslation CapabilityTranscriptionOnly = speechkit.CapabilityTranscriptionOnly CapabilitySpeakerDiarization = speechkit.CapabilitySpeakerDiarization CapabilitySpeakerIdentification = speechkit.CapabilitySpeakerIdentification CapabilitySpeakerAttribution = speechkit.CapabilitySpeakerAttribution CapabilitySpeakerEnrollment = speechkit.CapabilitySpeakerEnrollment )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capability ¶ added in v0.22.4
type Capability = speechkit.Capability
Catalog vocabulary. These are aliases, not copies: a value produced by the framework is the same value here, so nothing has to be converted at the boundary.
type Catalog ¶
type Catalog struct {
Profiles []Profile
}
func DefaultCatalog ¶
func DefaultCatalog() Catalog
DefaultCatalog is the framework catalog plus the host-only support entries, with framework defaults applied to every profile.
type ExecutionMode ¶
type ExecutionMode = speechkit.ExecutionMode
Catalog vocabulary. These are aliases, not copies: a value produced by the framework is the same value here, so nothing has to be converted at the boundary.
type Modality ¶
Catalog vocabulary. These are aliases, not copies: a value produced by the framework is the same value here, so nothing has to be converted at the boundary.
type ModelVariant ¶ added in v0.22.4
type ModelVariant = speechkit.ModelVariant
Catalog vocabulary. These are aliases, not copies: a value produced by the framework is the same value here, so nothing has to be converted at the boundary.
type Profile ¶
type Profile = speechkit.ProviderProfile
Catalog vocabulary. These are aliases, not copies: a value produced by the framework is the same value here, so nothing has to be converted at the boundary.
type ProviderKind ¶ added in v0.22.4
type ProviderKind = speechkit.ProviderKind
Catalog vocabulary. These are aliases, not copies: a value produced by the framework is the same value here, so nothing has to be converted at the boundary.