MetadataOverride
Namespace: LLama.Abstractions
An override for a single key/value pair in model metadata
1 |
|
Inheritance Object → MetadataOverride
Implements IEquatable<MetadataOverride>
Properties
Key
Get the key being overriden by this override
1 |
|
Property Value
Constructors
MetadataOverride(String, Int32)
Create a new override for an int key
1 |
|
Parameters
key
String
value
Int32
MetadataOverride(String, Single)
Create a new override for a float key
1 |
|
Parameters
key
String
value
Single
MetadataOverride(String, Boolean)
Create a new override for a boolean key
1 |
|
Parameters
key
String
value
Boolean
Methods
WriteValue(LLamaModelMetadataOverride&)
1 |
|
Parameters
dest
LLamaModelMetadataOverride&
WriteValue(Utf8JsonWriter)
1 |
|
Parameters
writer
Utf8JsonWriter
ToString()
1 |
|
Returns
GetHashCode()
1 |
|
Returns
Equals(Object)
1 |
|
Parameters
obj
Object
Returns
Equals(MetadataOverride)
1 |
|
Parameters
other
MetadataOverride
Returns
<Clone>$()
1 |
|