A sentiment score represents text polarity and intensity on a continuous scale from -1.0 (very negative) to +1.0 (very positive), with neutral sentiment between them. An explanation accompanies the score so applications can respond differently to positive and negative user messages. section 11.3
Build a sentiment endpoint by:
- Defining a text input record and a response record containing the original text, score, and explanation. section 11.3
Interpreting context
“It’s the end of the world” receives -1.0, while adding “And I feel fine” changes the result to 0.5, showing how surrounding language affects polarity.


