Luis Bot in Azure account I have a the doubt

Category: azure app service api apps public preview


Shriti.K on Thu, 06 Jul 2017 15:55:50

I have a the doubt in the Luis Bot in Azure account in C#  . I added the Dialog in that i given donor,event... if i click on the Member option  it should show me member questions  please anybody help  it very urgent for me .

member  is the entity  i have a questions like 

i created the questions in the intent.  how get the questions inside of this  conditions.

what is your name ?     

what is your last name ?......


  private void AskForPreviousOrAnother(IDialogContext context)
var dialog = new PromptDialog.PromptChoice<string>(new string[] { "Member", "Donor", "Volunter" }, "Which one would you like?", "Sorry, that wans't a valid option", 3);
        context.Call(dialog, AfterUserHasChosenAsync);

private async Task AfterUserHasChosenAsync(IDialogContext context, IAwaitable<string> argument)
          var message = await argument;
        if (message == "Member")
     await context.PostAsync("this is Member"); // here i need to get my intent questions please tell help me to get this 


IoTGirl on Thu, 06 Jul 2017 18:26:12

Hi Shriti,

This blog,,looks like it has the steps you need.  You can reach out to the poster if you have further questions as well.



Shriti.K on Fri, 07 Jul 2017 04:40:08

Thanks for your given good link .I also followed the same steps and created.

My questions is how to write the question inside the if condition ? using intent?

i cant paste the image so ...... this my chat bot 


Welcome to bot

How can I help you?


                                                                           Register as Member


Do you want to register as ?

Donor |   Member  |  Event




What is your name ?

What is your mobile number?