Documentation ¶
Index ¶
- type GPTScript
- func (g *GPTScript) Close()
- func (g *GPTScript) GetModel() engine.Model
- func (g *GPTScript) ListModels(ctx context.Context, providers ...string) ([]string, error)
- func (g *GPTScript) ListTools(_ context.Context, prg types.Program) []types.Tool
- func (g *GPTScript) Run(ctx context.Context, prg types.Program, envs []string, input string) (string, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Cache cache.Options OpenAI openai.Options Monitor monitor.Options Runner runner.Options CredentialContext string `usage:"Context name in which to store credentials" default:"default"` Quiet *bool `usage:"No output logging (set --quiet=false to force on even when there is no TTY)" short:"q"` Env []string `usage:"-"` }
Click to show internal directories.
Click to hide internal directories.