Class ModelSelectionConfig
Config for model selection.
public record ModelSelectionConfig : IEquatable<ModelSelectionConfig>
- Inheritance
-
ModelSelectionConfig
- Implements
- Inherited Members
Properties
FeatureSelectionPreference
Options for feature selection preference.
[JsonPropertyName("featureSelectionPreference")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public FeatureSelectionPreference? FeatureSelectionPreference { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a ModelSelectionConfig object.
public static ModelSelectionConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ModelSelectionConfig
The deserialized ModelSelectionConfig object, or null if deserialization fails.