Reputation: 647
Dears , I would like to know how can i make the dialog dynamic in microsoft bot framework? Now from the code samples it's all using enums to represent values , but how if the values shall be returned from a service?
I also have another question , where can I find the luis intents that are being used in the samples? and from where the word " Please select " comes from the github bot builder sample , especially the pizzabot .
Upvotes: 4
Views: 2256
Reputation: 7513
I blogged about Dynamic FormFlow Forms in Bot Builder. This was written for FormFlow. I haven't figured out how to get string arrays to work with dialogs or if there might be a bug there.
The Prompts are using the defaults for properties in the PizzaOrder class. and you can change them with Prompt and Template attributes. The SandwichBot explanation in the docs covers these attributes.
I don't know if Microsoft opened the LUIS intents for PizzaBot (or if it's practical to let the general public view your original model). Maybe you can visit their Feedback site and ask them to share the JSON for the LUIS PizzaBot model. The LUIS video tutorial and docs might help if you want to create your own model and replace the LUIS model tokens with your own.
Upvotes: 2