Mamadou DICKO
9382762d01
feat: add api_brain_definition table ( #1601 )
...
Issue: https://github.com/StanGirard/quivr/issues/1549
2023-11-07 14:03:50 +01:00
Mamadou DICKO
c47548d3cd
feat: setup premium feature backend ( #1467 )
...
Issue: https://github.com/StanGirard/quivr/issues/1468
2023-10-23 18:19:04 +02:00
Mamadou DICKO
a9d2145fe6
feat: add a cron to remove onboarding more than 7 days ( #1397 )
...
https://github.com/StanGirard/quivr/issues/1385
2023-10-16 16:11:34 +02:00
Mamadou DICKO
0477cce971
feat: add create_user_onboarding_function ( #1383 )
...
https://github.com/StanGirard/quivr/issues/1375
![Screenshot 2023-10-10 at 16 28
04](https://github.com/StanGirard/quivr/assets/63923024/07b8838f-74bc-408a-86ce-481e1224a8e4 )
2023-10-10 17:21:05 +02:00
Stanislav "Stan" Bogdanov
d2fcb737b7
FIX tables.sql - missing ; breaks SQL queries. ( #1348 )
...
# Description
A missing ; in the CREATE query for onboarding tables breaks the script
execution on Supabase.
## Checklist before requesting a review
Please delete options that are not relevant.
- [x ] My code follows the style guidelines of this project
- [ x] I have performed a self-review of my code
- [ x] Any dependent changes have been merged
## Screenshots (if appropriate):
2023-10-06 20:32:49 +02:00
Mamadou DICKO
16cea2c86b
feat: add onboarding_a column to onboarding table ( #1340 )
...
https://github.com/StanGirard/quivr/issues/1338
<img width="1215" alt="Screenshot 2023-10-05 at 18 05 30"
src="https://github.com/StanGirard/quivr/assets/63923024/67562c50-ddc1-4eaa-8b68-d374b2eb4b67 ">
2023-10-06 12:37:12 +02:00
Stan Girard
6f2023d4b0
feat(strapi): updated version
2023-10-05 10:10:02 +02:00
Mamadou DICKO
fbdc07af2c
feat: add onboarding table ( #1327 )
...
* feat: add onboarding table
* feat: add Onboarding repository
* feat: add onboarding controller
2023-10-05 09:47:29 +02:00
Stan Girard
ead1ae86fc
feat(user_settings): increased ( #1291 )
2023-09-30 22:32:53 +02:00
Mamadou DICKO
b121d49927
feat: add last_update field to brain table ( #1252 )
2023-09-25 11:33:23 +02:00
Mamadou DICKO
2c9a0c1ed2
feat: activate public brain subscription ( #1241 )
...
* feat: add public brain details modal
* feat(brain): add subscription route
* feat: activate subscription button
* feat: add last_update column to brain table
* feat: display last update on public brain details page
* feat: change RBAC rule for public brains
* feat: maintain brain last_update time
2023-09-22 11:44:09 +02:00
Stan Girard
e6cbbbcd37
fix(brain_size): increased size ( #1235 )
2023-09-20 17:43:46 +02:00
Zineb El Bachiri
be7acf052b
feat: get files from storage ( #1205 )
...
* 🌱 list files in storage & generate signed URL
* ✨ add knowledge router
* 🗃️ add knowledge tables
* ✨ add knowledge during upload
* 🚧 add knowledge a brain_knowledge models and repo
* 🔥 remove brain_knowledge
* ✨ add upload to knowledge table
* ✨ add crawl to knowledge table
* ✏️ fixes
2023-09-20 09:35:37 +02:00
Stan Girard
4d41901106
feat(perf): increased perf embedding and search for files ( #1182 )
...
* feat(upload): changed to task
* feat(sha1): added column for better speed
2023-09-15 23:39:29 +02:00
Stan Girard
4b806db3c0
fix(migration): removed ( #1170 )
2023-09-14 16:45:15 +02:00
Stan Girard
1d33fbd3eb
feat(file-system): added queue and filesystem ( #1159 )
...
* feat(queue): added
* feat(crawling): added queue
* fix(crawler): fixed github
* feat(docker): simplified docker compose
* feat(celery): added worker
* feat(files): now uploaded
* feat(files): missing routes
* feat(delete): added
* feat(storage): added policy and migrations
* feat(sqs): implemented
* feat(redis): added queue name variable
* fix(task): updated
* style(env): emoved unused env
* ci(tests): removed broken tests
2023-09-14 11:56:59 +02:00
Stan Girard
322ee318be
feat: the good user management ( #1158 )
...
* feat(user_management): added user management
* feat(user_management): added user management
* feat(user_management): removed print
* feat: use tanstack query for user data fecthing
* feat: add getUser to sdk
* feat: improve user page ux use tanstack query
* feat: fetch models from backend on brains settings page
* feat: update model selection on chat page
* feat: update tests
---------
Co-authored-by: mamadoudicko <mamadoudicko100@gmail.com>
2023-09-13 13:47:12 +02:00
Mamadou DICKO
575d9886c5
feat: add notifications table, and push notification on upload and crawl ( #1125 )
...
* feat: add notifications table
* feat: add Notification model
* feat: add notification repositories
* feat: add upload and crawl notifications
* feat: update notification message
2023-09-07 13:22:06 +02:00
Zineb El Bachiri
4b1f4b1412
feat(prompts): add public prompts to SQL db ( #1014 )
...
* ✨ add public prompts to SQL scripts
* 🚨 fix: missing zh-cn translation key
2023-08-22 13:14:31 +02:00
Zineb El Bachiri
9aaedcff51
Fix/requests limiting ( #980 )
...
* 🗃️ Rename users table into user_daily_usage
* 💥 replace User model with UserIdentity model
* 🗃️ New UserDailyUsage class for database interaction
* 🐛 fix daily requests rate limiting per user
* 🐛 fix user stats and properties update
* ✏️ add typing and linting
* 🚚 rename user_dialy_usage Class into user_usage & requests_count into daily_requests_count
* 🚑 fix some rebase errors
2023-08-21 14:05:13 +02:00
Mamadou DICKO
6e777327aa
feat(chatMessages): add brain_id and prompt_id columns ( #912 )
...
* feat: add prompt_id and brain_id to chat history)
* feat: add prompt_id and brain_id to chat routes
2023-08-10 10:25:08 +02:00
Mamadou DICKO
99a3fa9b29
feat: add custom prompt fields on brain setting pages ( #837 )
...
* feat(sdk): add prompt apis to sdk
* feat: implement prompt creation-n
* feat: add brain custom prompt fields
* fix: change tables creation order
2023-08-03 15:41:24 +02:00
Mamadou DICKO
4ca6c667da
feat(backend): implement brain-prompt link ( #831 )
...
* feat: add prompt_id field to brain
* feat(Prompt controller): update prompt routes
* feat: remove unused private prompts
* refactor: add BrainEntity and repo and service
* tests: partially type main Repository
* feat: add PromptStatusEnum enum
* feat: change delete prompt repository return type
2023-08-03 10:37:13 +02:00
Mamadou DICKO
e3b6114248
feat(prompt): add prompt table, entity and repository ( #823 )
...
* feat: add prompts table
* feat: add Prompt entity
* feat: add prompt router
* refactor(promptRepository): use common reposority
2023-08-03 09:53:38 +02:00
Mamadou DICKO
7532b558c7
feat: add user level open ai key management ( #805 )
...
* feat: add user user identity table
* feat: add user openai api key input
* feat: add encryption missing message
* chore: log more details about 422 errors
* docs(API): update api creation path
* feat: use user openai key if defined
2023-08-01 09:24:57 +02:00
Zineb El Bachiri
e05f25b025
Feat/update brain fields ( #756 )
...
* 🗃️ update and add fields in brains table
* ✨ update endpoints for more brain attribute
* ✨ new set as default brain endpoint
* 🔥 remove update brain with file
* ✏️ fix wrong auto imports
* 🐛 fix max tokens for model in front
* 🚑 post instead of put to set default brain
* 🚑 update brain creation endpoint with new fields
2023-07-25 15:22:17 +02:00
Mamadou DICKO
81b57c504a
Shareable brain 9 ( #677 )
...
* feat: add 20230717173000_add_get_user_id_by_user_email
* feat(ShareableBrain): add update access endpoint
* feat(sdk): add updateBrainAccess
* feat: add brain access control
* feat: improve ux
2023-07-18 14:30:19 +02:00
Mamadou DICKO
f8fce33191
feat: add 20230717164900_add_get_user_email_by_user_id ( #675 )
2023-07-17 17:24:31 +02:00
Matt
cef45ea712
Fix: change vector id to UUID ( #609 )
...
* fix: document upload
* feat: explore fix to use uuid id
* chore: remove prints
* fix: tables.sql
2023-07-12 11:44:34 +01:00
Zineb El Bachiri
f837a6e9b9
Feat/shareable brains send link be ( #599 )
...
* 🗃️ new table for invitations to subscribe to brain
* ✨ new BrainSubscription class
* ✨ new subscription router
* 👽 ️ add RESEND_API_KEY to .env in BE
* 📦 add 'resend' lib to requirements
* ♻️ fix some stanGPT
2023-07-11 18:20:31 +02:00
Stan Girard
f0a30b8452
docs(migration): updated table
2023-07-03 14:41:33 +02:00
Stan Girard
76156fdad3
feat: 🎸 migration
...
added migration script
2023-07-03 11:11:29 +02:00
Zineb El Bachiri
056a68d5ed
Fix/prod ( #425 )
...
* 🐛 update db tables script
* ✏️ fix users routes
* 🐛 add '/' AGAIN in URLs
2023-06-30 10:09:50 +02:00
Zineb El Bachiri
ccdc5bb7a7
Feat/multiple brains files ( #361 )
2023-06-28 19:39:27 +02:00
Mamadou DICKO
59fe7b089b
feat(chat): use openai function for answer ( #354 )
...
* feat(chat): use openai function for answer (backend)
* feat(chat): use openai function for answer (frontend)
* chore: refacto BrainPicking
* feat: update chat creation logic
* feat: simplify chat system logic
* feat: set default method to gpt-3.5-turbo-0613
* feat: use user own openai key
* feat(chat): slightly improve prompts
* feat: add global error interceptor
* feat: remove unused endpoints
* docs: update chat system doc
* chore(linter): add unused import remove config
* feat: improve dx
* feat: improve OpenAiFunctionBasedAnswerGenerator prompt
2023-06-22 17:50:06 +02:00
Zineb El Bachiri
e53bc6807d
Feat/multiple brains backend ( #340 )
...
* 🗃️ add new tables for multiple brains
* 🗑️ remove date input from fetch_user_id_from_credentials
* ✨ new /brain endpoints
* ♻️ refactor backend utils by splitting it into files
* 💡 comments for next actions to update /upload
2023-06-16 23:36:53 +02:00
Matt
33f49ee289
feat: user can create api keys ( #329 )
...
* feat: user can create api keys
* fix: linting on build
* Update backend/routes/api_key_routes.py
* chore: rename and refactor AuthBearer
* chore: add types
2023-06-14 21:21:13 +02:00
Matt
ec29f30f32
Feat: backend refactor ( #306 )
...
* fix: edge cases on migration scripts
* chore: remove unused deps.
* refactor: user_routes
* refactor: chat_routes
* refactor: upload_routes
* refactor: explore_routes
* refactor: crawl_routes
* chore(refactor): get current user
* refactor: more dead dependencies
* bug: wrap email in credentials dict.
---------
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-12 17:58:05 +02:00
Stan Girard
537efc834d
feat(sql): merged all into one and made migration fault tolerant
2023-06-11 21:11:43 +02:00