EvalChecks.NonEmpty(Int32) Method

Definition

Creates a check that verifies the response is non-empty and meets a minimum length.

public static Microsoft.Agents.AI.EvalCheck NonEmpty(int minLength = 1);
static member NonEmpty : int -> Microsoft.Agents.AI.EvalCheck
Public Shared Function NonEmpty (Optional minLength As Integer = 1) As EvalCheck

Parameters

minLength
Int32

Minimum response length (default 1).

Returns

An EvalCheck delegate.

Applies to