Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog entry for JSON support in nr-assistant #2348

Merged
merged 9 commits into from
Jul 17, 2024
37 changes: 37 additions & 0 deletions src/changelog/2024/07/flowfuse-assistant-json.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: FlowFuse Assistant Writes JSON
description: "The FlowFuse Assistant gets more helpful."

date: 2024-07-15 13:00:00.0

authors: ["stephen-mclaughlin"]
tags:
- changelog
---

The FlowFuse Assistant can now assist you by generating JSON.

Wherever you edit JSON in the Rich Monaco Editor you will see the "Ask the FlowFuse Assistant 🪄" code lens.
That includes the Inject Node, the Template Node and any contrib node that uses the built-in editor for writing JSON.

We think you will find this to be a great time saver and a good helper when you are unsure of the syntax.

Just ask for what you want and it does a decent job of figuring it out.

Here are some examples:


### Asking the assistant to generate JSON from within the `template` node

![Prompting from within the Template Node](./images/ask-assistant-json-1a.png)
![Resulting JSON](./images/ask-assistant-json-1b.png)

### Asking the assistant to generate JSON from within the `inject` node for the `payload` value

![Prompting from within the Inject Nodes Typed Input](./images/ask-assistant-json-2a.png)
![Resulting JSON](./images/ask-assistant-json-2b.png)

This is just the beginning of the FlowFuse Assistant's capabilities. Stay tuned!

_JSON Support is available in the FlowFuse Assistant plugin starting from version 0.1.1_
knolleary marked this conversation as resolved.
Show resolved Hide resolved

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.