Conversation context when using the Natural Language Query API
The Qlik Sense Natural Language (NL) Query API enables you to gain insights from app data through a conversation. A key concept in the conversation is the ability of the API to maintain context. For example, you make a cross-app query, that is, a query that can be answered by multiple apps. A list of apps that can answer the question is returned. In the next request, you include the ID and name of the selected app in the payload along with the original query. Follow-up queries can be made without having to specify the app explicitly because the app is part of the conversation and will be present in a conversation context object. If an app is already present in the conversation context and the query is for another app, the context changes and the response comes from the other app. Conversation context can be disabled or reset through the API.