You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama.native.llamamodelmetadataoverride.md 959 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # LLamaModelMetadataOverride
  2. Namespace: LLama.Native
  3. Override a key/value pair in the llama model metadata (llama_model_kv_override)
  4. ```csharp
  5. public struct LLamaModelMetadataOverride
  6. ```
  7. Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [ValueType](https://docs.microsoft.com/en-us/dotnet/api/system.valuetype) → [LLamaModelMetadataOverride](./llama.native.llamamodelmetadataoverride.md)
  8. ## Fields
  9. ### **key**
  10. Key to override
  11. ```csharp
  12. public <key>e__FixedBuffer key;
  13. ```
  14. ### **Tag**
  15. Type of value
  16. ```csharp
  17. public LLamaModelKvOverrideType Tag;
  18. ```
  19. ### **IntValue**
  20. Value, **must** only be used if Tag == LLAMA_KV_OVERRIDE_INT
  21. ```csharp
  22. public long IntValue;
  23. ```
  24. ### **FloatValue**
  25. Value, **must** only be used if Tag == LLAMA_KV_OVERRIDE_FLOAT
  26. ```csharp
  27. public double FloatValue;
  28. ```
  29. ### **BoolValue**
  30. Value, **must** only be used if Tag == LLAMA_KV_OVERRIDE_BOOL
  31. ```csharp
  32. public long BoolValue;
  33. ```