action symanto_emotion { label: "Emotion Analysis" description: "Detect the emotions of the text.\n\nSupported Langauges: [`en`, `de`, `es`]\n\nReturned labels:\n* anger\n* joy\n* love\n* sadness\n* surprise\n* uncategorized" provider: symanto method: POST path: "/emotion" encoding: json input: { type: "object" properties: { all: { type: "boolean" } } additionalProperties: false } output: { type: "array" items: { type: "object" required: ["predictions"] properties: { id: { type: "string" description: "id of the post." } predictions: { type: "array" description: "the list of predictions." items: { type: "object" required: ["prediction", "probability"] properties: { prediction: { type: "string" description: "the predicted label." } probability: { type: "number" description: "the probability of the predicted label." } } } } } } } }