Send feedback
Migrating between Dialogflow versions
Stay organized with collections
Save and categorize content based on your preferences.
V2beta1 to V2
The V2beta1 API is used to share beta features with Dialogflow users.
This section has advice for switching to the stable V2 API.
Important: The default behavior for enabling machine learning has changed.
See details below.
If you are using REST or RPC,
update the endpoint from
dialogflow.googleapis.com/v2beta1/...
to dialogflow.googleapis.com/v2/...
If you are using a client library , update it:
Dynamic languages (Python, Node.js, Ruby):
Upgrade the package,
and your code will automatically use the latest stable version.
Static languages (Java, C#, PHP, Go):
Install the new package
and update all import statements to reference "v2" instead of "v2beta1".
The field that controls whether
machine learning (ML) is enabled for an Intent
has changed.
The mlEnabled
field has been removed and replaced by the mlDisabled
field, and ML is enabled by default.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}