Open-Assistant
Open-Assistant copied to clipboard
Save source of the task's response (website, discord-bot)
The backend should know the source of the response, whether it's coming from a web UI or from the discord bot.
This will require modifications both on the backend and the frontends.
We already store the api_client_id with each message. We simply need a new frontend_type field in the api_client table, e.g. in the ApiClient class.
This is actually a good first-issue if someone wants to work on the backend. Beside the str member-addition as uasal an alembic migration script is necessary.
Non-contributors: Please write a short comment that you want to take this task .. we will then assign it to you.
I would like to try it, to maybe understand the backend development process better :)
Just to clarify I need to update the database (e.g.: via Adminer) then run alembic revision -m "..." and update oasst-shared/api_client.py as well as backend/oasst-backend/models/api_client.py (?)
Did I miss something?
made a draft (#483)
can we close this?
can we close this?
Think it has a bug which will be fixed by #526 then once that's merged we can close this
closing, since #526 is merged