GroundednessProEvaluatorContext(String) 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.
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
.