Skip to content

Latest commit

 

History

History
82 lines (54 loc) · 3.58 KB

Instructions-Compile.md

File metadata and controls

82 lines (54 loc) · 3.58 KB

Run with Bot Framework Composer

Table of Contents

Prerequisites

In order to get set up to work with SSW.SophieBot, you will need the following:

  1. Bot Framework Composer
  2. Bot Framework Emulator
  3. Installing & Configuring ngrok
  4. Azure Resources

Initial Setup

Step 1. Clone the repo

Go to SSW.SophieBot and clone the repo. github-clone-repo Figure: Click Copy to get download link

Step 2. Create appsettings.json

  1. From the cloned repo, go to "{your cloned repo}/bots/employee-finder/src/SSW.SophieBot/settings" folder

  2. Make a copy of the file appsettings.example.json and rename it to appsettings.json.

  3. Add necessary configurations to appsettings.json. See schema reference here.

    Note: For adapters and components sections in runtimeSettings, do not modify the initial settings from appsettings.example.json as they are needed for the test run.

    Note: If you're working in SSW, you can fetch a ready-to-use copy of appsettings.json in Keeper | SSW | SSW.SophieBot, or contact SophieBot team directly.

Step 3. Open the repo with Composer

Open the Bot Framework Composer.

You can find GitHub repository for Bot Framework Composer here

composer-open-solution Figure: Click Open on Composer's homepage

Step 4. Configure your bot

In Bot Framework Composer, go to Configure | Development resources.

  1. Set up Language Understanding.

composer-set-up-luis Figure: Click Set up Language Understanding

composer-select-luis-resource-type Figure: Select Use existing resources and click next

image Figure: Select the subscription and luis resource and click next

  1. Set up App ID. Still in the Configure | Development resources, scroll to the bottom.

composer-retrieve-app-id Figure: Click Retrieve App ID

image Figure: Select publishing profile

Step 5. Test run

composer-start-bot Figure: Click Start bot

composer-test-in-emulator Figure: Click Test in Emulator

You can find GitHub repository for Bot Framework Emulator here

emulator-welcome-message-after-login Figure: Get welcome message