Documentation ¶
Index ¶
Constants ¶
View Source
const (
Version = "dev-0.0.1"
)
Version TODO: generate that automatically
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func NewFromCLI ¶
func NewFromFile ¶
func NewFromGPTConfig ¶
func NewFromGPTConfig(cfg YamlGPTConfig) Config
type Networker ¶
func NewNetworker ¶
type Prompter ¶
type Prompter interface { Style() string InitialPrompt() string Context() string Locale() string Language() string }
func NewPrompter ¶
type Runtime ¶
func NewRuntime ¶
type YamlGPTConfig ¶
type YamlGPTConfig struct { LogLevel string `yaml:"log_level"` Rich bool `yaml:"rich"` Proxy string `yaml:"proxy"` WssLink string `yaml:"wss_link"` Style string `yaml:"style"` Prompt string `yaml:"prompt"` Context string `yaml:"context"` Locale string `yaml:"locale"` DaLLe dallecfg.YamlDALLEConfig `yaml:"dalle"` }
Click to show internal directories.
Click to hide internal directories.