utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdditionalInstructionsKey = "additional_instructions"
	ApiKeyKey                 = "api_key"
	MaxTokensKey              = "max_tokens"
	ModelKey                  = "model"
	TemperatureKey            = "temperature"
	TopPKey                   = "top_p"
	TopKKey                   = "top_k"
	PresencePenaltyKey        = "presence_penalty"
	FrequencyPenaltyKey       = "frequency_penalty"
)

Variables

This section is empty.

Functions

func Prompt

func Prompt(label string) (string, error)

func PromptSelect

func PromptSelect(label string, items []string) (int, string, error)

func ResetConfig

func ResetConfig()

func ValidateRequired

func ValidateRequired(value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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