Skip to content

Dialogflow V2 Support

Compare
Choose a tag to compare
@treethought treethought released this 17 Dec 06:46
· 135 commits to master since this release

This release provides initial support for Dialogflow V2 agents.

The V1 API is no longer supported as of flask-assistant v0.3.0.

Migrating your agent and existing webhooks to V2 requires:

  • Select V2 API under the API version section in the Dialogflow console settings
  • Initialize the Assistant class with your Google Cloud project ID (found in the settings page) as shown below
app = Flask(__name__)
assist = Assistant(app, project_id='YOUR_PROJECT_ID')