microsoft-bot-framework

Issue with size limit (limit of 262144 bytes) from bot while displaying adaptive card with large choice list (in botframework)

China☆狼群 提交于 2021-02-02 09:34:13
问题 My team is working on a chatbot with Microsoft bot framework, as a requirement we need to show a dynamic choice list according to what the users select. For this we are hitting an API to fetch the custom response. Please find below an example of the response. { "items": [ { "val": { "Field1": "Hello World" }, "_links": { "self": [ { "href": "API_URL_FOR_THIS_OPTION" } ] } }, { "val": { "Field1": "Hi World" }, "_links": { "self": [ { "href": "API_URL_FOR_THIS_OPTION" } ] } }, ], "_links": {

Dialogs keep their variable values in new conversation in MS BotFramework v4

帅比萌擦擦* 提交于 2021-01-28 04:22:29
问题 I'm using MS BotFramework v4. There is a RootDialog which starts Dialog_A or Dialog_B depending on what the user input is. TL;DR If a new conversation is started after a conversation and the bot isn't restarted, private variables of dialogs to which a value (which is not the initial value) has already be assigned, are not reseted to their initial value leading to unexpected behavior. How can this be avoided? Detailed Let's assume the following scenario: Each of these dialogs has some private