curl --request POST \ --url https://api.traceloop.com/v2/evaluators/execute/tone-detection \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "input": { "text": "The capital of France is Paris." }}'
Copy
Ask AI
{ "score": 0.95, "tone": "neutral"}
Evaluators
Execute tone-detection evaluator
Detect the tone of the text
Request Body:
input.text (string, required): The text to detect the tone of
POST
/
v2
/
evaluators
/
execute
/
tone-detection
Execute tone-detection evaluator
Copy
Ask AI
curl --request POST \ --url https://api.traceloop.com/v2/evaluators/execute/tone-detection \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "input": { "text": "The capital of France is Paris." }}'