Andreas Köpf
2d4e39cf5d
use sqlalchemy for query_reviews_for_message() in TreeManager
2023-01-16 20:31:29 +01:00
Yannic Kilcher
6ccbd38462
fixed deploy playbook
2023-01-16 20:19:37 +01:00
Yannic Kilcher
8323343224
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
2023-01-16 20:14:44 +01:00
Yannic Kilcher
1a62775fd1
updated prod nginx config
2023-01-16 20:14:39 +01:00
Andreas Köpf
ead51ff423
770 tree manager allow to specify desired task_type no prompter ranking ( #775 )
...
* only ranking assistant replies by default
* add tasks/availability endpoint allow to specify desired task
* move rank_prompter_replies option to TreeManagerConfiguration
* fix type annotation
* remove desired_task_type from _random_task_selection()
* fix typo
* Convert query_tree_size to sqlachemy, return 'full' text-labeling tasks if they were explicitly requested
2023-01-16 20:05:40 +01:00
AbdBarho
ad1bd77039
Merge pull request #772 from othrayte/simple-spam-question
...
website: Improve 'spam?' question
2023-01-16 18:29:30 +01:00
Keith Stevens
922b422d82
Merge pull request #771 from notmd/react-hook-form
...
migrate `formik` to `react-hook-form`
2023-01-16 21:21:12 +09:00
Adrian Cowan
17f860b9d6
website: Improve 'spam?' question
2023-01-16 22:27:32 +11:00
notmd
e464fcbbb2
migrate formik to react-hook-form
2023-01-16 17:54:21 +07:00
Andreas Köpf
7f562fbbae
add managed_tx_function() decorator and use it for startup db-calls
2023-01-16 09:16:28 +01:00
AbdBarho
35887decfb
Merge pull request #759 from LAION-AI/754-leaderboard-on-dashboard
...
ensure we include a timeframe when fetching leaderboard
2023-01-16 09:11:02 +01:00
Andreas Köpf
a42f2cd3ed
add new debug option 'DEBUG_DATABASE_ECHO' (default False)
2023-01-16 08:46:45 +01:00
James Melvin Ebenezer
c6fbf5543b
599 add row versioning to backend tables ( #710 )
...
* fix: isolation level and nested db.commit() with retry wrappers on concurrent update errors
* refactor: incorporated review comments
changes decorator methods to managed_tx_method and async_managed_tx_method
new enum CommitMode
removed commented commit() from the previous commits
* fix: merge pre-commit errors
* fix: merge pre-commit changes
* fix: conflict in existing OasstErrorCode
* refactor: Added a refresh just to be sure that the select command is triggered on the mapped object
* fix: added refresh for async decorator
Co-authored-by: James Melvin <melvin@gameface.ai >
2023-01-16 08:43:07 +01:00
Andreas Köpf
72a58ca2d3
add 'cache_ok = True' to PayloadJSONBType type decorator
2023-01-16 08:37:24 +01:00
Keith Stevens
8586eff596
Using the proper type
2023-01-16 16:13:56 +09:00
Keith Stevens
2d8778c299
Updating LeaderboardTable to use LeaderboardGridCell
2023-01-16 16:03:34 +09:00
Keith Stevens
43a5b19715
Merge pull request #760 from LAION-AI/AbdBarho-patch-1
...
Fix rank in leaderboard
2023-01-16 15:50:41 +09:00
AbdBarho
b6c585bdd4
Merge pull request #758 from LAION-AI/753-label-all-messages
...
Switch back to useEffect in FlaggableElement
2023-01-16 07:50:22 +01:00
AbdBarho
61bae79fbf
Update Leaderboard.ts
2023-01-16 07:39:29 +01:00
AbdBarho
425b698d62
Remove +1
2023-01-16 07:35:40 +01:00
AbdBarho
8accd0dfbe
Fix rank displaying
2023-01-16 07:34:17 +01:00
notmd
045b6df99b
Merge remote-tracking branch 'origin/main' into react-hook-form
2023-01-16 13:05:01 +07:00
Keith Stevens
9dd753a076
ensure we include a timeframe when fetching leaderboard
2023-01-16 14:57:19 +09:00
Keith Stevens
c4af8bba1e
Switch back to useEffect in FlaggableElement to ensure valid labels are present
2023-01-16 14:44:38 +09:00
Keith Stevens
f690da3a1d
Merge pull request #756 from notmd/select_role_when_sigin
...
Allow to select role when sigin in debug mode
2023-01-16 14:41:14 +09:00
notmd
f181094fbf
move to RoleSelect file
2023-01-16 12:31:05 +07:00
notmd
b90ac368f7
wip
2023-01-16 12:27:40 +07:00
notmd
eec432758b
remove text and fix lint
2023-01-16 11:55:21 +07:00
notmd
20752f3d2a
remove data-cy
2023-01-16 11:53:07 +07:00
notmd
88fccf38b9
remove console.log
2023-01-16 11:50:54 +07:00
notmd
510c718f2b
allow to select role when sigin in debug mode
2023-01-16 11:49:53 +07:00
Keith Stevens
51bbec0c49
Merge pull request #751 from notmd/refactor_swr
...
use `useSWR` data instead calling `setState`
2023-01-16 12:15:23 +09:00
notmd
8028693e3b
use useSWR data instead calling setState
2023-01-16 10:09:54 +07:00
Yannic Kilcher
da6a3b687e
prod ngix conf
2023-01-16 00:58:07 +01:00
Keith Stevens
5e814eaa4c
Merge pull request #732 from LAION-AI/673-admin-page-pagination
...
Supporting user pagination on the web admin view
2023-01-16 08:39:15 +09:00
Keith Stevens
fdd7a3f3f8
Merge pull request #741 from LAION-AI/leaderboard
...
Use the new leaderboard api
2023-01-16 08:38:23 +09:00
Andreas Köpf
bf80820d34
fix realistic seed data (remove 'Assistant: ' prefixes)
2023-01-16 00:26:27 +01:00
Yannic Kilcher
f497bf11d0
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
2023-01-16 00:24:03 +01:00
Yannic Kilcher
51409281e2
added production workflow
2023-01-16 00:23:59 +01:00
Yannic Kilcher
0efade980d
fixed staging deployment
2023-01-16 00:22:59 +01:00
Andreas Köpf
de28d67031
infer role from task in store_text_reply()
2023-01-16 00:19:30 +01:00
Yannic Kilcher
c0cb15bbb0
fixing text frontend and startup creation
2023-01-16 00:11:20 +01:00
Yannic Kilcher
dbdb3a0823
fixed workflow
2023-01-15 23:48:54 +01:00
Yannic Kilcher
fb1ff33057
fixed workflow
2023-01-15 23:44:46 +01:00
Yannic Kilcher
5d441b1570
prepared playbook for prod
2023-01-15 23:30:16 +01:00
Yannic Kilcher
cc03376d86
added root tokens and endpoint for adding api keys ( #742 )
...
* added root tokens and endpoint for adding api keys
* Change down revision to current alembic head
* removed added_by_root_token
* refactored description
* fixed jinja errors
Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com >
2023-01-15 21:24:25 +00:00
Andreas Köpf
e58ffd64fa
add /api/v1/users/{user_id}/stats endpoint ( #744 )
...
* add /api/v1/users/{user_id}/stats endpoint
* return 0 stats and add /api/v1/users/{user_id}/stats/{time_frame}
* use utcnow() as modified date for 0 stats
2023-01-15 20:24:15 +00:00
Yannic Kilcher
ed80762182
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
2023-01-15 18:55:55 +01:00
Yannic Kilcher
8ece9363c9
added deployment files
2023-01-15 18:55:49 +01:00
Andreas Köpf
cd49080c63
add response_model param to leaderboards endpoint
2023-01-15 16:28:46 +01:00