evaluators
Execute sexism-detector evaluator
Changed onDetect 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
- Base URLhttps://api.traceloop.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"config": {
"threshold": 0.5
},
"input": {
"text": "All team members should be treated equally regardless of gender."
}
}Response
OK
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking