2 instantiations of RelevanceTruthAndCompletenessRating
Microsoft.Extensions.AI.Evaluation.Quality (1)
RelevanceTruthAndCompletenessRating.cs (1)
15
new
RelevanceTruthAndCompletenessRating
(
Microsoft.Extensions.AI.Evaluation.Tests (1)
RelevanceTruthAndCompletenessRatingTests.cs (1)
131
new
RelevanceTruthAndCompletenessRating
(
35 references to RelevanceTruthAndCompletenessRating
Microsoft.Extensions.AI.Evaluation.Quality (9)
JsonSerialization\SerializerContext.cs (1)
12
[JsonSerializable(typeof(
RelevanceTruthAndCompletenessRating
))]
RelevanceTruthAndCompletenessEvaluator.cs (6)
276
RelevanceTruthAndCompletenessRating
rating;
281
rating =
RelevanceTruthAndCompletenessRating
.Inconclusive;
289
rating =
RelevanceTruthAndCompletenessRating
.FromJson(evaluationResponseText);
303
rating =
RelevanceTruthAndCompletenessRating
.Inconclusive;
313
rating =
RelevanceTruthAndCompletenessRating
.FromJson(repairedJson);
318
rating =
RelevanceTruthAndCompletenessRating
.Inconclusive;
RelevanceTruthAndCompletenessRating.cs (2)
14
public static
RelevanceTruthAndCompletenessRating
Inconclusive { get; } =
75
public static
RelevanceTruthAndCompletenessRating
FromJson(string jsonResponse)
Microsoft.Extensions.AI.Evaluation.Tests (26)
RelevanceTruthAndCompletenessRatingTests.cs (26)
32
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
74
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
110
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
130
RelevanceTruthAndCompletenessRating
rating =
143
RelevanceTruthAndCompletenessRating
deserialized =
RelevanceTruthAndCompletenessRating
.FromJson(json);
160
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.Inconclusive;
163
RelevanceTruthAndCompletenessRating
deserialized =
RelevanceTruthAndCompletenessRating
.FromJson(json);
195
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
218
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
241
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
265
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
304
RelevanceTruthAndCompletenessRating
rating =
RelevanceTruthAndCompletenessRating
.FromJson(json);
342
Assert.Throws<JsonException>(() =>
RelevanceTruthAndCompletenessRating
.FromJson(json));
358
Assert.Throws<JsonException>(() =>
RelevanceTruthAndCompletenessRating
.FromJson(json));
380
Assert.Throws<JsonException>(() =>
RelevanceTruthAndCompletenessRating
.FromJson(json));