AI Assisted Development

AI in Frends will help you with configuring Tasks as well as create code.

Frends includes powerful AI tools to help you with creating your Processes exactly the way you need them to be. AI can help you both to set up a Task's parameters, as well as generate you code into a Code Task shape to perform more advanced actions within your Process.

AI Task Configurator

To speed up development, Frends includes an AI Assistant to help you configure the Task you need within your Process.

Image showing AI Assistant at work, performing Task configuration.
Simply provide the AI what you want to do, and it will suggest you parameters for the Task.

In order to use the AI Assistant, all you need to is add a Task shape to your Process, decide on the Task type, and click on AI Assistant button to open the dialog. After that, simply specify what you would like to accomplish, and the assistant will provide you with parameters for the Task, with reasoning. You can then choose to use the suggested values, or discard them and refine the query more.

The AI Assistant will receive information about available variables and values in your Process and Frends Tenant, so it can automatically suggest using Environment Variables for the parameters, as well as include C# code to perform more advanced logic on what value to use.

From the top right, you can also open the Context Panel to see and choose, what is provided for the AI. In case some sensitive data is provided and you would prefer not to include those, they can be removed here.

AI Code Generator

In case you need to perform complex logic within your Process, you might prefer to use Code Task shape to write the logic out in C#. This is useful for performing complex mapping or analysis into the data within a Process. To speed this up, the AI Assistant is available here as well to give you a functional code snippet or a starting point to continue from where the AI took you.

Image showing the AI Code Generator in action.
The AI Assistant will provide you with functional code that will work directly within Frends Code Task shape.

Because writing C# code within Frends's Code Task has some special requirements that separate it from standard C# program code, the AI can help you in getting started with writing code suitable for embedding into the Process. It understands the namespace requirements as well as knows what libraries are available within Frends, and uses the Frends variables correctly to handle reference values from the Process as needed.

Last updated

Was this helpful?