Open-Assistant
Open-Assistant copied to clipboard
Submitting tags on the website doesn't work due to the API route not existing
When you go to a task and try to flag a message with one of the checkbox entries, nothing happens. Inspecting the network logs it's calling an API path (/api/v1/text_labels) that doesn't exist.
To fix this it requires:
- [ ] Making a new web api route under
website/src/pages/api/set_label.tsx - [ ] Update the component
website/src/components/FlaggableElement.tsxto call this web API route - [ ] Implement the web API route to forward the tag content to the backend server using the API key
I can take this up if it's free. please add me to the website channel as well.
Does this look fine ?

- should this be updated in the prism db
- should I test it with the backend ? from code review perspective it looked ok
blocked by https://github.com/LAION-AI/Open-Assistant/pull/449
I think this is almost ready to be closed. The only remaining fix is a small UI tweak to make sure the popup closes after the submission completes. I can take that on.
Thank you @melvinebenezer