Allow user to enter "chicago" (and not just "windy city") (#191)
This commit is contained in:
Родитель
5bdff273c0
Коммит
18471f769f
|
@ -44,7 +44,7 @@ let cl = new ConversationLearner(clAppId);
|
|||
//=========================================================
|
||||
// Bots Buisness Logic
|
||||
//=========================================================
|
||||
let cities = ['new york', 'boston', 'new orleans'];
|
||||
let cities = ['new york', 'boston', 'new orleans', 'chicago'];
|
||||
let cityMap:{ [index:string] : string } = {};
|
||||
cityMap['big apple'] = 'new york';
|
||||
cityMap['windy city'] = 'chicago';
|
||||
|
|
Загрузка…
Ссылка в новой задаче