Analyse sentiment
Read whether a text is positive, neutral, negative or mixed, overall and sentence by sentence (Azure AI Language).
Command in the Azure AI services toolkit · id ooa.azure_ai/language_sentiment · 3 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | azure_ai | Name of the session opened by Connect. |
| Text | String | Yes | The text to read, at most 5,120 characters. | |
| Language | String | No | en | Language of the text, e.g. en, de, fr, es or hi. |
Outputs
| Output | Type | What it is |
|---|---|---|
| sentiment | String | positive, neutral, negative or mixed. |
| scores | Dictionary | Confidence from 0 to 1 for each, e.g. {"positive": 0.95, "neutral": 0.04, "negative": 0.01}. |
| sentences | Table | Columns: text, sentiment, positive, neutral, negative. |