config

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel               string `mapstructure:"log-level"`
	PGHost                 string `mapstructure:"pg-host"`
	PGPort                 int    `mapstructure:"pg-port"`
	PGDatabase             string `mapstructure:"pg-database"`
	PGUser                 string `mapstructure:"pg-user"`
	PGPassword             string `mapstructure:"pg-password"`
	PGSSLMode              string `mapstructure:"pg-sslmode"`
	DTPGHost               string `mapstructure:"dt-pg-host"`
	DTPGPort               int    `mapstructure:"dt-pg-port"`
	DTPGDatabase           string `mapstructure:"dt-pg-database"`
	DTPGUser               string `mapstructure:"dt-pg-user"`
	DTPGPassword           string `mapstructure:"dt-pg-password"`
	DTPGSSLMode            string `mapstructure:"dt-pg-sslmode"`
	OpenAIAPIKey           string `mapstructure:"openai-api-key"`
	LLMBaseURL             string `mapstructure:"llm-base-url"`
	LLMChatModel           string `mapstructure:"llm-chat-model"`
	LLMCodeModel           string `mapstructure:"llm-code-model"`
	LLMEmbeddingModel      string `mapstructure:"llm-embedding-model"`
	LLMEmbeddingDimensions int64  `mapstructure:"llm-embedding-dimensions"`
	InitialQuery           string `mapstructure:"initial-query"`
	ProjectRoot            string `mapstructure:"project-root"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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