I need help! I’m using the Bing Search API. Depending on the query entered, the structure of the response changes.
E.g. if I enter “2+3” it response with a math equation.
E.g. if I enter Obama it response with a lot of Photos.
But since I am building a search for all cases, I don’t know what the final user will enter.
Problem: if I want to set up the Api with the Api connector, I can only enter one query type and therefore get only one type of response answer.
Meaning I only can’t build a front end that supports all scenarios.
I used a math equation to set it up in the connector. Then I wanted to add the other use case, so I changed to query in the Api connector to Obama. Now I can add the photo visualisation, but it is giving me errors, because there is no more math equation response.
I’d be thankful for any help!