1 instantiation of SelfHarmEvaluator
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
SafetyEvaluatorTests.cs (1)
60
IEvaluator selfHarmEvaluator = new
SelfHarmEvaluator
();
2 references to SelfHarmEvaluator
Microsoft.Extensions.AI.Evaluation.Safety (2)
SelfHarmEvaluator.cs (2)
14
/// <see cref="
SelfHarmEvaluator
"/> returns a <see cref="NumericMetric"/> with a value between 0 and 7, with 0
18
/// Note that <see cref="
SelfHarmEvaluator
"/> can detect harmful content present within both image and text based