Skip to content

LLamaModelMetadataOverride

Namespace: LLama.Native

Override a key/value pair in the llama model metadata (llama_model_kv_override)

1
public struct LLamaModelMetadataOverride

Inheritance ObjectValueTypeLLamaModelMetadataOverride

Fields

key

Key to override

1
public <key>e__FixedBuffer key;

Tag

Type of value

1
public LLamaModelKvOverrideType Tag;

IntValue

Value, must only be used if Tag == LLAMA_KV_OVERRIDE_INT

1
public long IntValue;

FloatValue

Value, must only be used if Tag == LLAMA_KV_OVERRIDE_FLOAT

1
public double FloatValue;

BoolValue

Value, must only be used if Tag == LLAMA_KV_OVERRIDE_BOOL

1
public long BoolValue;