csv input data is as below:
i have converted that into string as storing value in var jsoninput
var jsoninput is as below
how to pass the jsoninput to ML skill so i could the ML values for all the data ?
Please suggest the solution, or the other way to get the ML values while using light text classification.
You must send each row in the data table as individual requests to the ML Skill, instead of sending a JSON array with all rows from the table. So what you should do is:
- Add a
For Each Row in DataTable activity to loop through your data table to be classified
- In each loop, call your ML Skill providing the data from
CurrentRow("Body").ToString, assuming you would like classify based on the value in the Body column
- The response would contain the predicted class for that row, which you can assign to
CurrentRow("Urgency").ToString, assuming the Urgency column is where you would like to assign the output.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.