quivr/backend/core
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
..
auth feat: Introduce repository pattern to prepare adding other database providers (#646) 2023-08-01 23:03:47 +02:00
crawl Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
llm fix(openai): user key now used for llm model 2023-08-01 13:46:53 +02:00
middlewares Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
models feat: Introduce repository pattern to prepare adding other database providers (#646) 2023-08-01 23:03:47 +02:00
parsers fix(parsers.github): AttributeError when crawling github repository. (#667) 2023-07-20 16:13:25 +02:00
repository feat: Introduce repository pattern to prepare adding other database providers (#646) 2023-08-01 23:03:47 +02:00
routes feat: Introduce repository pattern to prepare adding other database providers (#646) 2023-08-01 23:03:47 +02:00
scripts Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
supabase/functions/add-new-email Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
tests Feat/update brain fields (#756) 2023-07-25 15:22:17 +02:00
utils feat: Introduce repository pattern to prepare adding other database providers (#646) 2023-08-01 23:03:47 +02:00
vectorstore feat(chat): added streaming (#808) 2023-07-31 21:34:34 +02:00
Dockerfile test: fix ci 2023-07-18 15:34:08 +01:00
logger.py Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
main.py feat: add user level open ai key management (#805) 2023-08-01 09:24:57 +02:00
pyrightconfig.json Feat/backend core (#656) 2023-07-17 07:57:27 +01:00
requirements.txt feat: Introduce repository pattern to prepare adding other database providers (#646) 2023-08-01 23:03:47 +02:00