Share via


GroundednessProEvaluatorContext(String) Constructor

Definition

Contextual information that the GroundednessProEvaluator uses to evaluate the groundedness of a response.

public:
 GroundednessProEvaluatorContext(System::String ^ groundingContext);
public GroundednessProEvaluatorContext(string groundingContext);
new Microsoft.Extensions.AI.Evaluation.Safety.GroundednessProEvaluatorContext : string -> Microsoft.Extensions.AI.Evaluation.Safety.GroundednessProEvaluatorContext
Public Sub New (groundingContext As String)

Parameters

groundingContext
String

Contextual information against which the groundedness of a response is evaluated.

Remarks

GroundednessProEvaluator measures the degree to which the response being evaluated is grounded in the information present in the supplied groundingContext.

Applies to