9 types derived from EvaluationContext
Microsoft.Extensions.AI.Evaluation.Quality (4)
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (1)
Microsoft.Extensions.AI.Evaluation.Safety (2)
118 references to EvaluationContext
Microsoft.Extensions.AI.Evaluation (54)
EvaluationContext.cs (31)
16/// <see cref="EvaluationContext"/> objects are intended to be simple data containers that contain the contextual
21/// instance of a specific derived <see cref="EvaluationContext"/> (containing the required contextual information)
23/// <see cref="IEvaluator.EvaluateAsync(IEnumerable{ChatMessage}, ChatResponse, ChatConfiguration?, IEnumerable{EvaluationContext}?, CancellationToken)"/>.
26/// Derived implementations of <see cref="EvaluationContext"/> are free to include any additional properties as needed.
29/// <see cref="EvaluationContext"/>.
32/// This is because an <see cref="IEvaluator"/> can (optionally) choose to record any <see cref="EvaluationContext"/>s
36/// <see cref="EvaluationContext"/>s recorded within the <see cref="EvaluationMetric.Context"/> will also be
37/// serialized. However, for each such <see cref="EvaluationContext"/>, only the information captured within
40/// of an <see cref="EvaluationContext"/> is stored and reported accurately, it is important to ensure that the
42/// contextual information that is modeled by the <see cref="EvaluationContext"/>.
50/// Gets or sets the name for this <see cref="EvaluationContext"/>.
61/// <see cref="EvaluationContext"/>.
65/// This property allows decomposition of the information present in an <see cref="EvaluationContext"/> into
71/// For simple <see cref="EvaluationContext"/>s that only contain text, this property can return a
75/// Derived implementations of <see cref="EvaluationContext"/> are free to include any additional properties as
78/// <see cref="EvaluationContext"/>.
82/// <see cref="EvaluationContext"/>s that it used, in the <see cref="EvaluationMetric.Context"/> property of each
85/// Microsoft.Extensions.AI.Evaluation.Reporting NuGet package), the <see cref="EvaluationContext"/>s recorded
87/// <see cref="EvaluationContext"/>, only the information captured within <see cref="Contents"/> will be
90/// <see cref="EvaluationContext"/> is stored and reported accurately, it is important to ensure that the
92/// contextual information that is modeled by the <see cref="EvaluationContext"/>.
97/// <see cref="EvaluationContext"/>.
103/// Initializes a new instance of the <see cref="EvaluationContext"/> class.
105/// <param name="name">The name of the <see cref="EvaluationContext"/>.</param>
107/// The contents of the <see cref="EvaluationContext"/>. (See <see cref="Contents"/>.)
116/// Initializes a new instance of the <see cref="EvaluationContext"/> class.
118/// <param name="name">The name of the <see cref="EvaluationContext"/>.</param>
120/// The contents of the <see cref="EvaluationContext"/>. (See <see cref="Contents"/>.)
128/// Initializes a new instance of the <see cref="EvaluationContext"/> class.
130/// <param name="name">The name of the <see cref="EvaluationContext"/>.</param>
132/// The content of the <see cref="EvaluationContext"/>. (See <see cref="Contents"/>.)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (11)
Microsoft.Extensions.AI.Evaluation.Quality (12)
Microsoft.Extensions.AI.Evaluation.Reporting (12)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (3)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (4)
Microsoft.Extensions.AI.Evaluation.Safety (22)