microsoft / botbuilder-tools

Welcome to the Bot Framework Tools repository, which is the home for a set of tools for developers building bots with the Microsoft Bot Framework
https://github.com/Microsoft/botframework
MIT License
444 stars 262 forks source link

How to update existing dispatch file ? #1429

Closed rajeeshmenoth closed 4 years ago

rajeeshmenoth commented 4 years ago

Tool

Name: LUIS Dispatch Version: 1.6.6 OS: Windows 10 Enterprise

Describe the bug

I want to update new qna information into already created dispatch file.

To Reproduce

Steps to reproduce the behavior:

  1. Created dispatch file using the help of microsoft docs
  2. Dispatch file is created after running "dispatch create" command
  3. Trying to update dispatch file with new qna information
  4. Not able to find any command for existing dispatch file update

Expected behavior

Want to update existing dispatch file with new intent information ( qna or luis ).

[bug]

Zerryth commented 4 years ago

@rajeeshmenoth the command is dispatch add [options] You can find a whole list of the dispatch commands in the botbuilder-tools repo here.

I will make note to the docs team regarding the documentation you linked--specifically how it doesn't make mention of the list of dispatch commands available in one consolidated README, and I could see how you were left to believe that there was no such command to update an existing dispatch file.


One last note, as a reminder, the Bot Framework repos are for reporting bugs and requesting new features. If in the future you have a how-to question regarding the framework, please elicit the help of the community at large on Stack Overflow.

rajeeshmenoth commented 4 years ago

@Zerryth as of now this command dispatch add [options] is only support for initial adding of LUIS intent and Qna maker kb integration. Once I run this command dispatch create then you can't able to add newly created LUIS intent and Qna maker kbs integration into the existing dispatch file. I saw one update command in the document but that is going to update the main LUIS secret key.

Eg. In future new KB added in Qna maker and those kb i want to update in existing dispatch file ( q_sampleKb-qna )

Zerryth commented 4 years ago

I see.

Usedispatch add and dispatch refresh commands depending on what you're trying to do.

Are you having trouble with the refresh command?

rajeeshmenoth commented 4 years ago

@Zerryth, Thanks it's working and please update in the document as well.