The query endpoint always gives you a chat-data object that has the original question and the response it generated. Normally, you would use this object to show the response in your view. It's important to use the chatDataJson property when you ask any more questions to make sure the conversation history is kept correctly