Andreas Köpf
c2fa476904
Add user emoji augmentation for message queries ( #937 )
...
* add disposition to text labeling tasks
* add emoji stats to ConversationMessage
* add user emoji augmentation for message queries
* add auth_method,username to message queries (query emoji status)
* add auth_method+username for single message
* fix param name typo
* only join rows when message.emojis != JSON.NULL
* formatting
* make sure emojis and user_emojis default to {}, []
* remove init_user(), use fresh empty default collections
2023-01-26 14:29:54 +00:00
MattAlexMiracle
5d4f74f9d6
Ranked pairs ( #933 )
...
* commented out legacy numerical solver
* added comments and task_scheduling for selecting which task to serve to users
* removed standalone task weighting
* pre-commit hook rerun
* fixed ranking
* fix index error
* ranking fix
* fix typo
Co-authored-by: Alexander Mattick <alex.mattick@fau.de >
Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com >
2023-01-26 09:50:25 +00:00
kayjay
1eb3f05c44
PR: Create notebook to convert r/changemyview data ( #839 )
...
* (#737 ) Create notebook to convert r/changemyview data into cleaner format
2023-01-26 09:49:03 +00:00
Keith Stevens
1e88166401
Merge pull request #936 from othrayte/simple-spam-task
...
website: Make the spam question simple again
2023-01-26 17:13:48 +09:00
Keith Stevens
bf082a96bb
Merge pull request #935 from othrayte/message-stories
...
website: Add storybook stories for messages
2023-01-26 17:12:55 +09:00
Keith Stevens
cccf59dbd4
Merge pull request #928 from notmd/refactor_oasst_api_client
...
Refactor `OasstApiClient`
2023-01-26 17:11:41 +09:00
Adrian Cowan
58a07dd05d
website: Make the spam question simple again
...
This is an initial quick fix to get back simple buttons. This should be followed up with some refactoring or maybe a real spam task.
2023-01-26 18:11:41 +11:00
Adrian Cowan
63dc5d170f
website: Add storybook stories for messages
2023-01-26 17:24:17 +11:00
Andreas Köpf
4d7be8ebb9
wait for pending message reviews before entering ranking state
2023-01-25 18:18:21 +01:00
Andreas Köpf
39a107e851
Use intersection of ranking ID sets, add fetch_siblings()
2023-01-25 16:21:58 +01:00
Vechtomov
1020dcb024
add retry_scoring_failed_message_trees cli command ( #931 )
2023-01-25 13:40:36 +01:00
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
notmd
de661e04d1
pass ignore-path arg
2023-01-25 17:48:29 +07:00
notmd
05f2e5c534
Merge branch 'main' into refactor_oasst_api_client
2023-01-25 16:36:32 +07:00
notmd
2e2a57cf10
wip
2023-01-25 16:36:06 +07:00
Keith Stevens
c7f9d24023
Add a few web files to skip pre-commit rewriting
2023-01-25 18:19:49 +09:00
notmd
97cd57a300
fix test
2023-01-25 16:02:20 +07:00
notmd
31630be319
fix test & build
2023-01-25 15:48:53 +07: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
notmd
94d2ed820e
Refactor OasstApiClient
2023-01-25 15:04:39 +07: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