Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

Add: Download conversation history button#101

Merged
Daethyra merged 13 commits intostreamlitfrom
download-conversation-history-button
May 1, 2024
Merged

Add: Download conversation history button#101
Daethyra merged 13 commits intostreamlitfrom
download-conversation-history-button

Conversation

@Daethyra
Copy link
Copy Markdown
Owner

@Daethyra Daethyra commented May 1, 2024

No description provided.

Added a placeholder function to test the chat history interaction.
Refactored the code to store the formatted conversation history in a variable before passing it to the download button. This change ensures consistency and readability across different parts of the application.
Refactored the conversation history formatting in `save_conversation_history` utility function to use object attributes instead of dictionary keys.
Moved up the button in the UI to allow users to clear the conversation history. This feature provides users with the ability to reset the chat history, enhancing user experience and interaction with the application.
Removed redundant code that forced the printing of Gemini-Pro's response in RAGbot.py and Curie.py, since Gemini-Pro is no longer offered
@Daethyra Daethyra added the enhancement New feature or request label May 1, 2024
Refactored the conversation history download functionality in the pages to use a consistent file naming convention and removed redundant code for clearing message history. This change ensures uniformity and simplifies maintenance.
@Daethyra Daethyra enabled auto-merge May 1, 2024 04:35
@Daethyra Daethyra disabled auto-merge May 1, 2024 04:36
Updated page titles and timestamps for better clarity and consistency. Adjusted "Chatbot" to "Curie" and "General Use Chatbot" to "General Purpose Chatbot". Also, modified the timestamp format for conversation history download.
@Daethyra Daethyra enabled auto-merge May 1, 2024 04:40
@Daethyra Daethyra merged commit 79d6ef3 into streamlit May 1, 2024
@Daethyra Daethyra deleted the download-conversation-history-button branch May 2, 2024 03:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant