Create C# Functions with AI Assistant

By entering the appropriate prompt to the AI assistant added to the C# editor, you can create C# functions in seconds without writing any code.

Create a new C# Action under the C# header you added to the new data source from Datasources view mode.

Type the function name in the C# name field. You can continue writing the query directly in the C# editor.

In general terms, the improvements we made on the C# Actions Editor are given below;

  1. Action naming field
  2. C# template field
  3. AI assistant for C# functions
  4. Adding C# functions to the C# Editor
  5. Registering C# functions

1. Action Naming Field

With the C# Actions name field you can add or update the action name. You can use English characters in the naming and also the special characters “-” or “_”.

2. C# Template Field

There are C# Datasource templates such as Default C# Function, Custom Authentication Provider and Custom Authorization Provider. You can select the template you need from this field and add it to the editor.

The change you make in this field deletes the script you previously wrote in the Editor.

3. AI Assistant for C# Functions

When writing your C# functions, you can quickly prepare them with AI support. Open the chat area with Generate with AI from the top section. Define the function you want to create.

"Hello world rotating function”

Prepare a function related to artificial intelligence. You can copy the prepared function.

4. Adding C# functions to C# Editor

You can click the blue button to add the copied function to the C# Editor.

5. Registering C# functions

After adding functions to the C# Editor, you can create the function you have prepared by clicking the CREATE button, and when you open a saved function, you can update it with the UPDATE button.