James Melvin Ebenezer

Results 12 issues of James Melvin Ebenezer

Modify textFlagLabels in FlaggableElement.tsx to be coherent with the backend using the API (yet to be created) https://github.com/LAION-AI/Open-Assistant/blob/69bc799cd9bdb80bcaa8388368b75551d573eac0/oasst-shared/oasst_shared/schemas/protocol.py#L263

backend
website
UI/UX

An update from the frontend **/api/set_label** updates the **task_labels** table (Postgres DB) in the backend. multiple clicks to report a messages creates that many entries in the DB **User reports...

bug
backend

### Changes - Used the API provided in https://github.com/LAION-AI/Open-Assistant/pull/498 to retrieve the valid_labels. - This API is called on every Task Load (Decided on Discord with @fozziethebeat ) ### Test...

Discuss and improve the handling and logging of the database errors. For example if there is a rollback error should it be propagate to the original request ? etc ..

backend

Retry on transactions must be only in the scope of Outer Commits Flush commands that raise SerializationFailure must let it pass for the outer Commit to handle retry Changes required...

bug
backend

user_streak , detoxify and feature extraction make the main process very slow. Use redis-queue based worker implementation for these tasks

backend

1. Remove streak_last_day_date & streak_days from UserStats and add them to User (add a server default current_timestamp() for streak_last_day_date) + add a nullable additional last_activity_date datetimetz column to User. 2....

backend

### Issue Running ansible-playbook -i test.inventory.ini deploy-to-node.yaml locally fails TASK [Run the oasst oasst-backend] ***************************************************************************************************************************** fatal: [dev]: FAILED! => {"changed": false, "msg": "Error pulling ghcr.io/laion-ai/open-assistant/oasst-backend - code: None message: no...

backend

### Summary Made the changes for Celery Workers - APIs toxicity and Feature extraction - Periodic Tasks like user streak update ### Some Issues - HF some times returns 503...

backend

Added support for multiple platforms for ghcr.io images. When running this image on an x86_64 / amd64 machine, the amd64 variant is pulled and run. Reference: https://docs.docker.com/engine/reference/commandline/buildx_build/#platform https://docs.docker.com/build/building/multi-platform/