This code is linked to the fulfillment api of the APG agent in DialogFlow. Different intents and responses are coded in the DialogFlow backend. This Agent linkt to this backend to enable integration with existing applications.
The integration with the APG chat on the website and the Google assistant are done in the DialogFlow.
Using Python 3.6.4