cURL
curl --request POST \ --url https://api.traceloop.com/v2/evaluators/execute/sexism-detector \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "input": { "text": "All team members should be treated equally regardless of gender." }, "config": { "threshold": 0.5 } } '
{ "is_safe": "safe" }
Detect sexist language and bias
Request Body:
input.text
config.threshold
Type "Bearer" followed by a space and JWT token.
Request body
Show child attributes
OK
"safe"
Was this page helpful?