Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[FEATURE] Save Chat Histories

Open scooter7 opened this issue 2 years ago • 12 comments

Hi,

Is there a way to save the chat histories in Flowise interactions?

Also, is there a way to see the full code that the visual builder is creating behind the scenes?

Thanks!

scooter7 avatar Jun 23 '23 17:06 scooter7

chat histories coming from embedded chat or API?

exporting full code is on the roadmap

HenryHengZJ avatar Jun 23 '23 19:06 HenryHengZJ

Hi @HenryHengZJ ,

Great news about code exports being on the roadmap.

In terms of saving the chat histories, in an ideal world, I'd like to save each user question and chatbot response per session in a text or csv file that would be stored in my Github repository or in Google Drive.

Additionally, I wonder if you know of a way to require the user to provide full name and email address prior to asking questions.

Thanks!

scooter7 avatar Jun 23 '23 21:06 scooter7

Hi @HenryHengZJ ,

I'm also curious if there is a way to host the chat widgets in a live hosting environment so that the active state isn't dependent upon being served by my localhost.

Thanks again!

scooter7 avatar Jun 23 '23 21:06 scooter7

here's the docs on deployment - https://docs.flowiseai.com/deployment

as for saving chat messages, we will enable this feature soon.

for require the user to provide full name and email address prior to asking questions, this will have to implemented on your front end application

HenryHengZJ avatar Jun 23 '23 23:06 HenryHengZJ

Thanks!

scooter7 avatar Jun 23 '23 23:06 scooter7

here's the docs on deployment - https://docs.flowiseai.com/deployment

as for saving chat messages, we will enable this feature soon.

for require the user to provide full name and email address prior to asking questions, this will have to implemented on your front end application

hey @HenryHengZJ Can You elaborate more on this feature I would like to work on it. Currently, I am working on #374

govind-kumarr avatar Jun 24 '23 11:06 govind-kumarr

thanks @govind-kumarr for the volunteer! I've started working on this 😅

HenryHengZJ avatar Jun 24 '23 23:06 HenryHengZJ

Hi, I'm just curious when you think that this might be completed? Thanks!

scooter7 avatar Jun 25 '23 17:06 scooter7

I also need the embedded chat to save the chat history, after refreshing the page or jumping to other sub-pages the chat history is lost, there is a bad experience

hisune avatar Jun 26 '23 01:06 hisune

for require the user to provide full name and email address prior to asking questions, this will have to implemented on your front end application

What files would I need to access in the repository to make the required changes?

Thanks!

scooter7 avatar Jun 26 '23 15:06 scooter7

Hi, I'm just curious when you think that this might be completed? Thanks!

we are estimating around 1-2 weeks. As we also want to include features where you can export the conversations and where they are coming from.

for the full name and email address we are not providing this feature atm, if you are using Flowise as API, you will have to implement on your front end application

HenryHengZJ avatar Jun 29 '23 00:06 HenryHengZJ

Hi @HenryHengZJ ,

That sounds great and thanks for updating me!

Would you please tell me which files I'd need to edit to add the name and email fields on the front end? I'm new to typescript...

Thanks again!

scooter7 avatar Jun 29 '23 00:06 scooter7

Hi, I went thru the docs and if you enable Zep Memory, then your flow will save the chat history using the sessionId.

https://docs.flowiseai.com/memory/zep-memory

askprateek avatar Jul 06 '23 11:07 askprateek

yeah for now you can retrieve chat history if you are using Long Term memory like Zep/Motorhead etc. Chat histories are stored on their side. For Flowise, we have to retrieve and display them.

As it gets more complicated when the chatflow is using different memory, different sessions, and chat messages can come from API/embed/UI, its taking longer than expected to implement the feature

HenryHengZJ avatar Jul 11 '23 16:07 HenryHengZJ

Thanks for the update, @HenryHengZJ !

scooter7 avatar Jul 13 '23 20:07 scooter7

I think Zep, might have solved a bigger aspect of this issue

byte-rose avatar Jul 14 '23 10:07 byte-rose

Hi @HenryHengZJ

Great news! In my dreams, I would like to embed a chatbot in website and be able to collect session's histories through an API. Best

eple0030 avatar Jul 16 '23 08:07 eple0030

Hi @HenryHengZJ,

Reading into this chain and was wondering if there is a solution for this. I'd love to be able to see all the transcripts on my embed chats, it would be really useful. Do you have any updates?

FultonStDigital avatar Oct 11 '23 22:10 FultonStDigital

zep memory does this

byte-rose avatar Nov 04 '23 06:11 byte-rose