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