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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The V2 API is the stable version, and the V2beta1 API was used for beta features, so users should transition to the V2 API."],["For REST or RPC, update the endpoint URL from `dialogflow.googleapis.com/v2beta1/...` to `dialogflow.googleapis.com/v2/...`."],["Client library users need to update their packages: dynamic languages can simply upgrade the package, while static languages must install the new package and update import statements to \"v2\"."],["The `mlEnabled` field in V2beta1 has been replaced by `mlDisabled` in V2, and machine learning is now enabled by default in the V2 version."]]],[]]