EvalChecks.NonEmpty(Int32) Method
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.
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.