Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIURL string `toml:"CAI_API_URL"` Model string `toml:"CAI_MODEL"` Provider string `toml:"CAI_PROVIDER"` APIToken string `toml:"CAI_API_TOKEN"` Language string `toml:"CAI_LANGUAGE"` PromptTemplate string `toml:"CAI_PROMPT_TEMPLATE"` TimeoutSeconds int `toml:"CAI_TIMEOUT_SECONDS"` }
Config holds the application configuration
func (*Config) GetPromptTemplatePath ¶
GetPromptTemplatePath returns the full path to the prompt template file
Click to show internal directories.
Click to hide internal directories.