Table of Contents

Class ReinforcementTuningStringMatchRewardScorerStringMatchExpression

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Evaluates a parsed response using a match operation against an expression.

public class ReinforcementTuningStringMatchRewardScorerStringMatchExpression
Inheritance
ReinforcementTuningStringMatchRewardScorerStringMatchExpression
Inherited Members
Extension Methods

Properties

Expression

A string or regular expression to match against (supports {{references.key}} placeholders).

[JsonPropertyName("expression")]
public string? Expression { get; set; }

Property Value

string

MatchOperation

The match operation.

[JsonPropertyName("matchOperation")]
public MatchOperation? MatchOperation { get; set; }

Property Value

MatchOperation?