Commit Graph

1870 Commits

Author SHA1 Message Date
AbdBarho 77cc96d401 TaskContext as subset of ApiHookState 2023-01-29 11:38:16 +01:00
AbdBarho d7f2a6d0d9 Consolidate API calls to TaskContext 2023-01-29 11:03:07 +01:00
AbdBarho 5b113eadd9 Merge pull request #993 from othrayte/simplify-isloading
website: Simplify isLoading handling
2023-01-29 11:00:48 +01:00
Adrian Cowan 8b152fad1d website: Simplify isLoading handling 2023-01-29 20:48:30 +11:00
AbdBarho aaefac97a8 Merge pull request #970 from othrayte/improve-e2e-test-reliability
website: Improve reliability of e2e tests
2023-01-29 09:18:35 +01:00
AbdBarho 515cb25a95 Merge pull request #967 from LAION-AI/865-storbook-mock-service-worker
Copying from #769 to implement mock service worker
2023-01-29 08:58:05 +01:00
Keith Stevens f8c9503ba6 merging with main 2023-01-29 15:18:49 +09:00
Keith Stevens 7072ae2a8d Merge pull request #971 from othrayte/message-specific-labels
website: request message specific labels for on demand labelling
2023-01-29 15:16:23 +09:00
Keith Stevens 608bc0506a Merge pull request #986 from occupytheweb/981_fix_typos_in_labelling_task
Fix two typos in the labelling translation file
2023-01-29 15:15:07 +09:00
Keith Stevens ab6f11b2a9 Merge pull request #985 from occupytheweb/979_fix_task_placeholder_text
Refactor tasks translation file to have one placeholder per task-type
2023-01-29 15:14:43 +09:00
Keith Stevens b0ee9bea5f Addressing review comments 2023-01-29 15:13:50 +09:00
Adrian Cowan 8d45a989d6 website: request message specific labels for on demand labelling 2023-01-29 12:41:15 +11:00
Alan Jean bcecf257c7 Fix two typos in the labelling translation file
Fixes #981
2023-01-29 05:30:00 +04:00
Alan Jean ccf96fd843 Refactor tasks translation file to have one placeholder per task-type
Fixes #979
2023-01-29 05:30:00 +04:00
Adrian Cowan 21c4a1263a website: Add head to task pages even if no task and improve var name 2023-01-29 12:09:58 +11:00
Yannic Kilcher 5e342cbbdf Merge branch 'main' of github.com:LAION-AI/Open-Assistant 2023-01-29 00:37:32 +01:00
Yannic Kilcher f885e27961 added horizontal layout to inference dev setup 2023-01-29 00:37:28 +01:00
AbdBarho d37d4dcfee Merge pull request #973 from rjmacarthy/fix/locales-messages
website: Fix locale issue on messages/id page
2023-01-28 22:36:03 +01:00
rjmacarthy 86911b4453 Fix locale issue on messages/id page
Pre-commit
2023-01-28 20:25:31 +00:00
Andreas Köpf eb4c41e3c6 send full conversation (including last-message) in label tasks 2023-01-28 20:23:39 +01:00
Andreas Köpf 5747373480 fix typo Unhelful 2023-01-28 19:57:44 +01:00
Andreas Köpf 54503b7e1b reduce userstats cron defaults, fix reference error 2023-01-28 19:10:03 +01:00
Adrian Cowan e0e398fa8b website: Improve reliability of e2e tests 2023-01-29 03:17:44 +11:00
Adrian Cowan ab4dce3f60 website: Support new widget types for labelling (#966)
* website: Support new widget types for labelling

Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels.

Also cleaned up the Task component to fix some rerender issues.

* website: Fix some UI text, adjust yes/no button alignment

* website: Remove left over console.log

Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>

---------

Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-28 17:07:43 +01:00
Andreas Köpf 314c590dd2 include import.py in backend docker image 2023-01-28 16:18:31 +01:00
Andreas Köpf 19116f7251 add optional message_id query param to text_labels/valid_labels endpoint 2023-01-28 15:29:38 +01:00
Andreas Köpf 264e914225 exclude fails_task from default valid labels 2023-01-28 15:07:46 +01:00
Andreas Köpf c8d16285d0 Import message trees from jsonl file (#964)
* add new backlog_ranking tree state

* add first version of import script

* allow activation of trees during import

* add min_active_rankings_per_lang config param

* add settings docstring
2023-01-28 15:05:46 +01:00
Keith Stevens 46d20aff40 Final manual change 2023-01-28 21:13:58 +09:00
Keith Stevens 656d44529b manually applying the lint fixes that get applied in GitHub actions 2023-01-28 20:53:02 +09:00
Keith Stevens 4709223e93 manually applying the lint fixes that get applied in GitHub actions 2023-01-28 20:47:45 +09:00
Keith Stevens 8a69f3541e test 2023-01-28 20:44:14 +09:00
Keith Stevens 602352b73d Dropping changes 2023-01-28 20:39:49 +09:00
Keith Stevens c44e822248 Another exclude attempt 2023-01-28 20:37:25 +09:00
Keith Stevens 464b52a978 Another try 2023-01-28 20:34:21 +09:00
Keith Stevens 346fc3afbe only run next lint over src code 2023-01-28 20:32:29 +09:00
Keith Stevens 8d8860084b Small fix 2023-01-28 20:26:45 +09:00
Keith Stevens 55b0c47f0a Dropping precommit changes 2023-01-28 20:25:01 +09:00
Keith Stevens ccb5dc4c2a fixing pre-commit 2023-01-28 20:23:36 +09:00
Keith Stevens 7bdf8491ca Adding an exclude to the pre-commit 2023-01-28 20:18:58 +09:00
Keith Stevens 2e1abd3f69 Copying from #769 to implement mock service worker 2023-01-28 20:09:04 +09:00
Ikko Eltociear Ashimine b2eb94962c fix readme.md (#965)
successfull -> successful
2023-01-28 08:59:41 +00:00
Keith Stevens c47b8f175d Merge pull request #959 from LAION-AI/oasst-header
Send `x-oasst-user` header to backend
2023-01-28 16:23:07 +09:00
Keith Stevens b3f28d2bf3 Merge pull request #940 from rjmacarthy/refactor/tasks-page
website: Refactor task page routes and repetition
2023-01-28 16:07:42 +09:00
MattAlexMiracle 994dce7c76 language classifier (#963)
Co-authored-by: Alexander Mattick <alex.mattick@fau.de>
2023-01-28 00:56:56 +01:00
Seth cd3bb36db7 fixed nesting (#944) 2023-01-27 23:38:40 +00:00
Andreas Köpf 0903ec5d58 fix quility label addition 2023-01-28 00:03:52 +01:00
Andreas Köpf 8ea53a54eb add quality to valid-labels for simple text labeling tasks (anti-spam) 2023-01-28 00:01:49 +01:00
AbdBarho 4067bec03f Remove unused i18n 2023-01-27 23:12:44 +01:00
dhug 49b5999ce6 Duplicate message reply filter (#958)
* added changes for user specific message dumplication filter, added error codes, and settings variable as described in Draft PR #926, ran precommit

* removed debug statements

* add missing await to async_managed_tx_method

* add 2nd missing await to async_managed_tx_method

* added changes for user specific message dumplication filter, added error codes, and settings variable as described in Draft PR #926, ran precommit

* removed debug statements

* assert task user matches prompt_repository user

* removed assert statments

* moved duplicate_message_filter and message_length check into store_text_reply

* removed old checks in tree_manager
2023-01-27 21:52:19 +00:00