Unable to read the ML skill values of light text classification package

csv input data is as below:


i have converted that into string as storing value in var jsoninput
image
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.
expected output:

thanks

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:

  1. Add a For Each Row in DataTable activity to loop through your data table to be classified
  2. 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
  3. 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.