llmprovider

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleProvider

type GoogleProvider struct {
	// contains filtered or unexported fields
}

func NewGoogleProvider

func NewGoogleProvider(ctx context.Context) (*GoogleProvider, error)

func (*GoogleProvider) Call

func (gp *GoogleProvider) Call(ctx context.Context, systemPrompt, userPrompt string) (string, error)

func (*GoogleProvider) Model

func (gp *GoogleProvider) Model() string

type Provider

type Provider interface {
	Call(systemPrompt, userPrompt string) (string, error)
	Model() string
}

Jump to

Keyboard shortcuts

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