aisearch-openai-rag-audio icon indicating copy to clipboard operation
aisearch-openai-rag-audio copied to clipboard

feat: Complete chat history panel integration

Open john-carroll-sw opened this issue 1 year ago • 5 comments

  • Added chat history functionality to display transcriptions from both model responses and user inputs.
  • Modified App.tsx, types.ts, and history-panel.tsx to support the history panel logic.
  • Updated translation.json for localized strings related to the chat history.

This update enhances the user experience by providing a comprehensive view of the conversation history.

Screenshot 2024-10-30 140954

john-carroll-sw avatar Oct 31 '24 15:10 john-carroll-sw

The screenshot is slightly misleading. The changes I am committing are only for the history panel pieces. I have not committed any UI changes that are for my demo around Starbucks AI Assistant. Apologies for the confusion in advance. I wanted to show the grounding files in the assistant's chat bubbles and this was my only working demo at the moment.

john-carroll-sw avatar Oct 31 '24 15:10 john-carroll-sw

This is what the UI looks like. Open to suggestions on how the chat history can be shown. Right now it's the blue button in the middle. image

john-carroll-sw avatar Oct 31 '24 15:10 john-carroll-sw

Thanks for the PR!

I'd render the 'Show Chat History' button in a smaller one, e.g.

<Button variant="outline" size="sm" className="rounded-full">
    <History className="mr-2 h-4 w-4" />
    Show history
</Button>

chuwik avatar Nov 01 '24 01:11 chuwik

Current UI showing transcript history panel:

image

john-carroll-sw avatar Nov 02 '24 04:11 john-carroll-sw

this is nice feature. i wanted to pull it upon merged.

pmuralikrishna111 avatar Jan 22 '25 13:01 pmuralikrishna111