Data Operations
Data operations make it easy to work with data.
info
To work with data operations actions, you must activate the corresponding feature.
Parse JSON Data
This action can be used to read JSON text and make it available as placeholders. For example, you can instruct the AI in an AI prompt to return a result in JSON format and then read it using the Parse JSON Data action. The following configuration options are available:
- JSON:
Here you can reference the JSON text to be parsed, for example via a placeholder. This allows you to reference, for example, the result of an AI prompt. - JSON Schema:
If you expect a JSON response, you can define a JSON schema here. The response is validated against this JSON schema, and the defined properties can be referenced as placeholders after you save the process.
Using the link below the text field, you can also generate the corresponding JSON schema from an example JSON. This allows you to simply insert an example of the JSON you want to parse into the dialog and automatically receive a matching JSON schema.
This action provides the following placeholders:
- JSON Properties:
Each property defined in the JSON schema is then made available as a placeholder. The data type defined in the JSON schema is used as the data type for the placeholder.