Commit Graph

1769 Commits

Author SHA1 Message Date
Keith Stevens 50e60862b4 Merge pull request #930 from othrayte/fix-storybook
website: Fix errors when running storybook
2023-01-25 20:53:53 +09:00
Adrian Cowan 9813b389f8 website: Fix errors when running storybook 2023-01-25 22:09:27 +11:00
Keith Stevens c7f9d24023 Add a few web files to skip pre-commit rewriting 2023-01-25 18:19:49 +09:00
Andreas Köpf 558b207013 Add /messages/{message_id}/emoji endpoint to toggle, add, remove message emojis (#925)
* add endpoint to set message emojis

* make refresh result optional in db utils
2023-01-25 09:31:20 +01:00
AbdBarho 4146930eb9 Merge pull request #905 from rjmacarthy/chore/localisation-tasks
website: Add localisation to dashboard and tasks pages
2023-01-24 23:12:19 +01:00
Graeme Harris 032a748ba5 677 - Add tree message export (#808)
* Added - Basic functions to export trees for users, export-ready trees and specific tree ids to files

* Added print to logger by default for no file specified

* linting to remove extra imports

* Added cli for exporting trees which are ready to export

Fixed some accidental removal

Updated message lookup to use dict for better perf

* removed unused imports

* changed export flag for including deleted prompts back to include_deleted for better understandability

* Use native collection types list, tuple, dict

* pre-commit fix

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
2023-01-24 22:13:10 +01:00
rjmacarthy c14bcd7c14 Fix dashboard translation keys 2023-01-24 19:20:59 +00:00
Andreas Köpf ffaf5c48d1 907 avoid duplicate labeling & ranking tasks (#923)
* store message_id in message_reactions and task_id in text_labels

* exclude tasks to which users already responded to

* remove test code

* fix join in find_incomplete_rankings_ex
2023-01-24 17:33:15 +01:00
Andreas Köpf d72f7771ca fix HF detoxify call 2023-01-24 17:26:19 +01:00
rjmacarthy 78a7051ce6 Use pre-defined TaskType in TaskInfos configuration
Remove debugger
2023-01-24 14:58:04 +00:00
rjmacarthy 31a0754d21 Rename function to getTypeSafei18nKey 2023-01-24 14:46:47 +00:00
rjmacarthy 54cc7827b6 Add localisation to tasks and dashboard
Fix i18n merge issues

Add blank line dashboard.json

Remove console.log

Alphabeticalise

Pre-commit

Fix i18n key warnings add util function

Fix Task.storties.tsx

Revert pass duplicate prop
2023-01-24 10:41:12 +00:00
AbdBarho 17a685262d Merge pull request #919 from LAION-AI/812-link-to-guide-on-dashboard
Adding an help link to the docs on the dashboard
2023-01-24 10:28:30 +01:00
AbdBarho d01e3f4400 Merge pull request #918 from LAION-AI/915-more-languages
Adding a few top languages to the supported languages
2023-01-24 10:27:30 +01:00
Andreas Köpf 50421dfada retry user lookup in case of UniqueViolation (ix_user_username conflict) 2023-01-24 09:57:45 +01:00
Keith Stevens b0cb6cf047 Adding an help link to the docs on the dashboard 2023-01-24 16:26:24 +09:00
Keith Stevens 3ddaad9d81 Adding a few top languages to the supported languages 2023-01-24 16:18:30 +09:00
AbdBarho b208ffb00a Send lang parameter the correct way (#901) 2023-01-24 10:55:06 +09:00
Keith Stevens 25b8c6a085 Merge pull request #903 from notmd/leaderboard_enhancement
Show more stats in leaderboard table
2023-01-24 10:54:48 +09:00
Jordi Smit 8c632f9ef9 add lang filter option to message endpoints (#902)
* add lang filter option to message endpoints

* add lang filter option to frontend_users endpoints

* move lang param before api_client

Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com>
2023-01-23 21:46:59 +00:00
Andreas Köpf b7fab83d36 remove unused crud baseclass 2023-01-23 20:49:50 +01:00
notmd 0c890ae726 fix disablePagination logic 2023-01-24 02:09:33 +07:00
notmd b7056eccd1 Show more stats in leaderboard table 2023-01-24 02:04:00 +07:00
AbdBarho 89f9e5a887 Merge pull request #872 from othrayte/likert-like-labelling
website: Switch to likert style labeling
2023-01-23 18:19:03 +01:00
notmd 7f993b670c Merge branch 'main' into leaderboard_enhancement 2023-01-23 21:14:29 +07:00
notmd 037ec3c96e wip 2023-01-23 21:10:56 +07:00
Andreas Köpf cd2e883e9d remove empty file in root folder 2023-01-23 14:32:26 +01:00
Oliver Stanley 40dbe55a90 Categorise notebooks as documentation to improve project language breakdown (#860) 2023-01-23 13:30:29 +00:00
Yada Pruksachatkun d1d185edb6 Adding MT Sample clinical note dataset (#804)
* Adding clinical note dataset

* Fix flake8 issues

* Fix prepare.py for straggling commas, replace assistant with Rosey in prompt

Co-authored-by: Yada P <yadapruk@Tests-MacBook-Pro.local>
2023-01-23 14:24:43 +01:00
Keith Stevens cb7b3e190a Merge pull request #887 from notmd/typesafe_i18n
Typesafe i18n
2023-01-23 21:53:53 +09:00
notmd 957bd25793 fix wrong import 2023-01-23 19:30:22 +07:00
notmd 8bd9187a7a Merge branch 'main' into typesafe_i18n 2023-01-23 19:29:24 +07:00
Keith Stevens 2c0e86c29b Merge pull request #897 from othrayte/highlight-target-message
website: Highlight target message
2023-01-23 21:02:58 +09:00
Adrian Cowan a6d23821be website: Highlight target message 2023-01-23 22:49:30 +11:00
Adrian Cowan 25cf9eb953 website: Switch to radio buttons for likert style labeling 2023-01-23 21:51:19 +11:00
Adrian Cowan 007773a3f5 website: Switch to likert style labelling 2023-01-23 21:51:17 +11:00
AbdBarho 274d03c5f0 Merge pull request #894 from LAION-AI/language-names-in-language
Improve how we present language names on web
2023-01-23 11:37:15 +01:00
Keith Stevens 219ef2cb8e Present locales with their locale language rather than the current locale language 2023-01-23 18:29:43 +09:00
sanagnos 0cfc6a3d10 Merge pull request #885 from LAION-AI/sft-formatting
Fix prefix formatting
2023-01-23 09:51:45 +01:00
theblackcat102 b8990d9078 [fix] remove spaces in format_pair 2023-01-23 02:48:47 +00:00
Keith Stevens 7a279ad1c8 Merge pull request #890 from LAION-AI/lang
Send language when fetching available tasks
2023-01-23 08:31:26 +09:00
AbdBarho 9328fa53d2 Merge pull request #886 from notmd/lucide
Migrate all icons to Lucide
2023-01-22 22:12:45 +01: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
Andreas Köpf 43e7d4846b lt->before, gt->after for cursor endpoints 2023-01-22 18:43:38 +01:00
Andreas Köpf 0b8ed52102 fix desc ordering of message cursor endpoints 2023-01-22 18:37:09 +01:00
notmd 627c4843b5 remove unused code 2023-01-22 23:47:11 +07:00
notmd 80a7ad0154 typesafe i18n 2023-01-22 23:28:27 +07:00
notmd 204e11b400 migrate all icon to lucide 2023-01-22 21:02:52 +07:00
theblackcat102 736f46fb00 [fix] prosocial dialogue format error 2023-01-22 14:00:20 +00:00