@microsoft/generator-bot-conversational-core
v1.0.0-rc6
Published
Yeoman generator for creating a simple conversational bot with NLP built on the Azure Bot Framework.
Downloads
8
Readme
@microsoft/generator-bot-conversational-core
This template creates a simple conversational bot containing dialogs for the most common conversational flows, with example language models and triggers routing to those dialogs.
What this template is for
Use this template if you want to...
- Create a basic conversational bot with natural language processing (NLP) with a recognizer like LUIS.
- See the basics of how language understanding, language generation, recognizers and dialogs work together.
Packages
Your bot can use the Azure Bot Framework component model to extend the base functionality. From Composer, use the Package Manager to discover additional packages you can add to your bot.
This bot starts with the following packages:
Languages
- English (en-us)
Azure Resource Deployment
To run this bot you'll need to configure the default recognizer for your bot. In Composer, the default recognizer is LUIS. Additionally, you may want to consider a persistent state storage solution like Azure CosmosDB. Both can be provisioned and published to by creating a publishing profile in Composer.
Using this template
From Composer
From Composer you'll use the New button on the Home screen to create a new bot. After creation, Composer will guide you through making customizations to your bot. If you'd like to extend your bot with code, you can open up your bot using your favorite IDE (like Visual Studio) from the location you choose during the creation flow.
From the command-line
First, install Yeoman and @microsoft/generator-bot-conversational-core using npm (we assume you have pre-installed node.js):
npm install -g yo
npm install -g @microsoft/generator-bot-conversational-core
Then generate your new project:
yo @microsoft/bot-conversational-core '{BOT_NAME}' -platform '{dotnet|js}' -integration '{functions|webapp}'
License
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE