![]() |
An intent in Dialogflow can be marked as end of conversation. If the intent is set to end of conversation, Dialogflow then sets the key/value pair endInteraction to True in the Intent object of the response. This key/value pair in the intent response can be checked to see if the conversation with the Dialogflow bot is finished. The out of the box Dialogflow application checks this field to determine when to finish. The Dialogflow ASR resource is released when the endInteraction boolean is set to True.
For more details on Dialogflow ASR resources, see Dialogflow with the Acquire and Release resource.