how can I store the messages sent by the Azure bot and the responses of the users in CosmosDB? This was designed in bot composer
Asked
Active
Viewed 400 times
1 Answers
0
Bot Composer is not released any package for this . you can use 3rd party package "Iciclecreek.Bot.Builder.Dialogs.Database.Cosmos" more information check here : https://github.com/tomlm/iciclecreek.bot/tree/master/source/Libraries/Iciclecreek.Bot.Builder.Dialogs.Database.Cosmos

Vinoth Rajendran
- 1,141
- 1
- 9
- 13
-
Thanks for your answer. Is it possible to use OnTurnAsync for this purpose ?. Similar to this link: https://github.com/microsoft/BotFramework-Composer/issues/5534 – Alexander Pabon Roman Jan 03 '22 at 18:54
-
you want to implement middleware ? – Vinoth Rajendran Jan 03 '22 at 19:20
-
Yes, I need something similar to TranscriptLoggerMiddleware, I need to store the conversation. – Alexander Pabon Roman Jan 03 '22 at 19:49
-
then you have to write custom middleware .. check here how to write custom middleware for bot composer https://www.youtube.com/watch?v=AfQ9zm7K0HI – Vinoth Rajendran Jan 04 '22 at 06:41