Get sentiment

Last published at: May 14th, 2024

Description:

Get the sentiment details of the sentence using Azure ML. 

Inputs

  • varGlobalToStoreValue– Variable or global to hold the result
  • sentiment – Sentiment text
  • varGlobalScore – Variable or global to hold the score

Returns

  • True – step executed successfully
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the clsazuremlgetsentimentDef  example. 

  • Create a new workflow definition
  • Drag a get clsazuremlgetsentiment step from the toolbox
  • Configure the step using the following properties:

  • Azure ML settings can be configured in status page -> Configuration -> Azure ML 

  • Save the process definition. Create a new process instance and execute. The step should get the sentiment details of the sentence  and store the result in variable.result as configured.