Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
@@ -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"]
}
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down