AIIntegration::ModelConfig
Inherits Struct < Value < Object
AI Model Configuration
Constructors
new(model_path : String, type : ModelType)
SourceInstance methods
context_length
Sourcecontext_length=(context_length : UInt32)
Sourcecustom_params
Sourcecustom_params=(custom_params : Hash(String, String))
Sourcemax_tokens
Sourcemax_tokens=(max_tokens : UInt32)
Sourcemodel_path
Sourcemodel_path=(model_path : String)
Sourcetemperature
Sourcetemperature=(temperature : Float32)
Sourcetype
Sourcetype=(type : ModelType)
Source