Search code examples
botframeworkbotsazure-qna-maker

what is structure of BotConfiguration.bot in bot project using bot framwork SDK4.0 and how to add it the project?


I am referring to the QnA bot sample from the git hub link QnAbot, but when I follow the steps, I am not able to figure it out the BotConfiguration.bot. I want to see the sample of this .bot file. However, from in the sample code directory, I did not find it.

Can someone tell me how to create a simple QnA bot using SDK4.0?

I am using C# .net core bot template.

Thanks.


Solution

  • There is an easier way to generate Bot Configuration file without typing all these commands.

    a) Install Bot Framework Emulator

    b) Launch the emulator, Navigate to "File" and select "New Bot Configuration".

    c) After key in all the information needed, just save the file at your desired location.

    p/s: The sample botConfiguraton.bot file can refer to the official Microsoft documentation.