dhug
3136b2e120
added similarity functions and ran precommit ( #633 )
2023-01-11 20:53:53 +01:00
dhug
9421488619
Add realistic seed data json and update seed_data to properly label task payloads ( #613 )
...
* modifies seed_data script to properly label taks types as prompteror assistant
* added realistic data json
* pre-commit changes
* update realistic_seed_data.json 5000 messages -> 450 messages
* pre-commit changes
* modifies seed_data script to properly label taks types as prompteror assistant
* added realistic data json
* pre-commit changes
* update realistic_seed_data.json 5000 messages -> 450 messages
* pre-commit changes
* changed DEBUG_USE_SEED_DATA_PATH to realistic_seed_data, merged with main, ran pre-commit
* Delete 2023_01_10_2052-06cc56417e69_.py
Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com >
2023-01-11 18:48:14 +01:00
Andrew Maguire
b1fbd0fa96
Devcontainer backend dev ( #608 )
...
add backend-dev devcontainer and extract openapi.json to docs/
2023-01-11 17:09:02 +01:00
Andrew Maguire
991ff68d0a
add andrewm4894 to notebooks/ codeowners ( #626 )
...
add andrewm4894 to `notebooks/` codeowners
2023-01-11 16:34:29 +01:00
Tom Zehle
011c023e41
added data_augment.py ( #570 )
...
* added data_augment.py
* .
2023-01-11 16:31:52 +01:00
Andreas Köpf
f32ec78988
Returning from /api/v1/frontend_users/{auth_method}/{username}
...
fixes #615
2023-01-11 14:46:29 +01:00
Andreas Köpf
0117159da0
returning 503 Service Unavailable when requested task type is not available
2023-01-11 13:56:21 +01:00
Keith Stevens
78306b7ca2
Merge pull request #625 from othrayte/purge-summary-task-pages
...
website: Remove summarization pages
2023-01-11 21:33:03 +09:00
Adrian Cowan
099b7c0b66
website: Remove summarization pages
...
These pages are now out of sync with the rest of the development and are become hard to maintain without an API to work against. They should be easy to reimplement using the new Components once we have actual summarization tasks.
2023-01-11 22:54:41 +11:00
AbdBarho
e2248b5d8a
Merge pull request #622 from LAION-AI/616_web_forwards_task_id
...
Update the web to match the backends new API
2023-01-11 12:32:00 +01:00
Keith Stevens
14f6459424
Deleted unused useEffect
2023-01-11 19:54:55 +09:00
Keith Stevens
7163555fb0
Merge branch 'main' into 616_web_forwards_task_id
2023-01-11 19:44:05 +09:00
Keith Stevens
7f47ada3ba
Revert "Ensure prisma generate happens when building the frontend"
...
This reverts commit 0a5e4d4b2b .
2023-01-11 19:43:56 +09:00
Keith Stevens
8c497223d5
Tweaking the build frontend workflow to always run prisma generate
2023-01-11 19:43:30 +09:00
Keith Stevens
0a5e4d4b2b
Ensure prisma generate happens when building the frontend
2023-01-11 19:40:42 +09:00
Keith Stevens
268cd7d7b5
Forwarding the real task id in backend interactions and ensure the labeling task works
2023-01-11 19:32:52 +09:00
Andreas Köpf
14fa08e2e7
Message tree state machine ( #555 )
...
* add query_incomplete_rankings()
* Add SQL queries for TreeManager task selection
* first working version of TreeManager.next_task()
* remove old generate_task(), add mandatory_labels to text_labels task
* Add ConversationMessage list to Ranking tasks
* add more sophisticated sql queries to find extendible trees
* add TreeManager.query_extendible_parents()
* fix task validation, seed data insertion (reviewed)
* provide user for task selection in text-frontend
* enter 'growing' state
* enter 'aborted_low_grade' state
* enter 'ranking' state
* check tree 'growing' state upon relpy insertion
* exclude user from labeling their own messages (added DEBUG_ALLOW_SELF_LABELING setting)
* add DEBUG_ALLOW_SELF_LABELING to docker-compose.yaml
* fix ranking submission
* add query_tree_ranking_results()
* add ranked_message_ids to RankingReactionPayload
* fix reply_messages instead of prompt_messages
* incorment 'ranking_count' of ranked replies
* added logic to check_condition_for_scoring_state
* changes to msg_tree_state_machine
* pre-commit changes
* enter 'ready_for_scoring' state
* re-add HF embedding call (lost during merge)
* use prepare_conversation() helper for seed-data creation
* Partially add user specified task selection
Co-authored-by: Daniel Hug <danielpatrickhug@gmail.com >
2023-01-11 10:54:03 +01:00
Keith Stevens
23ff01c603
Merge pull request #621 from kostiak/website-random-task3
...
Added random task and moved other tasks to /tasks/all
2023-01-11 18:41:53 +09:00
kostiak
e2844e4d86
Added random task and moved other tasks to /tasks/all
2023-01-11 09:30:58 +00:00
AbdBarho
bdb4762359
Merge pull request #593 from LAION-AI/584-valid-labels-everywhere
...
Encapsulate valid label fetching to `FlaggableElement`
2023-01-11 09:29:27 +01:00
sanagnos
1c5d44cb33
Merge pull request #582 from mrcabbage972/main
...
Adding support for 8-bit training with bitsandbytes
2023-01-11 10:14:00 +02:00
Keith Stevens
9f1064d656
Complete the handler todo and use withoutRole
2023-01-11 16:54:39 +09:00
Keith Stevens
aba5b43a37
Minimal fixing for the Message type in one context
2023-01-11 16:40:28 +09:00
Keith Stevens
454f332823
Ensuring the flagging post has a message or post id
2023-01-11 16:36:40 +09:00
Keith Stevens
f4d0ad1cc8
Removing an unused property
2023-01-11 15:05:30 +09:00
Keith Stevens
17bcc53fb7
Merging with main again
2023-01-11 15:02:29 +09:00
Keith Stevens
5109f14e4c
Fixing the answer submission problem after unifying code
2023-01-11 14:58:10 +09:00
Keith Stevens
ae8b41a0de
Merge pull request #610 from rsandb/main
...
Integrate Dashboard with Messages
2023-01-11 14:46:18 +09:00
mrcabbage972
d95c741ea0
Fixing requirements file
2023-01-10 20:16:02 -05:00
Riley Sandborg
f542821b3a
Merge branch 'LAION-AI:main' into main
2023-01-10 18:49:00 -06:00
rsandb
f61f582a9b
Integrate Dashboard with Messages/Styling Changes
2023-01-10 18:48:14 -06:00
Keith Stevens
e1dd677677
Merging with main
2023-01-11 08:47:16 +09:00
Keith Stevens
c794c2d83a
Merge pull request #598 from othrayte/unified-task-controls
...
website: Unify task controls
2023-01-11 08:35:35 +09:00
Yannic Kilcher
c57becc0d8
Merge pull request #604 from olliestanley/backend-python-version-note
...
Add note on Python version to backend README.md
2023-01-10 21:11:42 +01:00
Oliver Stanley
8b44183843
Add note on Python version to backend README.md
2023-01-10 20:05:30 +00:00
AbdBarho
8ce84ecef8
Merge pull request #590 from LAION-AI/589-reject-banned-users
...
Ensure all the API routes reject banned users
2023-01-10 18:40:28 +01:00
Oliver Stanley
e5abb2dc85
536: Add endpoint to resolve frontend user by auth method and username ( #539 )
...
* Add endpoint to resolve frontend user by auth method and username
* Require client ID for frontend user lookup
* Remove unnecessary if check
* Fix PromptRepository -> UserRepository
* Convert to protocol User
* Move User prep
* Address review comments
* 404 -> HTTP_404_NOT_FOUND
2023-01-10 18:20:56 +01:00
Adrian Cowan
805bc33ba4
website: Unify task controls
...
Also happens to fix some issues with the no-changes are-you-sure dialog only appearing once and other form values not being reset correctly.
2023-01-11 02:59:10 +11:00
Yannic Kilcher
1318c213d3
Merge pull request #596 from andrewm4894/gitignore-venv
...
Gitignore `venv`
2023-01-10 16:39:47 +01:00
Andrew Maguire
35ebefb647
add venv to .gitignore
2023-01-10 14:59:50 +00:00
Andrew Maguire
4215846ff2
Merge branch 'LAION-AI:main' into main
2023-01-10 13:08:22 +00:00
Keith Stevens
747c3501d1
Adding a new web api path that returns valid labels and then fetching from that within FlaggableElement. This allows FlaggableElement to fetch all its own data and remove the need to pipe labels through a series of components
2023-01-10 20:57:42 +09:00
Keith Stevens
d4e8759a68
Merge pull request #591 from othrayte/refactor-task-pages
...
website: Refactor remaining task pages to use Task.tsx
2023-01-10 20:04:58 +09:00
Yannic Kilcher
94785578c7
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
2023-01-10 12:04:14 +01:00
Yannic Kilcher
a1fd2cc638
added to readme
2023-01-10 12:04:10 +01:00
Adrian Cowan
15e1203be9
website: Refactor remaining task pages to use Task.tsx
2023-01-10 21:44:22 +11:00
Keith Stevens
d94cb4b2d6
Ensure all the API routes reject banned users
2023-01-10 19:16:13 +09:00
AbdBarho
0968d8add6
Merge pull request #588 from LAION-AI/fix-messages-view
...
A simpler fix to ensuring the messages view can render
2023-01-10 11:07:18 +01:00
Keith Stevens
80268136b0
A simpler fix to ensuring the messages view can render
2023-01-10 17:52:48 +09:00
Keith Stevens
600f7f7381
Merge pull request #583 from LAION-AI/web-tidy-sweep
...
Web tidy sweep
2023-01-10 16:38:44 +09:00