package
Version:
v0.4.0-rc1
Opens a new window with list of versions in this module.
Published: Mar 8, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WithConfig returns a new context with the provided config
type Config struct {
ChatGPTApiUrl string `json:"chatGPTAPiUrl"`
SystemMessage string `json:"systemMessage"`
}
func CreateAndValidateConfig() Config
FromContext extracts the config from the context, if available
Source Files
¶
Click to show internal directories.
Click to hide internal directories.