NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Feature] Add custom 'starter' messages for Masks (via 'bot hello' or more detailed show/hide options for context prompts)

Open GOvEy1nw opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. Not related to a bug, but to the user experience.

Describe the solution you'd like Hiding context prompts from chats with masks looks much cleaner, but then you're left with the default 'Hello! How can I assist you today?' initial message in the chat. It'd make for a much better UX if we could define a custom starting message (Bot Hello) for masks, so that the user can still get an idea of what the mask is intended for, without having to see all of the masks context prompts.

Describe alternatives you've considered Another option would be to allow us to hide or show only specific context prompts within a masks settings, so that we can hide ones that are assigned 'user' or 'system' but show ones assigned 'assistant', or just have a toggle 'eye' button next to each context prompt that we can turn on or off to hide or show that specific context prompt.

GOvEy1nw avatar Oct 26 '23 14:10 GOvEy1nw

Interesting about show context prompts. still on progress, can't be done quickly. since its react (have lots of component) not a vanilla typescript

image image

H0llyW00dzZ avatar Oct 27 '23 02:10 H0llyW00dzZ

Awesome @H0llyW00dzZ , I don't know which way is the easier or better implementation, but one UX sample from elsewhere would be from typingmind's 'character' creation, where they have a 'welcome message' input.

image

The above image also demonstrates some additional features that I think would further enhance the UX in Next Web too, such as:

Character (mask) Description - so the user can see a brief explanation of what that particular mask does when selecting it from the mask list.

Profile Picture - an option to add a 'profile pic' to the mask instead of just an emoji.

Training examples - While we can already do this within Next Web via the context prompts, breaking it out into it's own 'section' in the mask creator makes it a bit more user friendly and clearer.

GOvEy1nw avatar Oct 27 '23 16:10 GOvEy1nw

  • System Instruction it's not really needed as custom and it's way better to use this image image because if used customs it will become bad hallucinations, and injecting system prompts its only in first topic when its starting interaction so yeah not really needed for customizing it

  • Custom Welcome message I'll need to figure it out later because it might require adding and migrating a new state object (local data storage) as a default.

  • Profile pic tbh this one a size its only 16px and not sure if using other mirror for avatar link, not affected to CORS Policy such as emoji (when exporting a messages as image)

H0llyW00dzZ avatar Oct 27 '23 16:10 H0llyW00dzZ

@GOvEy1nw

check this :

https://github.com/Yidadaa/ChatGPT-Next-Web/assets/17626300/eff4ed4e-c1f8-49c1-b3a6-3b3a1c0a7c07

commits logs : https://github.com/Yidadaa/ChatGPT-Next-Web/pull/3045/commits/86c0872a4f3aa981d6716756f8bf1fd0d1c33cba

note : that is better as well hahaha

H0llyW00dzZ avatar Oct 28 '23 03:10 H0llyW00dzZ