14 references to ContentSafetyServicePayloadFormat
Microsoft.Extensions.AI.Evaluation.Safety (14)
CodeVulnerabilityEvaluator.cs (1)
62
contentSafetyServicePayloadFormat:
ContentSafetyServicePayloadFormat
.ContextCompletion.ToString(),
ContentHarmEvaluator.cs (1)
64
contentSafetyServicePayloadFormat:
ContentSafetyServicePayloadFormat
.Conversation.ToString(),
ContentSafetyEvaluator.cs (2)
100
ContentSafetyServicePayloadFormat
payloadFormat =
102
Enum.Parse<
ContentSafetyServicePayloadFormat
>(contentSafetyServicePayloadFormat);
ContentSafetyServicePayloadUtilities.cs (6)
16
ContentSafetyServicePayloadFormat
payloadFormat,
25
ContentSafetyServicePayloadFormat
.HumanSystem =>
34
ContentSafetyServicePayloadFormat
.QuestionAnswer =>
43
ContentSafetyServicePayloadFormat
.QueryResponse =>
54
ContentSafetyServicePayloadFormat
.ContextCompletion =>
65
ContentSafetyServicePayloadFormat
.Conversation =>
GroundednessProEvaluator.cs (1)
63
contentSafetyServicePayloadFormat:
ContentSafetyServicePayloadFormat
.QuestionAnswer.ToString(),
ProtectedMaterialEvaluator.cs (2)
84
contentSafetyServicePayloadFormat:
ContentSafetyServicePayloadFormat
.HumanSystem.ToString(),
98
contentSafetyServicePayloadFormat:
ContentSafetyServicePayloadFormat
.Conversation.ToString(),
UngroundedAttributesEvaluator.cs (1)
67
contentSafetyServicePayloadFormat:
ContentSafetyServicePayloadFormat
.QueryResponse.ToString(),