Accessing specific ToneAnalyzer values

#1

Is there a way to access specific values from the ToneAnalyzer? For example, if I give it a text and it outputs a sadness tone value of 0.0332, is there a way to directly access the value through a variable? I checked the documentation but I couldn't find anything.

0 Likes

#2

You may read about flow or global context.

Or here is article on variables
http://www.steves-internet-guide.com/node-red-variables/

0 Likes

#3

If you pass the output of the node to a Debug node you can examine it's structure and all the values it contains.

This page in the docs explains how you can use the Debug sidebar to identify the path to any message element: https://nodered.org/docs/user-guide/messages

0 Likes

#4

Those links are godsends, thank you both so much!

0 Likes