mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-26 21:02:31 +03:00
303ba72028
* 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>
22 lines
501 B
Plaintext
22 lines
501 B
Plaintext
SUPABASE_URL=<change-me>
|
|
SUPABASE_SERVICE_KEY=<change-me>
|
|
PG_DATABASE_URL=<change-me>
|
|
OPENAI_API_KEY=<change-me>
|
|
ANTHROPIC_API_KEY=null
|
|
JWT_SECRET_KEY=<change-me>
|
|
AUTHENTICATE=true
|
|
GOOGLE_APPLICATION_CREDENTIALS=<change-me>
|
|
GOOGLE_CLOUD_PROJECT=<change-me>
|
|
|
|
MAX_BRAIN_SIZE=52428800
|
|
MAX_REQUESTS_NUMBER=200
|
|
MAX_BRAIN_PER_USER=5
|
|
|
|
#Private LLM Variables
|
|
PRIVATE=False
|
|
MODEL_PATH=./local_models/ggml-gpt4all-j-v1.3-groovy.bin
|
|
|
|
#RESEND
|
|
RESEND_API_KEY=<change-me>
|
|
RESEND_EMAIL_ADDRESS=onboarding@resend.dev
|