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