CompletionMarkerLoopEvaluator Constructor

Definition

Initializes a new instance of the CompletionMarkerLoopEvaluator class.

public CompletionMarkerLoopEvaluator(string completionMarker, Microsoft.Agents.AI.CompletionMarkerLoopEvaluatorOptions? options = default);
new Microsoft.Agents.AI.CompletionMarkerLoopEvaluator : string * Microsoft.Agents.AI.CompletionMarkerLoopEvaluatorOptions -> Microsoft.Agents.AI.CompletionMarkerLoopEvaluator
Public Sub New (completionMarker As String, Optional options As CompletionMarkerLoopEvaluatorOptions = Nothing)

Parameters

completionMarker
String

The marker string that stops the loop once it appears in the agent's latest response text.

options
CompletionMarkerLoopEvaluatorOptions

Optional configuration for the feedback message. When null, defaults are used.

Exceptions

completionMarker is null, empty, or whitespace.

Applies to