Documentation
¶
Overview ¶
Package dictation provides an embeddable strict Dictation runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingRecorder = errors.New("speechkit dictation: recorder is required") ErrMissingTranscriber = errors.New("speechkit dictation: transcriber is required") ErrAlreadyRecording = errors.New("speechkit dictation: already recording") ErrNotRecording = errors.New("speechkit dictation: not recording") ErrAudioTooShort = errors.New("speechkit dictation: audio too short") )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Recorder speechkit.AudioRecorder
Transcriber speechkit.Transcriber
Output speechkit.TranscriptOutput
Store speechkit.Persistence
Policy speechkit.RuntimePolicy
Profiles []speechkit.ProviderProfile
Language string
Target any
MinPCMBytes int
}
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime is an embeddable Dictation-only service. It keeps the mode boundary strict: audio in, final text out, no tool calls or LLM rewriting.
func NewRuntime ¶
Click to show internal directories.
Click to hide internal directories.