Commit Graph

24 Commits

Author SHA1 Message Date
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
Yannic Kilcher ba12c35e22 Merge pull request #540 from jojopirker/messageEmbeddings
Store Message embedding
2023-01-09 21:22:56 +01:00
Keith Stevens 72eb6c006d Merge pull request #562 from LAION-AI/372-web-on-dev
Update the dev deployment to use secrets #372
2023-01-09 21:21:21 +09:00
Nil-Andreu ef7bd89df2 [NEW] ansible: DEBUG_SKIP_EMBEDDING_COMPUTATION 2023-01-09 09:09:43 +01:00
Keith Stevens c1b3029f8b Deleting the maildev stanza now that we're using a real email server 2023-01-09 15:46:45 +09:00
Keith Stevens 0e9fd9a140 Seeing the admin users, email from, and next auth secret secrets 2023-01-09 14:56:13 +09:00
Keith Stevens 00e51af787 Adding the email secrets and environment variables 2023-01-09 14:43:45 +09:00
Keith Stevens f22abd524b Adding discord credentials to dev deployment 2023-01-09 14:16:49 +09:00
Keith Stevens 310763ebb8 Adding discord credentials to dev deployment 2023-01-09 14:07:30 +09:00
Keith Stevens d2dd96b43a Wrapping numbers in quotes after learning ansible 2023-01-09 13:47:01 +09:00
Keith Stevens 491d8e7413 Changing the email provider values 2023-01-09 13:39:49 +09:00
d_auras 2870524aa7 ansible copies redis.conf to managed node now 2023-01-06 20:03:15 +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
rasdani 76ae381b86 Merge branch 'LAION-AI:main' into main 2023-01-05 11:35:25 +01:00
d_auras 8921b4f8dd added test files and README, ready for pull request 2023-01-05 11:31:13 +01:00
d_auras 55a4cf1fd0 finally hooked up redis insights to redis 2023-01-05 11:12:11 +01:00
Yannic Kilcher 9ce4348263 set rate limit to false while we don't have redis yet 2023-01-04 22:40:31 +01:00
Yannic Kilcher 5ab2e2d92c added debug login env to web container 2022-12-29 21:35:45 +01:00
Andreas Köpf 30db7254c7 rename flag to DEBUG_USE_SEED_DATA default False, update compose config 2022-12-29 15:58:35 +01:00
Keith Stevens 5729e722a3 Merge pull request #58 from LAION-AI/web-on-ansible
Fixing the nextauth url for the dev instance
2022-12-26 11:46:21 +09:00
Yannic Kilcher 703c1129dd re-introduced ALLOW_ANY_API_KEY 2022-12-25 18:24:49 +01:00
Yannic Kilcher 21f44d2d4c removed ALLOW_ANY_API_KEY and allow skipping API key check in debug 2022-12-25 17:25:30 +01:00
Keith Stevens 583f34685c Fixing the nextauth url for the dev instance 2022-12-25 22:06:54 +09:00
Yannic Kilcher 6452bb860d moved bot to discord-bot
added playbook to deploy dev machine

added playbook to deploy dev machine

added next.js font module, updated fonts, updated login page

replaced logos, changed logo on login and header

added 404 and email confirmation pages, changed discord and github buttons to show conditionally

also removed unused imports, fixed one spelling error, and minor styling changes

Quick format to the authenticated user page, updated header with user profile, styling updates

fixed html encoding

added checkout for release

re-vamped release config and ports
2022-12-25 11:35:54 +01:00