diff --git a/app.json b/app.json index 831c944ffd..768cd2eae5 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { - "name": "Dialogflow webhook demonstration", - "description": "Dialogflow webhook demonstration", + "name": "API.AI webhook demonstration", + "description": "API.AI webhook demonstration", "repository": "https://github.com/api-ai/apiai-weather-webhook-sample", "logo": "http://xvir.github.io/img/apiai.png", - "keywords": ["api.ai", "dialogflow", "natural language"] + "keywords": ["api.ai", "natural language"] } diff --git a/app.py b/app.py index 26cc594adf..a924cf1161 100755 --- a/app.py +++ b/app.py @@ -54,7 +54,7 @@ def makeYqlQuery(req): if city is None: return None - return "select * from weather.forecast where woeid in (select woeid from geo.places(1) where text='" + city + "')" + return "select * from weather.forecast where woeid in (select woeid from geo.places(1) where text='" + city + "') and u='c'" def makeWebhookResult(data):