providers

package
v0.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package providers bridges internal config with the public provider implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As

func As[T any](p Provider) (T, bool)

As unwraps provider wrapper layers (RetryProvider, etc.) to find the first provider satisfying interface T. Re-exported from pkg/providers.

Types

type Embedder

type Embedder = providers.Embedder

Opt-in capability interfaces — aliases for the public types.

type ModelLoader

type ModelLoader = providers.ModelLoader

ModelLoader is an alias for the public ModelLoader interface.

type Provider

type Provider = providers.Provider

Provider is an alias for the public Provider interface.

func New

func New(provider config.Provider) (Provider, error)

New creates a provider instance by name with the given URL and token.

type Reranker

type Reranker = providers.Reranker

Opt-in capability interfaces — aliases for the public types.

type Synthesizer

type Synthesizer = providers.Synthesizer

Opt-in capability interfaces — aliases for the public types.

type Transcriber

type Transcriber = providers.Transcriber

Opt-in capability interfaces — aliases for the public types.

Jump to

Keyboard shortcuts

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