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

[Question] Is it possible to display chat history in client?

Open sayyednazeer opened this issue 9 years ago • 14 comments

Is there any way to store the chat conversation in sql server database and display to the user when he comes next time (recent conversation).

I saw this article to store the conversation in sql server but how can i show that conversation to the user on next time..?

http://aihelpwebsite.com/Blog/EntryId/13/Implementing-A-SQL-Server-Database-With-The-Microsoft-Bot-Framework

sayyednazeer avatar Jun 28 '17 10:06 sayyednazeer

@sayyednazeer what channel are you using?

nwhitmont avatar Jun 28 '17 14:06 nwhitmont

relates to #3018

nwhitmont avatar Jun 28 '17 15:06 nwhitmont

@nwhitmont i want it for direct line and webchat both

sayyednazeer avatar Jun 29 '17 05:06 sayyednazeer

@nwhitmont any update..?

sayyednazeer avatar Jul 04 '17 10:07 sayyednazeer

Hi, i want to store user conversation history and use that conversation to analyze user need. Can you please help? do you have any sample code regarding user history storage?

NehaShaikh786 avatar Jul 04 '17 10:07 NehaShaikh786

@NehaShaikh786

With C# or Node..??

sayyednazeer avatar Jul 04 '17 19:07 sayyednazeer

C#

NehaShaikh786 avatar Jul 05 '17 08:07 NehaShaikh786

Is it possible to have a conversation in particular flow? I want a single luis utterance to have different response in a particular conversation flow, how can i do it? because my utterance hits to a single intent and luis can give a single response everytime. please give solution for C# code.

NehaShaikh786 avatar Jul 05 '17 08:07 NehaShaikh786

@NehaShaikh786

can you be more clear or give me some example so that ill help you out in this.

sayyednazeer avatar Jul 05 '17 15:07 sayyednazeer

@nwhitmont any update on my question ..?

sayyednazeer avatar Jul 05 '17 15:07 sayyednazeer

@sayyednazeer please review this https://github.com/Microsoft/BotBuilder/issues/3092

NehaShaikh786 avatar Jul 06 '17 06:07 NehaShaikh786

Hi @sayyednazeer

There is an interesting discussion on displaying history at startup here: GitHub\BotFramework-WebChat

afaik, there's no public example for displaying chat history via direct line or webchat. However, the BotBuilder is open source, and contributions are welcome.

EricDahlvang avatar Jul 06 '17 19:07 EricDahlvang

My current approach is from the web "push notification" in the browsers, actually, rather than from the chat framework itself. This WebChatPush project can recall chat history from previous windows by clicking on desktop push notifications: https://github.com/doristchen/WebChatPush

SarahSexton avatar Jul 19 '17 23:07 SarahSexton

@SarahSexton and @EricDahlvang Thanks... ill go through the link mention by you.

sayyednazeer avatar Jul 23 '17 17:07 sayyednazeer