Commit Graph

18 Commits

Author SHA1 Message Date
Keith Stevens df1eca4eaf Ensuring the website uses the most specific auth type with the backend when fetching and interacting with tasks 2023-01-19 17:21:41 +09:00
Keith Stevens b02429c1f7 Tag in the user table when they are new and include it in the user session 2023-01-14 18:55:28 +09:00
rjmacarthy 2a8d38f058 Refactor fetch and post to use axios
Fix set_label id missing in payload use frontend_message_id

pre-commit

Refactor api fetcher/poster to axios create

lint

Remove string literal for path

Revert oasst_api_client.ts

Fix warning httpStatusCode OasstError optional parameter

Refactor remove api base url for local api

Lint add blank line
2023-01-13 17:05:10 +00:00
Keith Stevens 268cd7d7b5 Forwarding the real task id in backend interactions and ensure the labeling task works 2023-01-11 19:32:52 +09:00
Keith Stevens d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00
Adrian Cowan f277e2da0f Prompt for reason for skipping.
Note: skipping is only half implemented for labelling and summarisation tasks as those probably need to be changed to use the new Task component.
2023-01-09 00:02:43 +11:00
AbdBarho 53814d77ab Label Initial Prompt 2023-01-07 17:24:43 +01:00
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
klotske a4e8d829b1 Implement interaction in oasst_api 2023-01-05 23:27:44 +03:00
Jack Michaud bdcfae54fc docs: update TODOs to include issue numbers 2023-01-04 08:04:27 -05:00
Jack Michaud 7b5f702a00 docs: add TODOs 2023-01-03 20:54:49 -05:00
Keith Stevens dbfa77e8b7 Fixing some small merge issues and ensure docker runs the backend properly 2023-01-03 15:01:24 +09:00
croumegous a0b900559c chore: eslint plugins to sort import and remove unused import automatically 2022-12-31 18:22:06 +01:00
Keith Stevens b8fcb4df8f Update all the task pages to fetch a new taks after submission 2022-12-31 18:24:50 +09:00
Desmond Grealy 3aaf45a8c8 ("post_rating" -> "message_rating") ("post_ranking" -> "message_ranking") 2022-12-30 17:37:28 -08:00
Desmond Grealy 5b787b8ad7 (post_id -> message_id), (user_post_id -> user_message_id) 2022-12-30 17:31:09 -08:00
Keith Stevens c056a31d2f Ensuring the website can be built and deployed fully in docker. This includes an end to end docker-compose configuration as a simple demonstration. 2022-12-20 20:28:53 +09:00
Keith Stevens 2aacc542d3 Integrate the new UI pages with the working backend for the rate_summary task. This also migrates some pages to properly link up authorization flows. Some cruft is still in 2022-12-19 15:12:45 +09:00