From a447c186b5477b50af41d9e695d65d9ea84b2156 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) --- dialogflow/detect_intent_with_sentiment_analysis.py | 2 +- dialogflow/detect_intent_with_texttospeech_response.py | 2 +- dialogflow/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dialogflow/detect_intent_with_sentiment_analysis.py b/dialogflow/detect_intent_with_sentiment_analysis.py index 07905b57872c..8520460738c9 100644 --- a/dialogflow/detect_intent_with_sentiment_analysis.py +++ b/dialogflow/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/dialogflow/detect_intent_with_texttospeech_response.py b/dialogflow/detect_intent_with_texttospeech_response.py index 1e47f13208b7..5c002124150a 100644 --- a/dialogflow/detect_intent_with_texttospeech_response.py +++ b/dialogflow/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/dialogflow/requirements.txt b/dialogflow/requirements.txt index 5c384ee46225..59b3862007a5 100644 --- a/dialogflow/requirements.txt +++ b/dialogflow/requirements.txt @@ -1 +1 @@ -dialogflow==0.5.2 +dialogflow==0.6.0