Transform Using Gen-AI
Description
This activity transforms the data from previous activities based on a user-specified Prompt using gen-ai, on executing the prompt the activity
Input
Data only
Output
Transformed data
Configuration Fields
Prompt A prompt given by user to transform the data
code Generated python code to transform the data
Sample Input
SalesPerson | Name | Department | Salary | JoinDate |
---|---|---|---|---|
101 | John Doe | HR | 50000 | 2020-01-15 |
102 | Jane Smith | IT | 2019-03-10 | |
103 | Alice Johnson | Finance | 60000 | 2021-06-25 |
104 | Bob Williams | Marketing | 2018-09-12 | |
105 | Emma Brown | Sales | 65000 | 2022-02-20 |
Sample Configuration
Sample Output
EmployeeID | Name | Department | Salary | JoinDate |
---|---|---|---|---|
101 | John Doe | HR | 50000 | 2020-01-15 |
102 | Jane Smith | IT | 58333 | 2019-03-10 |
103 | Alice Johnson | Finance | 60000 | 2021-06-25 |
104 | Bob Williams | Marketing | 58333 | 2018-09-12 |
105 | Emma Brown | Sales | 65000 | 2022-02-20 |