@microsoft/generator-bot-people
v1.0.0-rc6
Published
Yeoman generator for creating an Adaptive bot built on the Azure Bot Framework using the People template.
Downloads
24
Readme
@microsoft/generator-bot-people
This template creates a bot configured to search for users in an Azure Active Directory using Microsoft Graph.
What this template is for
Use this template if you want to...
- Support searching for Azure Active Directory users
- Start from an advanced template including dialogs, language understanding, and language generation
Packages
This bot uses the Azure Bot Framework component model to extend its base functionality. The following packages come pre-installed:
Supported Languages
- English (en-us)
Azure Resource Deployment
This template requires the following Azure resources:
- Azure Bot Registration configured with Microsoft Azure Active Directory authentication with access to the following scopes:
- Contacts.Read
- Directory.Read.All
- People.Read
- People.Read.All
- User.ReadBasic.All
- User.Read.All
- Language Understanding (LUIS) authoring resource
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 setting up 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
This template can also be used from the command-line. First, install Yeoman and @microsoft/generator-bot-people using npm (we assume you have pre-installed node.js):
npm install -g yo
npm install -g @microsoft/generator-bot-people
Then generate your new project:
yo @microsoft/generator-bot-people -botname '{BOT_NAME}' -platform 'dotnet' -integration '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