Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListProviders

func ListProviders() []string

func RegisterProvider

func RegisterProvider(name string, provider Provider)

Types

type Provider

type Provider interface {
	Generate(ctx context.Context, prompt string) (string, error)
}

func GetProvider

func GetProvider(name string) (Provider, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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