Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApiKeyKey = "api_key" FrequencyPenaltyKey = "frequency_penalty" MaxTokensKey = "max_tokens" ModelKey = "model" PresencePenaltyKey = "presence_penalty" QueryKey = "query" TemperatureKey = "temperature" TopKKey = "top_k" TopPKey = "top_p" )
Variables ¶
View Source
var AvailableModels = []string{"sonar-small-chat", "sonar-small-online", "sonar-medium-chat", "sonar-medium-online", "llama-2-70b-chat", "codellama-34b-instruct", "codellama-70b-instruct", "mistral-7b-instruct", "mixtral-8x7b-instruct"}
Functions ¶
func InitConfig ¶ added in v0.5.0
func InitConfig()
func ResetConfig ¶
func ResetConfig()
func UpdateConfigValue ¶ added in v0.5.0
func ValidateRequired ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.