Hello,
I am build a POC on Multi lingual model.
I have the general dataset with “I hate this movie” like texts.
Not sure on how to give these text as inputs in ML skill activity.
ML Skill activity has drop down with JSON/File/Files as input type. How to give text as input here?
Am I missing any specific instruction? Please help.
Anil_G
(Anil Gorthi)
March 18, 2024, 5:09pm
2
@shubhamkumar.tiwari
Just select json and pass the text as string…that should work
Cheers
Have given input like this - “{”“text”" : “”" + Inputtext +“”“}”
Getting Object reference Null for confidence.
Please point out what is wrong or missing here.
Update on this.
I missed that I am getting response but not able to get value of confidence from JSON object.
JsonResponse - “{"class": "Positive", "confidence": 0.7368321418762207}”
JsonObject - JObject(2) { JProperty(1) { [Positive] }, JProperty(1) { [0.736832141876221] } }
Please guide how to fetch values from json object.
I was trying with following syntax: jsonObj.Item(“confidence”).ToString
Anil_G
(Anil Gorthi)
March 19, 2024, 9:58am
5
@shubhamkumar.tiwari
jobj("confidence").TOString
cheers
Thanks for the replies Anil.
Syntax is correct which I used only I misspelled ‘‘confidence’’ hence was the error. Sorted.
1 Like
system
(system)
Closed
March 23, 2024, 10:28am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.