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

gemini

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	API_KEY_ENV_VAR = "GEMINI_API_KEY"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	api.BasicInferenceProvider
}

func (*Provider) Clear added in v0.0.17

func (p *Provider) Clear(ctx context.Context) (bool, error)

func (*Provider) GetInference

func (p *Provider) GetInference(ctx context.Context) (model.ToolCallingChatModel, error)

func (*Provider) Initialize

func (p *Provider) Initialize(ctx context.Context)

func (*Provider) InstallHelp added in v0.0.17

func (p *Provider) InstallHelp() error

func (*Provider) SystemPrompt added in v0.0.10

func (p *Provider) SystemPrompt() string

Jump to

Keyboard shortcuts

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