ConversationHistory #26
-
.'@nlux/openai-react' & '@nlux/react' I designed the AiChat as Bootstrap Pop-Up modal UI. when I click the open chat button, the modal popup opens the Aichat UI and I type the message, store the response in session storage, and close the popup modal. then again I opened the popup modal to show the previous conversation from session storage in the Aichat conversation history, but the message was not shown in the chat system |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I do not expect conversation to get erased if you you hide the dialog using CSS (but DOM element still there). |
Beta Was this translation helpful? Give feedback.
-
Hi @DineshKumar-Engg I added a 2 features that should allow you to implement what you want:
They are available starting from version Your ExampleI created an example below that does what you are trying to achieve:
I hope this solves your problem. Let me know if you need further help. |
Beta Was this translation helpful? Give feedback.
Hi @DineshKumar-Engg I added a 2 features that should allow you to implement what you want:
They are available starting from version
0.11.1
. The NLUX events documentation page has been updated to mention those features.Your Example
I created an example below that does what you are trying to achieve: