Azure AI icon

Azure AI

Call Azure AI Cognitive Services — Document Intelligence, Content Safety, Translator, and Language

Language → Analyze Sentiment

AI-generated

Summary

Analyze text sentiment with Azure AI Language, returning the overall sentiment, confidence scores, and sentence-level results for each input item. Supply an ISO 639-1 language code to specify the text language, or leave it blank for Azure to detect it.

Inputs

  • Authentication (required) — Choose API Key or Entra ID (OAuth2) authentication and configure the matching Azure credential.
  • Text (required) — Text to analyze. It cannot be empty.
  • Language (Optional) — ISO 639-1 language code such as en, es, or fr. Leave blank for auto-detection.

Output shape

One JSON result per input item, containing sentiment, confidenceScores, and sentences.

If Azure returns no document result, the output contains the raw response under _raw.

Examples

Example 1: Analyze an English customer comment

Set Text to the comment and Language to en, or leave Language blank for auto-detection.

Links

Discussion