group: [boolean] fetch all documents under collections with the above supplied collection name (false by default) query: [array] an array of objects defining query methods to apply to the read disableHandler: [boolean] disables the default snapshot handler, returning a built query reference as ...
testNode: (object|array of objects) Module object of a node to be tested returned by require function. This node will be registered, and can be used in testFlows. testFlow: (array of objects) Flow data to test a node. If you want to use flow data exported from Node-RED editor, exp...
[Optional]msg.historyshould be an array of objects containing the conversation history. [Default:[]] Whenmsg.topicis set togpt4: [Required]msg.payloadshould be a well-written prompt that provides enough information for the model to know what you want and how it should respond. Its success ...
Dropdown- a dropdown select widget has been added. Multiple label, value pairs can be specified. The choices can also be set viamsg.optionscontaining an array of objects. If just text then the value will be the same as the label, otherwise you can specify both by using an object of "...
{"id":"3f4a5e23.9f0512","type":"function","z":"ff2832e2.b6c11","name":"Create array of objects","func":"let objs = []\nconst objects = msg.payload.objectAnnotations;\nobjects.forEach(object => {\n objs.push(object.entity.description);\n});\n\nmsg.payload = objs;\n\n...
A Complete Flow configuration represents the entire set of flows active in the runtime. It is represented as a flat array of Node objects. Single Flow configuration A Single Flow configuration represents what gets presented in the editor as a tab. ...
I have an object which would translate into a Dictionary in C# and I'm trying to loop through all my "keys" so that I can draw my objects in order. Let's say that this dictionary contains th... Shrink/Grow Div based on amount of data inside ...
The conversion from Node-RED JSON objects to JavaScript objects happens in two separate phase. The first phase happens while building a Node-RED MCU project; the second phase, while running the project. The following sections look at some examples of the transform, starting from the Node-RED ...
Dropdown- a dropdown select widget has been added. Multiple label, value pairs can be specified. The choices can also be set viamsg.optionscontaining an array of objects. If just text then the value will be the same as the label, otherwise you can specify both by using an object of "...
weblink: adds a link to an external page. Either set a url as astring, or anobjectlike{"name":"BBC News", "url":"https://news.bbc.co.uk", "target":"_new"}, or multiple links with anarray of objects[{"name":"BBC News", "url":"https://news.bbc.co.uk", "target":"_new...