I have done my Dialogflow voice conversation chatbot using python, But currently I am running the conversation chatbot using loop. So my conversation is running till the loop end. The cloud is developed by using webhook and dialogflow intent.
So how can I end the conversation once the chat is end in cloud to end notification in python application.
I have added the following print in my python code, so there I have got the end_conversation intent, below I added the end_conversation log.
print('Fulfillment text: {} \n'.format(query_result))
End conversation log:
intent_detection_confidence: 1.0 diagnostic_info { fields { key: "end_conversation" value { bool_value: true } }