Adrian Cowan
8d45a989d6
website: request message specific labels for on demand labelling
2023-01-29 12:41:15 +11:00
AbdBarho
3c791efb79
Move api calls to oasst_api_client
2023-01-27 22:33:04 +01:00
AbdBarho
9429590a81
Move to factory
2023-01-27 22:33:04 +01:00
AbdBarho
cdb9f2da4e
Send x-oasst-user header
2023-01-27 22:33:04 +01:00
AbdBarho
b07c7271b8
Merge pull request #960 from notmd/fix_leaderboard_limit
...
Pass correct param when fetch leaderboard
2023-01-27 21:20:11 +01:00
Adrian Cowan and AbdBarho
356fd775e9
Add emoji reactions and reporting for messages (website) ( #952 )
...
* website: Move labelling to message ... menu and add reporting and emoji reactions
We can add more emoji easily in future, we just need to pick ones that we have consistent icons for.
Also added "open in new tab" option so that messages can be navigated to from tasks on mobile.
* website: Make new label and report strings translatable.
* website: Move report api call to oasst client
* small fixes
* pre-commit
---------
Co-authored-by: AbdBarho <ka70911@gmail.com >
2023-01-27 20:52:40 +01:00
notmd
ce3b3c7ecc
pass correct param when fetch leaderboard
2023-01-28 00:17:31 +07:00
notmd
2e2a57cf10
wip
2023-01-25 16:36:06 +07:00
notmd
97cd57a300
fix test
2023-01-25 16:02:20 +07:00
notmd
94d2ed820e
Refactor OasstApiClient
2023-01-25 15:04:39 +07:00
AbdBarho
b208ffb00a
Send lang parameter the correct way ( #901 )
2023-01-24 10:55:06 +09:00
notmd
b7056eccd1
Show more stats in leaderboard table
2023-01-24 02:04:00 +07:00
AbdBarho
51afea69ec
Send language when fetching available tasks
2023-01-22 21:57:21 +01:00
notmd
b8672e5986
rename gt and lt to before and after ( #888 )
2023-01-22 19:51:07 +01:00
notmd
7025b174d2
Merge branch 'main' into 766_admin_enhancement
2023-01-22 17:22:31 +07:00
AbdBarho
43732442fc
Merge pull request #881 from LAION-AI/854-language-preferences
...
Adding language preferences for the UI and tasks
2023-01-22 11:03:47 +01:00
notmd
fa5702ac9e
Merge branch 'main' into 766_admin_enhancement
2023-01-22 14:07:19 +07:00
ml729
a2932d1613
unify 3 status endpoints and move status fetches to oasst_api_client
2023-01-21 12:55:31 -05:00
notmd
0cc6b3b8ae
Merge branch 'main' into 766_admin_enhancement
2023-01-21 22:10:15 +07:00
Keith Stevens
7274512c2f
Implementing core of setting user languages and fetching language specific tasks
2023-01-21 21:36:37 +09:00
Keith Stevens
b9ce2fb140
Ensuring localization works across all pages and fix user data fetching in admin view
2023-01-21 17:56:29 +09:00
notmd
7eb5023e82
use cursor endpoint
2023-01-21 14:34:22 +07:00
notmd
7099ff4dd0
Merge branch 'main' into 766_admin_enhancement
2023-01-20 23:12:43 +07:00
notmd
99d9ee1937
Merge branch 'main' into 766_admin_enhancement
2023-01-20 23:08:59 +07:00
AbdBarho
e80a69dd8a
Fetch available tasks
2023-01-20 12:16:17 +01:00
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
notmd
801ad553b8
Allow to filter user by display_name
2023-01-18 15:19:00 +07:00
Keith Stevens
0a36e459d7
Guarantee all users get a name ( #800 )
...
* Guarantee all users get a name and it is used when talking to the backend
* Small code cleanup
2023-01-17 21:12:48 +01:00
Keith Stevens
cf29f544eb
Merge branch 'main' into 763-make-labels-required
2023-01-17 08:58:29 +09:00
AbdBarho
6c01205b52
Small website fixes
2023-01-16 19:22:04 +01:00
Keith Stevens
a2f68c7259
Require labels to be set on labeling task and setting up basic storybook stories for tasks
2023-01-16 18:51:01 +09:00
Keith Stevens
5e814eaa4c
Merge pull request #732 from LAION-AI/673-admin-page-pagination
...
Supporting user pagination on the web admin view
2023-01-16 08:39:15 +09:00
AbdBarho
ab63150004
Use new leaderboard api
2023-01-15 14:07:30 +01:00
Keith Stevens
35e92dbd15
Supporting user pagination on the web admin view
2023-01-15 15:26:12 +09:00
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
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
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