diff --git a/dialogflow/cloud-client/detect_intent_with_sentiment_analysis.py b/dialogflow/cloud-client/detect_intent_with_sentiment_analysis.py index 07905b57872..8520460738c 100644 --- a/dialogflow/cloud-client/detect_intent_with_sentiment_analysis.py +++ b/dialogflow/cloud-client/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/cloud-client/detect_intent_with_texttospeech_response.py b/dialogflow/cloud-client/detect_intent_with_texttospeech_response.py index 1e47f13208b..5c002124150 100644 --- a/dialogflow/cloud-client/detect_intent_with_texttospeech_response.py +++ b/dialogflow/cloud-client/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/cloud-client/requirements.txt b/dialogflow/cloud-client/requirements.txt index 5c384ee4622..59b3862007a 100644 --- a/dialogflow/cloud-client/requirements.txt +++ b/dialogflow/cloud-client/requirements.txt @@ -1 +1 @@ -dialogflow==0.5.2 +dialogflow==0.6.0