City entity for a weather chatbot

prediction.global_entities

will be an array of objects.
If you have a property called label:city, pick up the text in which case syntax will be

prediction.global_entities[1].text
1 Like