struct

AIIntegration::ModelConfig

Inherits Struct < Value < Object

AI Model Configuration

Constructors

new(model_path : String, type : ModelType)

Instance methods

context_length
context_length=(context_length : UInt32)
custom_params
custom_params=(custom_params : Hash(String, String))
max_tokens
max_tokens=(max_tokens : UInt32)
model_path
model_path=(model_path : String)
temperature
temperature=(temperature : Float32)
type
type=(type : ModelType)