[HN Gopher] Chat-UI, the codebase of HuggingChat, is open sourced
       ___________________________________________________________________
        
       Chat-UI, the codebase of HuggingChat, is open sourced
        
       Author : osanseviero
       Score  : 97 points
       Date   : 2023-05-11 19:54 UTC (3 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | voz_ wrote:
       | ATM ChatGPT is tedious.
       | 
       | I think there are two things we can take from discord/fb
       | messenger/slack to improve it:
       | 
       | 1) ChatGPT and this thing needs threads. I want to be able to
       | take a conversation and fork it - with separate conversational
       | memories/context after a point of forking. I want to be able to
       | take a message, go "reply" to it, and be able to do that as many
       | times as I want, per message, with each reply being treated
       | independently of all other replies. It is insanely useful to be
       | able to take a conversation / debugging session / etc into a
       | different direction experimentally without risking the entire
       | state of the conversation thus far.
       | 
       | 2) I want to be able to react to the messages. Thumbs up / down,
       | agree/ disagree, etc - a small set of reactions to drive behavior
       | would be huge, and would cut down on a lot of back and forth
       | verbosity that plagues these.
        
         | generalizations wrote:
         | ChatGPT (at least, the paid version) does do this. But the UI
         | doesn't emphasize it very much, and there's no way to visualize
         | the tree of conversations.
        
           | voz_ wrote:
           | Where does it do this?
        
             | zora_goron wrote:
             | You can edit a message you've already sent by hovering over
             | it and clicking the "edit" icon, which will create a new
             | "fork" in the conversation. You can toggle between forks as
             | needed too.
        
               | robbiep wrote:
               | I dont think you can jump back though, right? If you
               | change a previous prompt, you're just resetting to that
               | point and creating a new thread at the expense of the old
               | one? I use this feature but have coke to the conclusion
               | this is how it works. Have you seen differently?
        
               | zora_goron wrote:
               | Once you've changed a prompt, a pair of arrows show up to
               | the left of the prompt allowing you to toggle between the
               | new and old prompts!
        
             | Jarwain wrote:
             | There are thumbs up and thumbs down to the right of the
             | response, next to the clipboard.
             | 
             | If you hover over your message, an edit button appears.
             | Editing your message fork the conversation, and creates a
             | pagination thing to the left of the user icon.
        
               | voz_ wrote:
               | Oh, sorry, this falls short of what I was asking for:
               | 
               | For the thumbs, this does not seem to change the
               | conversation in any way - ChatGPT does not react.
               | 
               | For editing (this is new to me, so TIL, ty!) - it seems
               | to share memory across threads in a few naive tests I
               | just did, so almost there, but not entirely.
        
         | jumploops wrote:
         | ChatGPT allows you to do this, using the edit prompt and arrow
         | buttons to switch between chat "trees"
         | 
         | With that said, I was frustrated with this enough to build my
         | own tool that allows you to branch/fork any conversation into
         | an entirely new chat ("seeding").
         | 
         | Overtime we've added agents, multiplayer, memory, document
         | upload etc. but the most used feature is still the
         | branching/seeding concept.
         | 
         | Happy to share more details if curious!
        
           | digdugdirk wrote:
           | I'd absolutely be interested to hear more about the tool
           | you're referring to!
           | 
           | How do you structure the memory for your chats? Is that a
           | separate feature from the document upload?
        
           | dennisy wrote:
           | Yeah please share!!
        
       | tke248 wrote:
       | Ok smart people how can I create a dropdown list at the top of
       | this that will allow me to select my onsite Llama instance or use
       | Chatgpt api instead
        
         | a_t48 wrote:
         | Have you tried asking ChatGPT?
        
       | abidlabs wrote:
       | Just a matter of time, until plugins are supported!
        
       | minimaxir wrote:
       | The UI is essentially a replication of OpenAI's ChatGPT front-
       | end, which is good, although I wonder if there can be some
       | innovation there.
       | 
       | That's one of the perks of open sourcing it, I suppose.
        
         | itsuka wrote:
         | I maintain a list of open source UIs built on top of OpenAI API
         | to explore unique features and integrations that others have
         | developed: https://github.com/itsuka-dev/awesome-chatgpt-ui.
         | Web version, which has more information:
         | https://atorie.xyz/crafts/plurality
         | 
         | In addition to the usual speech synthesis/recognition and
         | embedding/vector search features, there are also:
         | 
         | - Node layout
         | 
         | - Multiple LLMs and parallel output
         | 
         | - 3D avatar
         | 
         | - Selection + custom context menu (for extensions)
         | 
         | - Native app integration such as Siri and Calendar (for
         | Shortcut in Apple ecosystem)
         | 
         | - etc. (I'm sure there are many other interesting UIs and
         | features that I missed.)
        
       | russellbeattie wrote:
       | What's with the +filenames? I haven't seen that before. Is it
       | even a legal filename?
       | 
       | Example: _chat-ui /src/routes/settings/+page.server.ts_
        
       | javajosh wrote:
       | FYI it's svelte over mongo.
        
       ___________________________________________________________________
       (page generated 2023-05-11 23:01 UTC)