Commit Graph

1605 Commits

Author SHA1 Message Date
Vechtomov df0c48c4fa clean up 2023-01-05 22:59:12 +03:00
b-mc2 ee370e85a4 Changes from pre-commit 2023-01-05 14:55:26 -05:00
Batuhan Erenler ec61238711 Update env.py 2023-01-05 22:52:09 +03:00
Vechtomov aafe93ff82 simplified random task generation 2023-01-05 22:50:51 +03:00
Batuhan Erenler 4012f7da05 Update env.py 2023-01-05 22:50:22 +03:00
furlat 51739fa5b7 Update openbugger_example.ipynb 2023-01-05 20:33:04 +01:00
furlat 5b9cdcec48 Create openbugger_example.ipynb
added an example for open_bugger
2023-01-05 20:19:31 +01:00
jojopirker 1bd0336d27 bugfix 2023-01-05 19:02:00 +01:00
jojopirker 1d46b3132a hacky solution for a bug
https://dev.to/wh1zk1d/swr-dynamic-routes-in-next-js-3cbl
2023-01-05 18:54:38 +01:00
Batuhan Erenler 6f319651c1 Update env.py
Here are the improvements that I made:

Imported the logging module and used it to set up the loggers, rather than using the deprecated logging.config.fileConfig function.
Renamed the sqlmodel module to models and imported it correctly.
Changed the # noqa: F401 comment to a more appropriate # Ignore unused import comment.
Added type annotations and docstrings to the functions.
Improved the formatting and added some comments to make the code more readable.
Changed the with context.begin_transaction(): block to use the contextlib.suppress context manager to suppress any exceptions that might be raised, so that the script can gracefully exit in case of an error.
2023-01-05 20:17:37 +03:00
Nil Andreu 739c073328 Session Close when called HuggingFace Client (#411)
* [FIX] Session Close

* [NEW] Async Context Managers of Response

* [NEW] Linting
2023-01-05 17:49:39 +01:00
d_auras a40e6ec31d ran pre-commit again 2023-01-05 16:25:58 +01:00
Nil Andreu ee50b573e1 Detoxify Rest API Client (#404)
* [NEW] utils: Endpoint Toxic Roberta

* [NEW] Constants API URL

* [NEW] Git ignore venv

* [NEW] Lint

* [NEW] Backend default args

* [NEW] HUGGINGFACE_API_ERROR

* [NEW] Requests package

* [NEW] Get Toxicity Endpoint

* [NEW] Schema:  ToxicityClassification

[NEW] Constants module

[FIX] Module

* [FIX] Test Key HF

* [NEW] settings: HUGGING_FACE_API_KEY

* [NEW] Remove requests

* [NEW] HuggingFace client

* [NEW] Cleaning code
2023-01-05 16:18:04 +01:00
rasdani d379193bed add REDIS_HOST environment variable to backend
to comply fully with `docker-compose.yaml`
2023-01-05 16:15:20 +01:00
MattAlexMiracle 3dbe0ae1ba Implement task selection (#383)
* commented out legacy numerical solver

* added comments and task_scheduling for selecting which task to serve to users

* removed standalone task weighting

* pre-commit hook rerun

Co-authored-by: Alexander Mattick <alex.mattick@fau.de>
2023-01-05 16:14:39 +01:00
jojopirker 894219423d ER-Diagrams in data_schemas.md (#367)
* initial er-diagrams

* pre-commit
2023-01-05 12:55:43 +01:00
jojopirker d0bc720761 inital try for navigation messages trees
should be redone probably in a recursive way...
2023-01-05 12:17:45 +01:00
d_auras aa09245f73 fixed last trailing line break in README 2023-01-05 11:44:39 +01:00
d_auras 43227b2cdc fixed line breaks in README 2023-01-05 11:42:02 +01:00
rasdani 76ae381b86 Merge branch 'LAION-AI:main' into main 2023-01-05 11:35:25 +01:00
Keith Stevens 843ea1a01a Merge pull request #403 from othrayte/web-dashboard-initial-prompt
website: Add Create Initial Prompts link to the dashboard
2023-01-05 19:32:05 +09:00
Keith Stevens 64a4c4ab6c Merge pull request #401 from jojopirker/messagesPage
spacing for message dashboard (comment in #375)
2023-01-05 19:31:35 +09:00
d_auras 8921b4f8dd added test files and README, ready for pull request 2023-01-05 11:31:13 +01:00
Keith Stevens 38fec237d0 Merge pull request #342 from jack-michaud/jm/contract-tests-for-website
refactor + test: add OasstApiClient in website with tests
2023-01-05 19:30:47 +09:00
d_auras 55a4cf1fd0 finally hooked up redis insights to redis 2023-01-05 11:12:11 +01:00
Yannic Kilcher 43f30925c6 updated logo 2023-01-05 11:05:29 +01:00
Yannic Kilcher 0a0fe2fce2 updated logo 2023-01-05 11:05:07 +01:00
Yannic Kilcher 9686ff6165 updated logo 2023-01-05 11:01:45 +01:00
Yannic Kilcher cd4e67c7eb updated logo 2023-01-05 11:01:20 +01:00
Yannic Kilcher dbedf4ea0d updated logo 2023-01-05 11:00:26 +01:00
Yannic Kilcher f85d5705e5 updated logo 2023-01-05 10:59:44 +01:00
Yannic Kilcher 881af7a999 updated readme 2023-01-05 10:58:35 +01:00
Yannic Kilcher 9881b9d8cb Merge pull request #402 from Jac-Zac/main
Starting point to make the documentation more modular and better README.md
2023-01-05 10:57:22 +01:00
Jac-Zac 59fd372063 fixing style 2023-01-05 10:55:06 +01:00
Yannic Kilcher e3a1239a23 Merge pull request #363 from LAION-AI/257-backend-aws-redis
Adding the Redis secret for running the backend on AWS
2023-01-05 10:53:54 +01:00
Adrian Cowan cb8fec868c website: Add Create Initial Prompts link to the dashboard. 2023-01-05 20:51:45 +11:00
Jac-Zac 6df5b1f198 adding CONTRIBUTING.md 2023-01-05 10:48:27 +01:00
Jac-Zac fffac1936a small fix in readme 2023-01-05 10:39:27 +01:00
jojopirker ac8ae2652e spacing for message dashboard 2023-01-05 10:33:35 +01:00
Jac-Zac cba0925564 prittier readme 2023-01-05 10:33:29 +01:00
Keith Stevens 75e6e72486 Merge pull request #326 from KarthikRaju391/discord-credentials
Use Discord Credentials when available
2023-01-05 17:25:50 +09:00
Graeme Harris c2b6cdb12a Bugfix #173 - Empty task interactions (#373)
* Added pydantic checks for interaction protocols

* Small updated to BE API README for redis and guide to local scripts

* isort linting
2023-01-05 09:19:57 +01:00
Karthik Raju b20526c558 Merge branch 'discord-credentials' of github.com:KarthikRaju391/Open-Assistant into discord-credentials 2023-01-05 12:48:59 +05:30
Karthik Raju ab434ee79b remove package-lock.json file from the root folder 2023-01-05 12:46:07 +05:30
AbdBarho 165e87353c Merge pull request #375 from jojopirker/messagesPage
#307 new page to display recent messages
2023-01-05 08:12:30 +01:00
theblackcat102 325c97857c Merge pull request #313 from bth5032/bth5032/78-blackcat-trainer
Bth5032/78 blackcat trainer
2023-01-05 10:50:04 +08:00
theblackcat102 93b2be918e Merge pull request #347 from LAION-AI/sft-gptjt-qa-labels
Sft gptjt qa labels
2023-01-05 10:49:51 +08:00
Bobak Hashemi 061d621953 removed old precommit pragma requirement 2023-01-04 20:51:19 -05:00
Keith Stevens 34ffeb5434 Merge pull request #393 from kostiak/fix-343
Fix for #343
2023-01-05 09:28:12 +09:00
Keith Stevens 1c3314365a Merge pull request #389 from Klotske/fix-dashboard-user-link
Fixed broken link in the dashboard
2023-01-05 09:06:31 +09:00