Chat message exchange is required to be in real-time and super fast. The EmpowerID chatbot uses Cosmos DB, a NoSQL database that guarantees scalability and speed while storing a colossal huge volume of chat messages. It will store the Chat Conversations, Configuration & Templates used for the bot, please . Please follow the steps below to configure the Cosmos DB for EmpowerID.
...
Navigate to the Azure Portal.
Create Please create a Cosmos DB with Core (SQL).
After Azure provisions the Cosmos DB, you will have to add a new database and a container . In 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 name PartitionKey nopanel true Add two additional containers, conversations, and templates to the bot_database database. After you have added the containers, you should be able to list all containers and the database created.
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 name DefaultLocationForZip nopanel true Locate the Adaptive Card Templates folder in the Bot Service Deployment Package.
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.
Now, we will add the settings from Cosmos Db intothe configuration of theApp Service created in Step 1Set up App Service ; please add the following values for the keys and save the settings.
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. |
All steps in Deployment & Configuration of EID Bot
Page Tree | ||||
---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|