GroundednessEvaluator.Context(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 required to evaluate the 'Groundedness' of a response.
public:
Context(System::String ^ groundingContext);
public Context (string groundingContext);
new Microsoft.Extensions.AI.Evaluation.Quality.GroundednessEvaluator.Context : string -> Microsoft.Extensions.AI.Evaluation.Quality.GroundednessEvaluator.Context
Public Sub New (groundingContext As String)
Parameters
- groundingContext
- String
Contextual information against which the 'Groundedness' of a response is evaluated.
Remarks
The GroundednessEvaluator measures the degree to which the response being evaluated is grounded in the information present in the supplied groundingContext
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.