evaluators
Execute profanity-detector evaluator
Changed onDetect profanity in text
Request Body:
- input.text (string, required): The text to scan for profanity
post/v2/evaluators/profanity-detector/execute
Request
- Base URLhttps://api.traceloop.com
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/traceloop/apis/traceloop-api/docs/v2/evaluators/profanity-detector/execute/post.tsA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"input": {
"text": "This is a clean and professional message."
}
}Response
OK
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking