quivr/backend/models
Stan Girard 30b9e057ff
feat(db): Add Supabase client and database instances caching (#2513)
This pull request adds caching for the Supabase client and database
instances in order to improve performance and reduce unnecessary API
calls. The `get_supabase_client()` and `get_supabase_db()` functions now
check if the instances have already been created and return the cached
instances if available. This avoids creating new instances for every
function call, resulting in faster execution times.
2024-04-28 06:46:16 -07:00
..
databases refactor: Refacto code #1 (#2458) 2024-04-20 02:22:05 -07:00
__init__.py refactor: Refacto code #1 (#2458) 2024-04-20 02:22:05 -07:00
brains_subscription_invitations.py feat(lcel): migrated to lcel and pydantic (#2185) 2024-02-14 14:01:35 -08:00
files_in_storage.py feat: get files from storage (#1205) 2023-09-20 09:35:37 +02:00
files.py feat(embedding): keeping citations (#2506) 2024-04-27 05:18:51 -07:00
settings.py feat(db): Add Supabase client and database instances caching (#2513) 2024-04-28 06:46:16 -07:00
sqlalchemy_repository.py Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00