Commit Graph

24 Commits

Author SHA1 Message Date
Keith Stevens e1309b1d5a Adding some function comments 2023-01-14 17:05:24 +09:00
Keith Stevens 8203406fa1 Merging with main changes 2023-01-14 17:03:18 +09:00
Keith Stevens ddfb497764 Fixing some lint errors and adding a TODO 2023-01-14 16:57:06 +09:00
Keith Stevens f9c8d1dd81 Combining the admin API routes with the backends user routes 2023-01-14 16:55:14 +09:00
Keith Stevens 5732952b3e Udpating the leaderboard components to use real data 2023-01-14 10:27:38 +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
Keith Stevens 34a1715923 Cleaning up a suite of eslint warnings 2023-01-10 13:02:17 +09:00
James Melvin 420b3739eb fix: retrieval of valid_labels from API to populate the TEXT_LABEL_FLAGS in FlaggableElements.tsx 2023-01-09 22:31:44 +05:30
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
Keith Stevens e69715fbec Fixing some lint errors with the new admin features 2023-01-08 20:21:13 +09:00
Keith Stevens fb0771995d Addressing review comments 2023-01-08 17:54:30 +09:00
AbdBarho 53814d77ab Label Initial Prompt 2023-01-07 17:24:43 +01:00
Jack Michaud 239c10c2dc fix: export OasstError 2023-01-06 10:21:23 -05:00
Jack Michaud 6eca350826 Merge branch 'main' of github.com:LAION-AI/Open-Assistant into jm/tests-for-javascript-oasst-api-client 2023-01-06 10:17:47 -05:00
Jack Michaud a9a3fc4e4a fix: handle OasstError correctly in OasstApiClient 2023-01-06 10:15:07 -05: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 695e1f3932 refactor: avoid using Response.clone() 2023-01-04 14:17:02 -05:00
Jack Michaud 91099657fe refactor: move new task's oasst api fetching into OasstApiClient 2023-01-03 17:11:28 -05:00
AbdBarho ece0227aec Use DnDKit for ranking tasks 2022-12-31 09:19:37 +01:00
AbdBarho 0ffbe625f5 Lint files 2022-12-29 13:00:54 +01: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