Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat Profile creation and edit #458

Open
cuihaoleo opened this issue May 13, 2024 · 2 comments
Open

Chat Profile creation and edit #458

cuihaoleo opened this issue May 13, 2024 · 2 comments

Comments

@cuihaoleo
Copy link

Hi, thank you for the great project. I like the idea of storing things locally in the browser.

I have some confusion with the Chat Profile functionality. What I expect is I can create a few Chat Profile with different system prompts and possibly other settings, which I can reuse to create new chats in the future.

But the current UI is confusing. It seems the only way to add a new profile is to select a predefined profile, change the name and settings and save it. However, if I tried to change the setting of newly created profile and save it again, the profile will be changed instead of creating a new profile.

I think there should be a clearer UI to separate profile creation and edit.

BTW there is also a little button besides the profile name which I have no clue what it does.
image

@Ryan526
Copy link
Contributor

Ryan526 commented May 14, 2024

The button on the right side sets it as your default profile whenever you start a new chat.

To make new profiles I'm pretty sure you need to clone one first, and then change the name otherwise you are just overwriting the currently selected profile.

image

@cuihaoleo
Copy link
Author

Thank you for the hints! I didn't even notice the three dot button... Then it seems I found an unexpected way to add a new profile by modifying an predefined immutable profile.

The current "Chat Profile Setting" dialog is both used for managing profiles and selecting profiles for the chat. I think this is a bit confusing. For example, if I open "Chat Profile Setting" from the current Chat, create a new profile using "Clone Profile" and save it, it has the side effect of changing the profile that the current Chat is associated with, although I may just want to manage the profiles.

It's also confusing how a modified Profile affect existing Chats. It seems changes to a Profile won't retrospectively affect previous Chats. This is completely OK. But if I go back to a previous Chat and open the profile, it shows the snapshot of the old Profile (if I understand correctly), but also shows as if the Profile is changed (i.e., Save button is activated). This is again, because the dialog is used both for managing the profiles and showing the settings applied to that specific chat.

I think it would be better to separate Profile management and profile selection for each Chat. So you create / clone / modify profiles in the Profile management page / dialog. And there is a dropdown, for example, for each Chat to explicitly apply a profile to the Chat. Each Chat is associated to a snapshot of a profile at the time user start the chat or change the profile. If a profile is modified later, the user may get a warning sign when browsing old Chats and view the profile snapshot in a separate Chat-level dialog if they want.

Just some follow-up suggestions. Thank you for the clarification anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants