Documentation
¶
Overview ¶
Package vps is the self-hosted whisper-server provider for SpeechKit: an OpenAI-compatible endpoint a user runs themselves, so audio never reaches a commercial provider.
It is the same adapter as pkg/speechkit/stt/openaicompat with two differences that only make sense for a server the user owns: network validation accepts loopback and private addresses, and the request timeout tolerates a cold start.
Stability: Beta — API-checked; may change with a changelog callout.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶ added in v0.74.0
type Options struct {
// BaseURL is the whisper-server endpoint root.
BaseURL string
// APIKey is sent as a bearer token. Empty for unauthenticated servers.
APIKey string
// Model pins the served model. Empty selects "whisper-1".
Model string
}
Options configures New.
type Provider ¶
type Provider = openaicompat.Provider
Provider is the OpenAI-compatible adapter pointed at a self-hosted server.