struct

AIIntegration::ModelConfig

Inherits Struct < Value < Object

AI Model Configuration

Constructors

new(model_path : String, type : ModelType)
Source

Instance methods

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