[{"data":1,"prerenderedAt":118},["ShallowReactive",2],{"changelog-entry-\u002Fchangelog\u002F2024\u002F07\u002Fflowfuse-assistant-json":3},{"id":4,"title":5,"body":6,"description":105,"extension":106,"meta":107,"navigation":113,"path":114,"seo":115,"stem":116,"__hash__":117},"changelog\u002Fchangelog\u002F2024\u002F07\u002Fflowfuse-assistant-json.md","FlowFuse Expert Writes JSON",{"type":7,"value":8,"toc":96},"minimark",[9,13,16,19,22,25,35,46,57,66,69,74,77,83,90],[10,11,12],"p",{},"The FlowFuse Expert can now assist you by generating JSON.",[10,14,15],{},"Wherever you edit JSON in the Rich Monaco Editor you will see the \"Ask the FlowFuse Expert 🪄\" code lens.\nThat includes the Inject Node, the Template Node and any contrib node that uses the built-in editor for writing JSON.",[10,17,18],{},"We think you will find this to be a great time saver and a good helper when you are unsure of the syntax.",[10,20,21],{},"Just ask for what you want and it does a decent job of figuring it out.",[10,23,24],{},"Here are some examples:",[26,27,29,30,34],"h3",{"id":28},"asking-the-assistant-to-generate-json-from-within-the-template-node","Asking the Assistant to generate JSON from within the ",[31,32,33],"code",{},"template"," node",[10,36,37,42],{},[38,39],"img",{"alt":40,"src":41},"Prompting from within the Template Node","\u002Fchangelog-media\u002F2024\u002F07\u002Fimages\u002Fask-assistant-json-1a.png",[38,43],{"alt":44,"src":45},"Resulting JSON","\u002Fchangelog-media\u002F2024\u002F07\u002Fimages\u002Fask-assistant-json-1b.png",[26,47,29,49,52,53,56],{"id":48},"asking-the-assistant-to-generate-json-from-within-the-inject-node-for-the-payload-value",[31,50,51],{},"inject"," node for the ",[31,54,55],{},"payload"," value",[10,58,59,63],{},[38,60],{"alt":61,"src":62},"Prompting from within the Inject Nodes Typed Input","\u002Fchangelog-media\u002F2024\u002F07\u002Fimages\u002Fask-assistant-json-2a.png",[38,64],{"alt":44,"src":65},"\u002Fchangelog-media\u002F2024\u002F07\u002Fimages\u002Fask-assistant-json-2b.png",[10,67,68],{},"This is just the beginning of the FlowFuse Expert's capabilities. Stay tuned!",[70,71,73],"h4",{"id":72},"updating-the-assistant-to-get-these-new-features","Updating the Assistant to get these new features",[10,75,76],{},"If you are running Node-RED v4.x, head over to the Palette Manager, update the plugin and restart your instance.",[10,78,79],{},[38,80],{"alt":81,"src":82},"Updating assistant on Node-RED 4","\u002Fchangelog-media\u002F2024\u002F07\u002Fimages\u002Fassistant-update-nr4.png",[10,84,85,86,89],{},"If you are still running Node-RED v3.x, you can update the plugin by adding ",[31,87,88],{},"@flowfuse\u002Fnr-assistant"," to the instance settings then restart it.",[10,91,92],{},[38,93],{"alt":94,"src":95},"Updating assistant on Node-RED 3","\u002Fchangelog-media\u002F2024\u002F07\u002Fimages\u002Fassistant-update-nr3.png",{"title":97,"searchDepth":98,"depth":98,"links":99},"",2,[100,103],{"id":28,"depth":101,"text":102},3,"Asking the Assistant to generate JSON from within the template node",{"id":48,"depth":101,"text":104},"Asking the Assistant to generate JSON from within the inject node for the payload value","The FlowFuse Expert gets more helpful.","md",{"date":108,"authors":109,"tags":111},"2024-07-16 13:00:00.0",[110],"stephen-mclaughlin",[112],"changelog",true,"\u002Fchangelog\u002F2024\u002F07\u002Fflowfuse-assistant-json",{"title":5,"description":105},"changelog\u002F2024\u002F07\u002Fflowfuse-assistant-json","yxGwfA4aJpDKbj4EM1yD8IvpWq7aHJfb22fmT5acuCg",1780132422807]