explain

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: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Explain

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

func New

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

func (*Explain) Command

func (e *Explain) Command() *cli.Command

func (*Explain) Modelfile

func (e *Explain) Modelfile() string

func (*Explain) StreamExplanationFor

func (e *Explain) StreamExplanationFor(mode, prompt string) error

func (*Explain) Tag

func (e *Explain) Tag() string

Jump to

Keyboard shortcuts

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