google

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Provider string
	APIKey   string
	BaseURL  string
	Client   *http.Client
}

func NewFromEnv

func NewFromEnv() (*Adapter, error)

func NewWithProvider

func NewWithProvider(provider, apiKey, baseURL string) *Adapter

func (*Adapter) Complete

func (a *Adapter) Complete(ctx context.Context, req llm.Request) (llm.Response, error)

func (*Adapter) Name

func (a *Adapter) Name() string

func (*Adapter) Stream

func (a *Adapter) Stream(ctx context.Context, req llm.Request) (llm.Stream, error)

Jump to

Keyboard shortcuts

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