Stan Girard
69e2c289e5
fix(pg-database): by default variable is not implemented ( #848 )
2023-08-04 10:17:26 +02:00
ChloeMouret
711e9fb8c9
refactor: delete common_dependencies function ( #843 )
...
* use function for get_documents_vector_store
* use function for get_embeddings
* use function for get_supabase_client
* use function for get_supabase_db
* delete lasts common_dependencies
2023-08-03 20:24:42 +02:00
ChloeMouret
fdcdf581a8
refactor: clean backend, add typing, delete dead code ( #835 )
...
* type common dependencies
* delete unused code
2023-08-03 16:20:36 +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
Mamadou DICKO
25f859a31e
fix: make max_brain_size overwritable ( #751 )
2023-07-24 14:17:33 +02:00
Mamadou DICKO
d27504f735
Feat/rate limiting ( #719 )
...
* feat: add max brain count
* fix: prevent page cashing when invitation is invalid
* feat: rename rights to role in frontend
2023-07-20 18:17:55 +02:00
Zineb El Bachiri
1f5443bd24
🚑 fix resend invitation emails ( #696 )
2023-07-18 18:10:48 +02:00
Stan Girard
f63136350b
feat(resend): added env variablers ( #673 )
...
* feat(resend): added env variablers
* fix(resend): made optional
2023-07-17 15:45:31 +02:00
Matt
e61f437ce8
Feat/backend core ( #656 )
2023-07-17 07:57:27 +01:00