Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
V2beta1 bis V2
Die V2beta1 API wird für die Freigabe von Betafeatures für Dialogflow-Nutzer verwendet.
Dieser Abschnitt enthält Tipps für den Wechsel zur stabilen V2 API.
Wenn Sie REST oder RPC verwenden, aktualisieren Sie den Endpunkt von dialogflow.googleapis.com/v2beta1/... auf dialogflow.googleapis.com/v2/....
Wenn Sie eine Clientbibliothek verwenden, aktualisieren Sie diese:
Dynamische Sprachen (Python, Node.js, Ruby): Aktualisieren Sie das Paket. Der Code verwendet dann automatisch die neueste stabile Version.
Statische Sprachen (Java, C#, PHP, Go): Installieren Sie das neue Paket und aktualisieren Sie alle Importanweisungen so, dass sie auf "v2" statt auf "v2beta1" verweisen.
Beim Feld zur Steuerung der Aktivierung des maschinellen Lernens (ML) für einen Intent gab es Änderungen.
Das Feld mlEnabled wurde durch das Feld mlDisabled ersetzt und ML ist standardmäßig aktiviert.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThe V2 API is the stable version, and the V2beta1 API was used for beta features, so users should transition to the V2 API.\u003c/p\u003e\n"],["\u003cp\u003eFor REST or RPC, update the endpoint URL from \u003ccode\u003edialogflow.googleapis.com/v2beta1/...\u003c/code\u003e to \u003ccode\u003edialogflow.googleapis.com/v2/...\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eClient 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".\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emlEnabled\u003c/code\u003e field in V2beta1 has been replaced by \u003ccode\u003emlDisabled\u003c/code\u003e in V2, and machine learning is now enabled by default in the V2 version.\u003c/p\u003e\n"]]],[],null,["# Migrating between Dialogflow versions\n\nV2beta1 to V2\n-------------\n\nThe V2beta1 API is used to share beta features with Dialogflow users.\nThis section has advice for switching to the stable V2 API.\n| **Important:** The default behavior for enabling machine learning has changed. See details below.\n\n- If you are using REST or RPC, update the endpoint from `dialogflow.googleapis.com/v2beta1/...` to `dialogflow.googleapis.com/v2/...`\n- If you are using a [client library](/dialogflow/docs/reference/libraries), update it:\n - **Dynamic languages** (Python, Node.js, Ruby): Upgrade the package, and your code will automatically use the latest stable version.\n - **Static languages** (Java, C#, PHP, Go): Install the new package and update all import statements to reference \"v2\" instead of \"v2beta1\".\n- 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."]]