Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultDeepSeekModel = "deepseek-chat" DefaultDeepSeekBaseURL = "https://api.deepseek.com" DefaultDeepSeekFrequencyPenalty = 0.0 DefaultDeepSeekPresencePenalty = 0.0 DefaultDeepSeekTopP = 1.0 )
Functions ¶
func GetMaxTokensForModel ¶
Types ¶
type ClassSettings ¶
type ClassSettings interface {
Model() string
MaxTokens() *float64
Temperature() *float64
FrequencyPenalty() float64
PresencePenalty() float64
TopP() float64
BaseURL() string
Stop() []string
Validate(class *models.Class) error
}
func NewClassSettings ¶
func NewClassSettings(cfg moduletools.ClassConfig) ClassSettings
Click to show internal directories.
Click to hide internal directories.