botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Simple storage similar to BotKit?

Open MiroValchev opened this issue 10 years ago • 6 comments

BotKit has a simple implementation for JSON storage: https://github.com/howdyai/botkit/blob/master/lib/storage/simple_storage.js

Can we expect such a thing in BotBuilder? MemoryStorage is not gonna work for persisting user related info, i.e. logs, orders etc. I can't imagine saving large amounts of data to session.userData or am I wrong?

MiroValchev avatar May 18 '16 13:05 MiroValchev

Ok, just saw this: https://github.com/Microsoft/BotBuilder/blob/c0a530bdc3cc1e35691ddc11cf0e25c1145979a0/Node/src/bots/BotConnectorBot.ts#L207

It's obviously in development. @Stevenic can you post here when it's ready. Thanks!

MiroValchev avatar May 18 '16 13:05 MiroValchev

I haven't touted it too much because we keep changing it. I think it's almost in its final form but I'd give it another week or two. Plus I have to finish wiring it up.

Stevenic avatar May 18 '16 22:05 Stevenic

Thanks mate!

MiroValchev avatar May 19 '16 05:05 MiroValchev

Since this is underway closing issue.

Stevenic avatar Jun 01 '16 08:06 Stevenic

I haven't used BotBuilder for a while. It seems there is some storage implementation, but can't find anything in the repo (aside from MemoryStorage). Anyway, I wrote a simple SQLite storage for Slack. Hope it can be usefull here as well... https://github.com/MiroValchev/botkit/blob/36cb57d57cd8a3a44617dce7e5b63ae2ab3dbb58/lib/storage/sqlite_storage.js

MiroValchev avatar Sep 13 '16 09:09 MiroValchev

Awesome... thanks @MiroValchev !

Stevenic avatar Oct 03 '16 21:10 Stevenic