text

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEFAULT = Configurations{
	Model:        "gpt-4-turbo-preview",
	SystemPrompt: "You are an assistent for a CLI interface. Answer concisely and informatively. Prefer markdown if possible.",
}

Functions

This section is empty.

Types

type Configurations

type Configurations struct {
	Model         string      `json:"model"`
	SystemPrompt  string      `json:"system-prompt"`
	Raw           bool        `json:"raw"`
	StdinReplace  string      `json:"-"`
	Stream        bool        `json:"-"`
	ReplyMode     bool        `json:"-"`
	ChatMode      bool        `json:"-"`
	Glob          string      `json:"-"`
	InitialPrompt models.Chat `json:"-"`
	// PostProccessedPrompt which has had it's strings replaced etc
	PostProccessedPrompt string `json:"-"`
}

Configurations used to setup the requirements of text models

func (*Configurations) SetupPrompts

func (c *Configurations) SetupPrompts() error

Jump to

Keyboard shortcuts

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