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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider = openaicompat.Provider
Provider is the OpenAI-compatible adapter pointed at a self-hosted server.
func New ¶
New creates a provider for a self-hosted whisper-server on its default model. Loopback, private ranges and plain http are allowed because these deployments live inside a VPN, on a home LAN, or on localhost.
func NewWithModel ¶
NewWithModel creates a self-hosted whisper-server provider pinned to model. An empty model defaults to "whisper-1".