πŸ“„ User Message ProfanityΒΆ

metrics.llm_as_judge.direct.criteria.user_message_profanity

type: CriteriaWithOptions
name: user_message_profanity
description: The User message contains the use of language considered offensive or socially unacceptable in a given context.
options: 
  - type: CriteriaOption
    name: Yes
    description: 
  - type: CriteriaOption
    name: No
    description: 
option_map: 
  Yes: 1.0
  No: 0.0
[source]

Read more about catalog usage here.