Virtual Assistant for Business - OSU Spring 2017 CSE5911
A bot aimed to simplify the process of interacting with common business tools like: Jira, Salesforce, etc.
See Images
- Install Node.js
- Create a LUIS endpoint
- Go to LUIS, create an account, then create a new app.
- Select
Import Utterance
, uploadJira.json
from folderluis-model
, then clickTrain
. - Click
Publish
, copy the URL.
- Run the bot locally
- Change the file
.env.example
to.env
.- Change the
LUIS_MODEL_URL
to the URL you just copied.
- Change the
- RECOMMENDED: Use
yarn
.- Install
yarn
: Tutorial cd
into code directoryyarn
- Launch the bot with
yarn start
- Run unit tests with
yarn test
- Rerun the code every time file changes (for development purpose only):
yarn launch
- Install
- You can also use
npm
.cd
into code directorynpm install
- Launch the bot with
npm start
- Run unit tests with
npm test
- Rerun the code every time file changes (for development purpose only):
npm run launch
- Interact with the bot via BotFramework-Emulator
- Change the file
- Deployment
- Deploy the code to any server, copy down the bot's endpoint.
- Publish the bot to Microsoft Bot Framework Platform.
- Config the following environment variable of the bot on the server, then restart it.
MICROSOFT_APP_ID
MICROSOFT_APP_PASSWORD
LUIS_MODEL_URL
(Optional if you have already uploaded the.env
file)
- You now should be able to access the bot on Skype and any other chat application you fancy.