runner

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OPENAI = "openai"
	GEMINI = "gemini"
)

Variables

View Source
var ErrNoKey = errorutil.New("OPENAI_API_KEY is not configured / provided.")

ErrNoKey is returned when no key is provided

Functions

This section is empty.

Types

type Runner

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

Runner contains the internal logic of the program

func NewRunner

func NewRunner(options *internal.Options) (*Runner, error)

NewRunner instance

func (*Runner) Run

func (r *Runner) Run() (*internal.Result, error)

Run the instance

Jump to

Keyboard shortcuts

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