Creates Bot Framework Language Generation, and LU files from a Botmock project for use with .NET, C#, or Node JS Bot Framework projects.
The files generated by this script are able to be used within .NET, C#, or Node JS projects in order to take advantage of the new Adaptive Dialog paradigm in Bot Framework.
- Node JS version 12.x
#determine nodejs version
node --version- .NET Core SDK version 2.1.x
# determine dotnet version
dotnet --versionNote that to take advantage of the generated
.lufile, you must have a luis.ai account.
- clone this repository:
git clone git@github.com:Botmock/botmock-botframework-export.git - run
npm install - run
npm start - create
.env(see Env section below for more on this) in the project root - find generated
.lgand.lufiles inbotmock-botframework-export/output - move generated files to your project directory
- reference generated Language Generation file in your existing .NET, C#, or Node JS code.
The script relies on a .env file that holds Botmock credentials for your project.
The file should look like so:
BOTMOCK_TOKEN=your-token
BOTMOCK_TEAM_ID=your-team-id
BOTMOCK_PROJECT_ID=your-project-id
BOTMOCK_BOARD_ID=your-board-id