Skip to content

Transform using Gen AI

Description

The Transform using Gen AI activity allows users to define a custom data transformation using a natural language Prompt. Infoveave’s generative AI engine interprets this prompt, generates Python code, and applies the transformation to the tabular input.

This activity is powerful when:

  • Custom business logic needs to be applied to datasets (e.g., filling missing values, formatting dates)
  • Users want to automate repetitive data wrangling tasks without coding manually
  • AI-assisted logic can infer transformation rules from examples or intent

Use case:
Suppose salary data has missing entries. You can write a prompt like “Fill missing salary values with the average of available salaries” — and Gen AI will compute the average and apply the transformation dynamically using generated Python.

Input

FieldRequiredDescription
DataYesStructured input data with at least one row and column.

Output

Output TypeFormatDescription
DataTabularTransformed version of the input data as per prompt.

Configuration Fields

Field NameDescription
PromptRequired. A user-defined instruction in natural language describing how to transform the data.
Code(Auto-generated) Python code generated by the AI model based on the prompt. Can be reviewed.

Sample Input

SalesPersonNameDepartmentSalaryJoinDate
101John DoeHR500002020-01-15
102Jane SmithIT2019-03-10
103Alice JohnsonFinance600002021-06-25
104Bob WilliamsMarketing2018-09-12
105Emma BrownSales650002022-02-20

Sample Configuration

FieldValue
PromptFill missing salary values with the average of existing ones.
Code(Auto-generated Python code to calculate average and replace)

Sample Output

EmployeeIDNameDepartmentSalaryJoinDate
101John DoeHR500002020-01-15
102Jane SmithIT583332019-03-10
103Alice JohnsonFinance600002021-06-25
104Bob WilliamsMarketing583332018-09-12
105Emma BrownSales650002022-02-20