Commit Graph
46 Commits
Author SHA1 Message Date
Nicholas Tindle e506582fca feat: update db to allow cloud services to be required 2024-02-26 16:11:34 -06:00
SwiftyOS 40d43ae678 Add assertion to check if app.userId exists 2024-02-22 10:40:46 +01:00
Swiftyos 8e6dcb92ae style fixes by ruff 2024-02-20 16:13:42 +00:00
majdyz 766ac4b57f Add soft-delete check and uvicorn devmode 2024-02-20 14:01:26 +04:00
majdyz 398afa8273 [AGPT-290] Propagate DB-changes on schema refactoring 2024-02-20 13:32:36 +04:00
Swiftyos c61e26b427 style fixes by ruff 2024-02-15 11:39:16 +00:00
SwiftyOS fae9667e52 Refactor get_or_create_user_by_discord_id to use find_unique instead of find_unique_or_raise 2024-02-15 12:38:57 +01:00
SwiftyOS 2677ba9d13 Refactor database.py: Import and create user using updated types 2024-02-15 12:22:08 +01:00
SwiftyOS 99df6bab67 types fixes for api.py 2024-02-15 12:10:38 +01:00
SwiftyOS 3301b0701b Fixing stuff 2024-02-14 12:08:56 +01:00
SwiftyOS 93a466760e moved deployment db calls to deploy module 2024-02-12 15:29:06 +01:00
SwiftyOS adc7ec372a moved delivery database calls to arch module 2024-02-12 15:25:25 +01:00
SwiftyOS 4b94ef0f56 moving spec db calls into req module 2024-02-12 15:19:43 +01:00
SwiftyOS 125a935579 Added populate database command 2024-02-09 12:37:45 +01:00
SwiftyOS 87b4ced38b Refactor database functions and remove unnecessary db_client parameter 2024-02-09 11:55:48 +01:00
SwiftyOS afd359c8b3 Fix requestObject typo and update database field names 2024-02-08 17:51:58 +01:00
SwiftyOS 96ea7bb761 Fixing App endpoints 2024-02-08 17:51:58 +01:00
SwiftyOS 7cbde83fbe fixing user endpoints 2024-02-08 17:51:58 +01:00
SwiftyOS 650746222b Added populating the database with requirements 2024-02-08 17:51:58 +01:00
SwiftyOS fb32179637 Update find_first to find_first_or_raise in get_specification function 2024-02-08 17:51:58 +01:00
SwiftyOS 5ea8f0ac73 Refactor API model mapping in database.py 2024-02-08 17:51:58 +01:00
SwiftyOS 8a0e7ae4a9 Refactor database functions to simplify code 2024-02-08 17:51:58 +01:00
SwiftyOS 3eca698590 Add asynccontextmanager for lifespan management 2024-02-08 17:51:58 +01:00
SwiftyOS 9c500e49fc Refactor get_or_create_user_by_discord_id function to use Prisma upsert 2024-02-08 17:51:58 +01:00
SwiftyOS 99223b27b5 Refactor get_app_by_id function to use find_first_or_raise method 2024-02-08 17:51:58 +01:00
SwiftyOS ef0cc3f763 Update database queries to use find_unique_or_raise() method 2024-02-08 17:51:58 +01:00
SwiftyOS dbe1415d02 added deployment functionality 2024-02-08 17:51:58 +01:00
SwiftyOS 8bd687d504 Add deliverable-related functions to API model and database module 2024-02-08 17:51:58 +01:00
SwiftyOS 912bb53125 Added Implementation of specifications API 2024-02-08 17:51:58 +01:00
SwiftyOS 7bb63e3ec5 Refactor API endpoints and database functions 2024-02-08 17:51:58 +01:00
SwiftyOS 0686236196 Added Implementation of user-related API endpoints and add pagination support 2024-02-08 17:51:58 +01:00
SwiftyOS 712254ed80 Update Codex API with new features and improvements 2024-02-08 17:51:58 +01:00
SwiftyOS 71c43878ba Refactor into areas of concern 2024-01-19 15:56:46 +01:00
SwiftyOS 495fe1c56d Update similarity threshold in search_for_similar_node function 2024-01-18 10:16:58 +01:00
SwiftyOS 8c664fb418 Update embeddings to use OpenAI API 2024-01-17 09:46:44 +01:00
SwiftyOS 2d0cb2d725 Fix graph validation and similarity threshold 2024-01-05 14:49:27 +00:00
SwiftyOS 05f287cfd7 Add endpoint_name to ExecutionPath model 2024-01-05 13:39:17 +00:00
SwiftyOS 12745e4973 Refactor code and update dependencies 2024-01-05 09:55:50 +00:00
SwiftyOS 898a3e7a25 Ruff formatting 2024-01-05 08:36:23 +00:00
SwiftyOS 0917f53dd1 Refactor code to improve readability and add logging functionality 2024-01-03 12:18:40 +00:00
SwiftyOS 33958eeb52 Refactor NodeDefinition model and update database functions 2024-01-03 11:47:48 +00:00
SwiftyOS 2d59e93af0 Refactor node search function and add logging statements 2024-01-03 11:40:50 +00:00
SwiftyOS 13baff7a74 Add logging configuration and update variable names in search_nodes_by_params function 2024-01-03 11:29:49 +00:00
SwiftyOS 36bf4f2f6d Add SentenceTransformer import to database.py 2024-01-03 10:37:11 +00:00
SwiftyOS c6b2b05231 Add node search functionality using sentence embeddings 2024-01-03 10:35:11 +00:00
SwiftyOS a44a0b5ae5 Add search_nodes_by_params function to database module 2023-12-28 16:42:55 +00:00