@* Comments *@ @model IEnumerable @{ Layout = null; ViewData["Title"] = ".NET Lex ChatBot"; } .NET Amazon Lex ChatBot - Sample Application (OrderFlowers)

Order Flowers

@foreach (var ChatMsg in Model) { if (ChatMsg.MsgType == dotnetLexChatBot.Models.MessageType.UserMessage) {
@ChatMsg.ChatMessage
} else {
@ChatMsg.ChatMessage
} }
@{ var htmlAttributes = new Dictionary(); htmlAttributes.Add("class", "form-inline"); } @using (Html.BeginForm("GetChatMessage","HelloChatBot",FormMethod.Post, htmlAttributes)) { }

.NET ChatBot with Amazon Lex


Build a .NET Chatbot using ASP .NET Core and Amazon Lex! This chatbot allows you to order flowers. To start using this bot simply type “I want to order flowers”, “Order Flowers” or a similar utterance. This simple chatbot currently is designed to follow three instructions, type of flowers, day for pick up and time for pick up. You can input three types of flowers: Roses, Lilies, and Tulips. Time must be noted with PM/AM and dates can be noted with day i.e. Wednesday or Next Wednesday.. We challenge you to take this simple example, add more details and customize it for your use case