How to convert Ximilar Python code into code on Thunkable?

I’m following this tutorial How to link Ximiliar app to Thukable - #57 by gsturm3605jl, but there are some differences, such as not needing a task. Ideally, I tried to follow this code:

In my project, the structure is as follows:

Despite that, my JSON file continues to return everything, even though it was supposed to return only a tag corresponding to the clothing classification.