suggest

package
v0.0.0-...-a823697 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Stable   string = "stable"
	Balanced        = "balanced"
	Creative        = "creative"
)

Variables

View Source
var ShellPrefix = []string{"$", "❯"}

Functions

This section is empty.

Types

type Action

type Action int
const (
	Cancel Action = iota
	Execute
	Explain
)

type CommandForm

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

func NewCommandForm

func NewCommandForm(command string) *CommandForm

func (*CommandForm) Run

func (s *CommandForm) Run() error

type Suggest

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

func New

func New(api *ollama.Client, version string) *Suggest

func (*Suggest) Command

func (s *Suggest) Command() *cli.Command

func (*Suggest) Modelfile

func (s *Suggest) Modelfile() string

func (*Suggest) Tag

func (s *Suggest) Tag() string

Jump to

Keyboard shortcuts

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