Login
Back to bricks list
Introduction Version

Smart json transformer

TASK
Typing name :  TASK.gws_core.SmartJsonTransformer Brick :  gws_core

Json transformer that uses AI (OpenAI).

This task is still in beta version.

This task uses openAI API to generate python code that transforms a json. This code is then automatically executed.

The structure of the json is transfered to OpenAI, not the json itself.

Input

JSON Dict
Resource that holds a JSON dict

Output

JSON Dict
Resource that holds a JSON dict
Generated code
Modified generated code that can be used in a python live task directly.

Configuration

prompt

Type : open_ai_chat_param