vps

package
v0.64.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

In v0.64.0 the identifiers below alias the implementation that still lives in pkg/speechkit/stt. v0.65.0 moves the implementation here and deletes the old names, so code written against this package needs no further change.

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

func New(baseURL, apiKey string) *Provider

New returns a VPS provider on the server's default model.

func NewWithModel

func NewWithModel(baseURL, apiKey, model string) *Provider

NewWithModel returns a VPS provider pinned to model. An empty model defaults to "whisper-1".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL