Json format in Postman for Inference API

Hello,

I’m just testing out some models using the Inference API. It works fine for all models which take a single input like text generation and question answering. But, I get errors for all models which need parameters like q&a and classification, saying:
“error”: argument needs to be of type (SquadExample, dict)"

I tried:
{
“inputs”: “Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!”,
“parameters”: {“candidate_labels”: [“refund”, “legal”, “faq”]},
}

as well as:

    sequence = "Hi, I recently bought a device from your company but it is not working as advertised and I would like to get reimbursed!"
    candidate_labels = ["refund", "legal", "faq"]

Thanks for your answer.

Best