Commit Graph

8 Commits

Author SHA1 Message Date
thehunmonkgroup
82ab6d007d
feat: make docker compose command more flexible (#1139)
By not specifying '-f docker-compose.yml' in the docker compose command, it allows
more flexible use of configuration files. docker-compose.yml is already the default
config file when none is specified, and this also allows overrides via
docker-compose.override.yml, which is recognized by default.
2023-09-08 11:17:59 +02:00
Stan Girard
d0370ab499
feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
alex
dcf97f9763
Fixed backend .env file navigation (#956) 2023-08-16 09:33:35 +02:00
Noe
303ba72028
feat: Introduce repository pattern to prepare adding other database providers (#646)
* add sqlalchemy models

* add neon settings

* add insert brain

* abstract supabase from Brain class

* abstract supabase from Brain class

* abstract supabase from /models

* update Database to Repository

* update neon_tables to pg_tables

* update chat, api-key and message

* update vector class

* update settings

* update env vars for test

* Update backend-tests.yml

* fix test

* fix fetch_user_requests_count()

* fix fetch_user_requests_count()

* fix increment_user_request_count

* fix increment_user_request_count

* fix asset upload_response message

* fix pyright

* fix brain_subscription

* fix brain_subscription

* fix brain_subscription

* fix get user request stat

* update create_brain_user

* add delete brain vector and user

* add delete brain vector and user

* correctly call function

---------

Co-authored-by: Noé Pion <noe.pion@onfido.com>
Co-authored-by: raoufchebri <raouf@chebri.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-08-01 23:03:47 +02:00
Huxley Mc
97fd239980
fix: backend env path in install helper and docs (#737) 2023-07-23 09:29:44 +02:00
Matt
e61f437ce8
Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
Stan Girard
76156fdad3 feat: 🎸 migration
added migration script
2023-07-03 11:11:29 +02:00
Stan Girard
4667dada0b docs: ✏️ script
init and run
2023-07-03 10:04:01 +02:00