LLamaModelMetadataOverride
Namespace: LLama.Native
Override a key/value pair in the llama model metadata (llama_model_kv_override)
public struct LLamaModelMetadataOverride
Inheritance Object → ValueType → LLamaModelMetadataOverride
Fields
key
Key to override
public <key>e__FixedBuffer key;
Tag
Type of value
public LLamaModelKvOverrideType Tag;
IntValue
Value, must only be used if Tag == LLAMA_KV_OVERRIDE_INT
public long IntValue;
FloatValue
Value, must only be used if Tag == LLAMA_KV_OVERRIDE_FLOAT
public double FloatValue;
BoolValue
Value, must only be used if Tag == LLAMA_KV_OVERRIDE_BOOL
public long BoolValue;