Skip to main content
Analyzes the overall sentiment of text.

Syntax

Arguments

  • input: A VARCHAR expression containing the text to analyze.
For the types and default behavior of provider and model, see Common calling rules.

Return value

Returns a nullable VARCHAR. Valid results are normalized to one of positive, negative, neutral, mixed, or unknown. Other responses are treated as row-level errors.

Examples