Commit Graph

129 Commits

Author SHA1 Message Date
Andreas Köpf 7b29582cbb add to protocol.Message 2022-12-31 19:23:54 +01:00
Andreas Köpf f151fa45c8 Merge branch 'main' of https://github.com/AlexanderHOtt/Open-Assistant into AlexanderHOtt-main 2022-12-31 12:54:16 +01:00
Igor Miagkov ef3a35ff9c fixes 2022-12-31 10:31:31 +01:00
Igor Miagkov 6d98ba1f75 fix alembic migration 2022-12-31 10:31:31 +01:00
Igor Miagkov f126b21bb3 adjust names and types to new naming 2022-12-31 10:31:31 +01:00
Igor Miagkov 475f48b195 stats api method 2022-12-31 10:31:31 +01:00
Igor Miagkov 8e1d80956a split message api endpoints 2022-12-31 10:31:31 +01:00
Igor Miagkov 13d01b5a2f management api 2022-12-31 10:31:31 +01:00
Alex Ott 1bdd02c821 fix breaking api changes 2022-12-30 22:52:57 -08:00
Andreas Köpf 42e9a77456 further pre-commit fixes 2022-12-31 00:18:55 +01:00
Andreas Köpf 3fe9c7a026 fix formatting in models/text_labels.py 2022-12-31 00:18:55 +01:00
Andreas Köpf 534c99610b missing 'user' -> 'prompter' replacement 2022-12-31 00:18:55 +01:00
Andreas Köpf ee14554e1b role='user' -> role='prompter' 2022-12-31 00:18:55 +01:00
Andreas Köpf 26ae43e945 additional forgotten renamings 2022-12-31 00:18:55 +01:00
Andreas Köpf 5f16a8f780 make sure alembic migration works in both directions 2022-12-31 00:18:55 +01:00
Andreas Köpf 048802fa1a add alembic migration script 2022-12-31 00:18:55 +01:00
Andreas Köpf 8b225430a4 BREAKING-CHANGES: Renaming several models/database objects + API protocol
person -> user
work_package -> task
post -> message
thread -> message_tree
2022-12-31 00:18:55 +01:00
alexandrelefourner 35e0c32a08 Updating work_package to task 2022-12-31 00:18:55 +01:00
alexandrelefourner d118f4e332 Renaming thread to message_tree 2022-12-31 00:18:55 +01:00
alexandrelefourner 7743459220 Renaming post to message 2022-12-31 00:18:55 +01:00
alexandrelefourner 9a1a4876f0 Rename of person to user 2022-12-31 00:18:55 +01:00
Alex Ott b81eeebe9e switch to using pre-commit 2022-12-30 04:35:45 -08:00
Alex Ott 65c078fb9f pre-commit changes 2022-12-30 04:12:54 -08:00
Igor Miagkov 7867466700 added trusted api client flag 2022-12-30 00:35:30 +01:00
Yannic Kilcher 3ab2e01b21 Merge pull request #128 from GraemeHarris/add-lang-column
Added column to post table for lang with US english set to default.
2022-12-29 21:33:41 +01:00
Yannic Kilcher 540f2d58c3 Merge pull request #155 from mjagkow/feature-collective-tasks
Added support for collective tasks
2022-12-29 21:18:14 +01:00
Igor Miagkov acfcd7b8d2 Fixed warning: SAWarning: Coercing Subquery object into a select() for use in IN() 2022-12-29 18:59:44 +01:00
Igor Miagkov efafc0173a added support for collective tasks 2022-12-29 21:32:17 +04:00
Graeme Harris e5c32eda21 Updates from linting 2022-12-29 19:26:30 +02:00
Igor Miagkov 4ead078f89 Added readable exception if no posts were found for task 2022-12-29 17:16:44 +01:00
Andreas Köpf c5053ed6c9 fix typo: uesr->user 2022-12-29 16:13:30 +01:00
Andreas Köpf 833549f212 add two dummy user replies depth>1 2022-12-29 15:58:35 +01:00
Andreas Köpf 30db7254c7 rename flag to DEBUG_USE_SEED_DATA default False, update compose config 2022-12-29 15:58:35 +01:00
Andreas Köpf b66d05bdf2 add missing db arg 2022-12-29 15:58:35 +01:00
Andreas Köpf c2cb2562d5 add db seed-data check on backend startup 2022-12-29 15:58:35 +01:00
GraemeHarris 8046a4a15b Merge branch 'main' into add-lang-column 2022-12-29 09:52:11 +02:00
Andreas Köpf a4e5f566a8 disable summarize_story & rate_summary tasks, we focus on conversation tasks 2022-12-29 01:31:36 +01:00
Andreas Köpf 11f249101f Merge branch '55_backend_HTTP_error_feedback' into main 2022-12-29 00:06:22 +01:00
Andreas Köpf 30e65b250f remove old error_codes file 2022-12-28 22:41:39 +01:00
Graeme Harris 00ebf90871 Added column to post table for lang with US english set to default. Included alembic migration 2022-12-28 23:25:29 +02:00
Igor Miagkov c4d5b58922 Updated prompt registry for random tasks sampling 2022-12-28 22:23:16 +01:00
Igor Miagkov abf2fcc1c8 Migrations for task sampling 2022-12-28 22:23:16 +01:00
Igor Miagkov 2786ad6132 Sampling random posts for tasks 2022-12-28 22:23:16 +01:00
Andreas Köpf 0c3103838b add OasstErrorCode IntEnum, use http.HTTPStatus enum 2022-12-28 19:25:39 +01:00
Andreas Köpf 36c74e238c rename handler function to 2022-12-28 14:22:53 +01:00
Andreas Köpf dda668bcd5 Add OasstError exception class and exception filter 2022-12-28 14:10:15 +01:00
Andreas Köpf 602ec355cd moved workpackage-lookup for text-replies to prompt-repository 2022-12-27 22:37:48 +01:00
Andreas Köpf f74fe68f87 add journal table and JournalWriter helper class 2022-12-27 22:37:48 +01:00
Andreas Köpf f8c3008003 Merge pull request #57 from MattAlexMiracle/main
user scoring and question selection
2022-12-26 09:47:12 +01:00
Andreas Köpf 4b842674b8 Merge pull request #60 from LAION-AI/40-introduce-text-labels-to-the-protocol
added text labels to the API and the backend
2022-12-26 09:34:00 +01:00