Login
Back to bricks list
Introduction Version

Smart table transformer

TASK
Typing name :  TASK.gws_core.SmartTableTransformer Brick :  gws_core

Table transformer that uses AI (OpenAI).

This task is still in beta version.

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

The data of the table is not transferered to OpenAI, only the provided text.

Input

Table
2d excel like table

Output

Table
2d excel like table
Generated code
Modified generated code that can be used in a python live task directly.

Configuration

prompt

Type : open_ai_chat_param

keep_columns_tags

Optional

If true, the columns tags are kept in the output table for columns that have the same names.

Type : bool

keep_rows_tags

Optional

If true, the rows tags are kept in the output table for rows that have the same names.

Type : bool