Commit Graph

14 Commits

Author SHA1 Message Date
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
Adrian Cowan 5054e19e93 website: Remove next task button and load new task immediately
Also disable the task inputs while the task is submitted and before the new task is ready in case the users network is slow or something.
2023-01-13 23:40:16 +11:00
Adrian Cowan 15e1203be9 website: Refactor remaining task pages to use Task.tsx 2023-01-10 21:44:22 +11:00
AbdBarho 54a042d002 Centralize task types 2023-01-10 06:51:59 +01:00
Keith Stevens 8eddd769b6 Merge pull request #552 from LAION-AI/use-hooks-evaluate
Use hooks for "evaluate" tasks
2023-01-09 09:23:24 +09:00
AbdBarho 94151f75e1 shorter dedupe duration 2023-01-08 20:16:10 +01:00
AbdBarho 30a034988f Validate on mount 2023-01-08 19:56:56 +01:00
AbdBarho d0042cebb3 Use hooks for "evaluate" tasks 2023-01-08 19:50:49 +01:00
AbdBarho ad91bfe201 Use hooks for "create" tasks 2023-01-08 19:19:52 +01:00
AbdBarho d99c0e2d2f Use enum for type definition 2023-01-08 12:12:15 +01:00
AbdBarho c9a3813b8f Add Label Assistant Reply Task 2023-01-08 12:07:26 +01:00
AbdBarho d4bf2be291 Updating task schema according to backend 2023-01-08 10:58:24 +01:00
AbdBarho f7dceee87a Add LabelPrompterReplyTask 2023-01-08 10:52:57 +01:00
AbdBarho a19e0fa085 Extract generic code out of labeling task 2023-01-08 10:52:57 +01:00