WeatherBot
) on the left, the Authoring canvas in the middle, and the Properties panel (Adaptive dialog) on the right.Each dialog can have its own recognizer. A recognizer is a component of your bot that examines incoming messages to determine the users intention by evaluating all predefined intents. Each recognizer type uses a different technique to determine which intent, if any, best matches the user's input.
dialog.api_response.statusCode
.dialog.api_response.reasonPhrase
.dialog.api_response.content
.dialog.api_response.headers
.dialog.api_response.content
property.- The weather is ${dialog.weather.weather} and the temp is ${dialog.weather.temp}°
true
.The weather is Clouds and it is 75°.
DescribeWeather
, seen below:weather.weather
variable to generate a friendlier response.- ${DescribeWeather(dialog.weather)} and the temp is ${dialog.weather.temp}°
DescribeWeather
template inside another template. LG templates can be combined in this way to create more complex templates.weather
, the bot will send you a message that sounds much more natural than it did previously.${DescribeWeather(dialog.weather)}...
user.zipcode
property to the value of the zipcode
entity.user.zipcode
into the Property field and [email protected]
in the Value field. The user.zipcode
property will now be set to the value of the zipcode
entity, and if entered by the user, they will no longer be prompted for it.