From 9a2f1fadf3fbbe0bf2235aaba47e8b892fce19e0 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Wed, 15 May 2019 15:32:41 -0700 Subject: [PATCH] TTS / Sentiment GA [(#2157)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2157) --- .../samples/snippets/detect_intent_with_sentiment_analysis.py | 2 +- .../snippets/detect_intent_with_texttospeech_response.py | 2 +- .../google-cloud-dialogflow/samples/snippets/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_sentiment_analysis.py b/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_sentiment_analysis.py index 07905b57872c..8520460738c9 100644 --- a/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_sentiment_analysis.py +++ b/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_sentiment_analysis.py @@ -35,7 +35,7 @@ def detect_intent_with_sentiment_analysis(project_id, session_id, texts, Using the same `session_id` between requests allows continuation of the conversation.""" - import dialogflow_v2beta1 as dialogflow + import dialogflow_v2 as dialogflow session_client = dialogflow.SessionsClient() session_path = session_client.session_path(project_id, session_id) diff --git a/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_texttospeech_response.py b/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_texttospeech_response.py index 1e47f13208b7..5c002124150a 100644 --- a/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_texttospeech_response.py +++ b/packages/google-cloud-dialogflow/samples/snippets/detect_intent_with_texttospeech_response.py @@ -34,7 +34,7 @@ def detect_intent_with_texttospeech_response(project_id, session_id, texts, Using the same `session_id` between requests allows continuation of the conversation.""" - import dialogflow_v2beta1 as dialogflow + import dialogflow_v2 as dialogflow session_client = dialogflow.SessionsClient() session_path = session_client.session_path(project_id, session_id) diff --git a/packages/google-cloud-dialogflow/samples/snippets/requirements.txt b/packages/google-cloud-dialogflow/samples/snippets/requirements.txt index 5c384ee46225..59b3862007a5 100644 --- a/packages/google-cloud-dialogflow/samples/snippets/requirements.txt +++ b/packages/google-cloud-dialogflow/samples/snippets/requirements.txt @@ -1 +1 @@ -dialogflow==0.5.2 +dialogflow==0.6.0