Initial definition of the inference stack's worker container image.
Notes:
- The oasst-shared package is installed as root as a workaround: it seems
that python 3.10+ doesn't pick up on a .egg-link file installed on the
PYTHONPATH anywhere other than at a global site-package directory.
This quirk is similar to the behaviour described here
https://groups.google.com/g/python-virtualenv/c/sKVq_6gG5z4.
- pydantic 1.9.1 (specified by oasst-shared) is incompatible with python 3.11,
and needs to be upgraded. For now, this image uses python 3.10, as
specified by the .python-version file
Initial definition of the inference stack's coordination/orchestration
server container image.
Notes:
- The base layer uses python:3-slim to avoid having to install cargo on
top of alpine. Cargo is required to install orjson, which is in turns a
dependency of fastapi[all].
- The oasst-shared package is installed as root as a workaround: it seems
that python 3.10+ doesn't pick up on a .egg-link file installed on the
PYTHONPATH anywhere other than at a global site-package directory.
This quirk is similar to the behaviour described here
https://groups.google.com/g/python-virtualenv/c/sKVq_6gG5z4.
- pydantic 1.9.1 (specified by oasst-shared) is incompatible with python 3.11,
and needs to be upgraded. For now, this image uses python 3.10, as
specified by the .python-version file
* add full message to prompt-labeling & always require full prompt labeling
* always sending conversation, also for initial prompt labeling
* update type annotation
* fix: update user streaks
* Moved streak_last_day_date & streak_days from UserStats to User
* Updated Alembic version
* update last_activity after tm.handle_interaction()
* periodically executed function in main.py to update the user_streak every 4hrs
* fix:removed log messages
* fix: pre commit issues
* refactor: incorporated review comments
* fix: removed the managed -scope.
* refactor: managed_tx to Outer REST Db Ops in /interaction API
* fix: pre-commit changes
* fix: added streak and last_activity_date to protocol.FrontEndUser
* fix: pre-commit fixes after merge
* fix: added streak info to user_stat_repository, leaderboard and review comments
* fix: proper 4h delay and simpler startup_time initialisation
---------
Co-authored-by: James Melvin <melvin@gameface.ai>
This was caused by the init effect in Task.tsx running _after_ the task submits it's default reply validity as part of it's init effect. Clearly we need to refactor the way Task.tsx works.
* add German translation
* add missing translations
* improve index teaser line
* add label for lang_mismatch for en & de
* use term 'Prompt' in German too
* improve German translation