Related Topics
ML and AI System Variables
Process Director v5.0 and higher supports system variables that incorporate Machine Learning (ML) and Artificial Intelligence (AI) services.


This system variable uses the Google Sentiment service that you must configure in the Custom Variables file. Please see the Google Sentiment topic in the Developer's Guide for the required configuration that must be implemented prior to using this system variable.
Returns
This system variable returns the Google Sentiment score for a text string you provide. The return value will be a double-precision number between -1.0 and 1.0.
SysVar Tag
{SENTIMENT, text="AnyString", entityName="AnyString", entityType="Unknown|Person|Location|Organization|Event|Work_of_Art|Consumer_Good|Other"}
Modifiers
text (Required): The text string that you wish to analyze for sentiment.
entityName (Optional): The string Name you'd like to give to the entity you pass.
entityType (Optional): The string type of entity you wish to analyze. The available options are listed in the syntax sample above.
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.