Jack Michaud
bc796b70ba
test: finish test for handling oasst error
2023-01-02 20:59:59 -05:00
Jack Michaud
ee06bfbd44
Merge branch 'jm/oasst-api-client-handle-error' of github.com:jack-michaud/Open-Assistant into jm/oasst-api-client-handle-error
2023-01-02 20:39:49 -05:00
Jack Michaud
fbcb0a09e6
chore: move aiohttp client into oasst-shared
2023-01-02 20:38:10 -05:00
Jack Michaud
789593bab7
fix: contract test script should fail when pytest fails
2023-01-02 20:37:34 -05:00
Jack Michaud
e09f879ae6
Merge branch 'main' of github.com:LAION-AI/Open-Assistant into jm/oasst-api-client-handle-error
2023-01-02 19:09:35 -05:00
Jack Michaud
c2a5e08a32
(WIP) test: add test for handling OasstError
2023-01-02 19:07:01 -05:00
Jack Michaud
fe21732f8d
feat: handle OasstError in OasstApiClient
2023-01-02 19:06:30 -05:00
Jack Michaud
5bb9a397b4
feat: add OasstErrorResponse to protocols
...
Using a shared protocol to serialize the error in the backend
allows clients to use that same protocol to deserialize it.
Changes to this protocol will be caught in tests.
2023-01-02 19:01:29 -05:00
Keith Stevens
a83eb7ffe1
Merge pull request #299 from croumegous/fix-204-response-invalid-json
...
fix(frontend): fix invalid json error when HTTP response is 204
2023-01-03 08:47:43 +09:00
Keith Stevens
b810dfbe9f
Merge pull request #294 from Klotske/fix-null-username
...
#276 - Fixed null username
2023-01-03 08:46:40 +09:00
croumegous
47ffd40d38
fix(frontend): fix invalid json error when HTTP response is 204
2023-01-03 00:44:07 +01:00
Keith Stevens
245a3de074
Merge pull request #264 from LAION-AI/messages_chakra
...
Use Chakra UI for Messages
2023-01-03 08:43:12 +09:00
Yannic Kilcher
329a3bfd7a
added schemas for ranking and generation task
2023-01-02 23:45:06 +01:00
Yannic Kilcher
2df4e7a735
Merge pull request #295 from croumegous/fastapi-response-model
...
chore: add fastapi response model to every endpoints, add openapi documentation for API response
2023-01-02 23:17:48 +01:00
Yannic Kilcher
6b8902e0cf
Merge pull request #291 from audreyfeldroy/fix-readme-typos
...
Fix minor README typos
2023-01-02 23:08:52 +01:00
Yannic Kilcher
de67b598c6
Merge pull request #286 from olliestanley/augmentation-typos
...
Clean up data augmentation doc
2023-01-02 22:56:42 +01:00
croumegous
fc7f8cbc1f
chore: add fastapi response model to every endpoints, add openapi documentation for API response
2023-01-02 22:55:08 +01:00
Oliver Stanley
49c8dc7b52
Resolve formatting
2023-01-02 21:53:39 +00:00
yeungadrian
4715a53637
#47- Create API endpoints that return leaderboards ( #250 )
...
* Leaderboard endpoints proof of concept
- New leaderboards router
- Two endpoints /api/v1/leaderboards/assistant & /api/v1/leaderboards/prompter
- Function in prompt_repository to calculate user scores
* Separating create vs 'eventual' evaluate routes
* Adding display_name to result
* Missing / in routes
* Updating route to be experimental
* Fixing format for pre-commit
2023-01-02 22:38:54 +01:00
onegunsamurai
c4df46ee33
Add missing requirement to discord-bot ( #292 )
...
Co-authored-by: Vladyslav <v.bukhantsov@dexilon.io >
2023-01-02 22:20:49 +01:00
Yannic Kilcher
60d9d77b91
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
2023-01-02 22:17:33 +01:00
Klotske
15c06348ce
Removed unused import
2023-01-03 00:17:32 +03:00
Yannic Kilcher
8847ee94f2
added dockerignore
2023-01-02 22:17:29 +01:00
Jack Michaud
ed115ea17c
refactor: move OasstApiClient into oasst-shared ( #287 )
...
* refactor: move api_client into oasst-shared
* refactor: move contract tests into oasst-shared
* fix: use new OasstApiClient imports in discord bot
2023-01-02 22:13:20 +01:00
Audrey Roy Greenfeld
27ce51c020
Fix minor readme typos
2023-01-02 13:13:10 -08:00
Klotske
65e3800997
Use session for username, removed update handler
2023-01-03 00:13:05 +03:00
Yannic Kilcher
0a59aeb8b0
added data schemas md ( #288 )
2023-01-02 22:10:48 +01:00
Jack Michaud
c7ac01718c
refactor: move OasstError into oasst_shared.exceptions ( #289 )
...
* refactor: move OasstError into oasst_shared.exceptions
* fix: update OasstError import
* fix: linter errors
2023-01-02 22:03:53 +01:00
Yannic Kilcher
194ee6632a
added QA notebook from rallio
2023-01-02 21:51:36 +01:00
Oliver Stanley
8be5d01df7
Correct typos argumentation -> augmentation
2023-01-02 19:33:21 +00:00
Alex Ott
e15259b311
Stop users from starting more than one task at a time ( #265 )
...
* make sure a user can only do 1 task at a time
* remove todo comment
* move handle_task inside a try/finally block
2023-01-02 19:32:40 +01:00
Yannic Kilcher
e692cc0e07
Merge pull request #283 from andrewm4894/add-copilot-to-devcontainer
...
add copilot to devcontainer
2023-01-02 19:09:41 +01:00
Andrew Maguire
db98de0888
prettier fix
2023-01-02 18:08:07 +00:00
Andrew Maguire
170d82099a
add copilot to devcontainer
2023-01-02 18:05:15 +00:00
Andrew Maguire
571dcc283b
Merge pull request #251 from andrewm4894/add-devcontainer
...
Add `devcontainer.json` for GitHub/VSCode codespaces
2023-01-02 17:58:45 +00:00
Andrew Maguire
75fc2d0f8f
Merge branch 'LAION-AI:main' into add-devcontainer
2023-01-02 17:54:44 +00:00
Yannic Kilcher
68f4976db1
Merge pull request #281 from kiritowu/implement_fastapi_limiter
...
Implement Backend Fastapi limiter
2023-01-02 18:35:13 +01:00
kiritowu
4796146aa7
Fix getting api_key using dependencies
2023-01-03 01:17:36 +08:00
kiritowu
91f7828395
Merge branch 'implement_fastapi_limiter' of github.com:kiritowu/Open-Assistant into implement_fastapi_limiter
2023-01-03 00:34:41 +08:00
kiritowu
0c1eaeb066
Update docker compose to start redis on backend-dev and update REDIS_HOST in compose environment
2023-01-03 00:28:05 +08:00
kiritowu
aa6d5786c6
Add rate limiter for task request
2023-01-03 00:28:05 +08:00
kiritowu
bbf385bc07
Add TOO_MANY_REQUEST to OasstErrorCode
2023-01-03 00:28:05 +08:00
kiritowu
2a2968f6d4
Initialise redis connection for Fastapi limiter
2023-01-03 00:28:05 +08:00
kiritowu
af0313ad5d
Add fastapi-limiter to requirements.txt
2023-01-03 00:28:05 +08:00
kiritowu
4e82991b2d
Update docker compose to start redis on backend-dev and update REDIS_HOST in compose environment
2023-01-03 00:22:37 +08:00
kiritowu
95089d1ccf
Add rate limiter for task request
2023-01-03 00:19:55 +08:00
Andrew Maguire
7956ed0cbe
try precommit
2023-01-02 15:59:41 +00:00
Yannic Kilcher
bcc73d6e02
fixed encoding header
2023-01-02 16:52:31 +01:00
Yannic Kilcher
07c62c925b
Merge branch 'main' of github.com:LAION-AI/Open-Chat-GPT
2023-01-02 16:38:42 +01:00
Yannic Kilcher
9fd201ded5
added verify-lobby script
2023-01-02 16:38:38 +01:00