Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The EmpowerID chatbot uses leverages Cosmos DB, a NoSQL database that guarantees scalability and speed while storing a huge volume , to ensure scalable and high-performance storage of large volumes of chat messages. It will store the Chat Conversations, Configuration & Templates used for the bot. Please follow stores chat conversations, configuration settings, and templates utilized by the Bot. Follow the steps below to configure the Cosmos DB for EmpowerID.

Procedure

  1. Navigate to the Azure Portal.

  2. Please create a Cosmos DB with Core (SQL).

...

  1. Image Added

  2. After Azure provisions the Cosmos DB, you will have to add a new database and a container to the CosmosDB. Please replicate the information in the screenshot below to create a database named bot_database and a container named botconfig is created.

    Insert excerpt
    IL:Deployment and Configuration of EID Bot Library
    IL:Deployment and Configuration of EID Bot Library
    namePartitionKey
    nopaneltrue

...


  1. Image Added


  2. Add two additional containers, conversations, and templates to the bot_database database.

    Image Added

    After you have added the containers, you should be able to list all containers and the database created.

...

  1. Image Added
  2. Find the Bot Service Deployment Package (i.e., _BotServiceDeploymentPackage.zip) and unzip the content into a folder.

    Insert excerpt
    IL:Deployment and Configuration of EID Bot Library
    IL:Deployment and Configuration of EID Bot Library
    nameDefaultLocationForZip
    nopaneltrue

  3. Locate the Adaptive Card Templates folder in the Bot Service Deployment Package.

  4. Upload all the JSON files in the Adaptive Card Templates folder to the templates CosmosDB container. You should be able to see the list of the uploaded files after completion.

...

  1. Image Added

...

...


  1. Image Added

  2. Add the following settings from Cosmos Db

...

  1. to the configuration of the

...

  1. App Service

...

  1. and save

...

  1. your changes.

...

    • CosmosDbAuthKey with the Primary Read-Write Key.

    • CosmosDbDatabaseId with “bot_database“

...

    • CosmosDbContainerId with “botconfig“

...

    • CosmosDbEndpoint with the URI of the CosmosDb account.

Info

In the next step, we will set up the Azure Key Vault.

Setting up the Vault

All steps in Deployment & Configuration of EID Bot

Page Tree
rootDeployment & Configuration of the EmpowerID EID Chatbot
startDepth1

Insert excerpt
IL:External Stylesheet
IL:External Stylesheet
nopaneltrue