Table of Contents

Class ReinforcementTuningStringMatchRewardScorerJsonMatchExpression

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Parses the response as JSON, finds the first-level value for KeyName and evaluates it.

public class ReinforcementTuningStringMatchRewardScorerJsonMatchExpression
Inheritance
ReinforcementTuningStringMatchRewardScorerJsonMatchExpression
Inherited Members
Extension Methods

Properties

KeyName

The first-level key name to look up in the JSON response.

[JsonPropertyName("keyName")]
public string? KeyName { get; set; }

Property Value

string

ValueStringMatchExpression

The string match expression applied to the matched value.

[JsonPropertyName("valueStringMatchExpression")]
public ReinforcementTuningStringMatchRewardScorerStringMatchExpression? ValueStringMatchExpression { get; set; }

Property Value

ReinforcementTuningStringMatchRewardScorerStringMatchExpression