evaluators

Execute sexism-detector evaluator

Detect sexist language and bias

Request Body:

  • input.text (string, required): The text to scan for sexist content
  • config.threshold (float, optional): Detection threshold (default: 0.5)
post/v2/evaluators/sexism-detector/execute

Request body

Example request

{
  "config": {
    "threshold": 0.5
  },
  "input": {
    "text": "All team members should be treated equally regardless of gender."
  }
}

Response

OK

is_safeboolean

Changes

Changed in 2 of the 11 revisions of this API.11