Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

feat: Allow an option for opting out of training data collection for each chat

Open mtosity opened this issue 2 years ago • 4 comments

Issue: https://github.com/LAION-AI/Open-Assistant/issues/2580

Add a button to support opt-out of training data. A toggle would be nicer but currently can not get "opt-out status" from the list chat, only an PUT API to opt-out

Demo:

https://user-images.githubusercontent.com/40803798/236996856-98898fae-e71c-4de4-9a55-e01e905c564e.mp4

mtosity avatar May 09 '23 04:05 mtosity

Just raised #3107 which should allow you to turn this into a toggle when merged

olliestanley avatar May 09 '23 06:05 olliestanley

Thank you. My idea for this is to introduce a tab on the right sidebar, one for config and one for common settings like title, allow_data_use, hidden, shared (in the future),... and the delete button. Then we will have spaces to explain allow_data_use mean, warn what happens with delete etc... Also avoid popups when clicking delete... Since on mobile, the chat list is already a popup, and triggering another popup is really bad practice IMO.

notmd avatar May 09 '23 15:05 notmd

~I could wrap the whole chat with a react context and the state will be { currentChatId: string}, then~ we could do chat common settings and chat config like you said

Also this will help to build the https://github.com/LAION-AI/Open-Assistant/issues/2745

mtosity avatar May 09 '23 17:05 mtosity

I don't think we need a context for this. This can be implemented per chat seperatly.

notmd avatar May 09 '23 17:05 notmd

What is the status of this? It seems like we can merge in current state and address concerns above in future PR(s), right? It is quite important to get this opt-out into prod asap.

olliestanley avatar May 13 '23 11:05 olliestanley

Update from me: this PR still like the demo, a button to opt-out with a confirm modal. I can do a followup PR on this Sunday

mtosity avatar May 13 '23 14:05 mtosity

Update from me: this PR still like the demo, a button to opt-out with a confirm modal. I can do a followup PR on this Sunday

Thank you! It is now possible to get current opt out state from the backend so we could also convert to a toggle in this follow-up PR :)

olliestanley avatar May 13 '23 17:05 olliestanley

This 'opt out' button is very broken in its current state. If I inspect-element and delete a bunch of elements I can reach it and click it, otherwise it's unreachable, but even then there is no confirmation that the chat's data is actually opt-out of the data set. If this were the case, I would expect something like an indicator or even just that if you reselect the option a second time it might say something like 'opt this chat back into the data set', but alas, nothing of the sort. Should I open a new issue on this? image

Maxuvious avatar Jun 08 '23 16:06 Maxuvious

This 'opt out' button is very broken in its current state. If I inspect-element and delete a bunch of elements I can reach it and click it, otherwise it's unreachable, but even then there is no confirmation that the chat's data is actually opt-out of the data set. If this were the case, I would expect something like an indicator or even just that if you reselect the option a second time it might say something like 'opt this chat back into the data set', but alas, nothing of the sort. Should I open a new issue on this? image

As well, from the screenshot I took, it says "Confirm opting of training data" which is unclear what this means -- opting out, or opting in?

Maxuvious avatar Jun 08 '23 16:06 Maxuvious