2 instantiations of IntentResolutionRating
Microsoft.Extensions.AI.Evaluation.Quality (1)
IntentResolutionRating.cs (1)
15
new
IntentResolutionRating
(
Microsoft.Extensions.AI.Evaluation.Tests (1)
IntentResolutionRatingTests.cs (1)
109
new
IntentResolutionRating
(
35 references to IntentResolutionRating
Microsoft.Extensions.AI.Evaluation.Quality (9)
IntentResolutionEvaluator.cs (6)
328
IntentResolutionRating
rating;
333
rating =
IntentResolutionRating
.Inconclusive;
341
rating =
IntentResolutionRating
.FromJson(evaluationResponseText);
355
rating =
IntentResolutionRating
.Inconclusive;
365
rating =
IntentResolutionRating
.FromJson(repairedJson);
370
rating =
IntentResolutionRating
.Inconclusive;
IntentResolutionRating.cs (2)
14
public static
IntentResolutionRating
Inconclusive { get; } =
76
public static
IntentResolutionRating
FromJson(string jsonResponse)
JsonSerialization\SerializerContext.cs (1)
13
[JsonSerializable(typeof(
IntentResolutionRating
))]
Microsoft.Extensions.AI.Evaluation.Tests (26)
IntentResolutionRatingTests.cs (26)
29
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
61
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
93
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
108
IntentResolutionRating
rating =
119
IntentResolutionRating
deserialized =
IntentResolutionRating
.FromJson(json);
134
IntentResolutionRating
rating =
IntentResolutionRating
.Inconclusive;
137
IntentResolutionRating
deserialized =
IntentResolutionRating
.FromJson(json);
165
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
186
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
207
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
229
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
258
IntentResolutionRating
rating =
IntentResolutionRating
.FromJson(json);
286
Assert.Throws<JsonException>(() =>
IntentResolutionRating
.FromJson(json));
302
Assert.Throws<JsonException>(() =>
IntentResolutionRating
.FromJson(json));
322
Assert.Throws<JsonException>(() =>
IntentResolutionRating
.FromJson(json));