CompletionMarkerLoopEvaluator Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Optional configuration for the feedback message. When null, defaults are used.
Exceptions
completionMarker is null, empty, or whitespace.