Improve managing history on Ask discourse

AI-generated summary

The discussion on improving history management in Ask Discourse revolves around enhancing user control over chat conversations. jrgong suggests adding features to delete or archive conversations due to cluttered history. mcwumbly proposes search and bookmarks as potential solutions, referencing a related community thread. sam notes that the core implementation is more advanced and questions the feasibility of porting it to Ask Discourse, highlighting the ChatGPT-style interface as a model. awesomerobot confirms that the custom implementation has been replaced with the standard AI plugin, enabling better organization and reduced maintenance. They also confirm that removing conversations is technically feasible, as the API for managing chat DMs already supports inline buttons in the sidebar.

It would be nice on Ask discourse to be able to delete and/or archive conversations. My chat history is already a bit bloated and it’s hard to keep track. So some housekeeping features would be nice :slight_smile:

Other than that, amazing feature, guys!!! :slight_smile:

6 Likes

@sam and @awesomerobot this is an interesting request.

I am not sure we imagined people wanting to reference prior conversations on Ask when we first got it going, but I can see how it’d be helpful for those who use it frequently.

I can imagine handling this in a number of ways, but I wonder if surfacing search and/or bookmarks there as a starting point might make sense?

3 Likes

Another approach to this from the community here:

2 Likes

The implementation in core is a bit better than the one we have on “ask”

@awesomerobot I wonder if there is an easy way to port over to the format /discourse-ai/ai-bot/conversations uses? (it splits stuff in dates)

I also think there is merit in allowing users to easily remove conversations from the sidebar, this control on ChatGPT is great that way:

4 Likes

Yeah ask.discourse.com was built before we moved these features into the AI plugin, so step 1 is removing our custom implementation… that’s done now DEV: remove custom homepage and replace with our built-ai AI conversations page by awesomerobot · Pull Request #28 · discourse/discourse-ask-theme · GitHub

So now we’re using /discourse-ai/ai-bot/conversations and have the “real” sidebar with sectioning. This results in a lot less custom stuff to maintain too, which is nice.

Removing conversations should be doable as a follow-up, I think we already have an API for inline buttons in sidebar items because we use them to manage chat DMs

4 Likes