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
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
MaHDi
8af6d61e76
improve (importing): reorganization of the import structure ( #964 )
...
* reorganize import level
* add __init__, reorganize import from __init__
* reorganize import level
* reorganize import level
* fix circular import error by keep the import deep as "from models.settings"
* fix the relative import
* restor unwanted staged files
* add backend/venv and backend/.env to gitignore
* clean importing
2023-08-21 12:25:16 +02:00
Stan Girard
ae7852ec3f
feat(health): added endpoint for services ( #989 )
2023-08-20 23:20:57 +02:00
Stan Girard
d0370ab499
feat(refacto): changed a bit of things to make better dx ( #984 )
2023-08-19 13:32:16 +02:00
Matt
e61f437ce8
Feat/backend core ( #656 )
2023-07-17 07:57:27 +01:00
Matt
9f2cd7b7b6
fix: bug if no brain ( #635 )
2023-07-14 20:02:26 +01:00
Mamadou DICKO
9e9f531c99
Feat/static analysis ( #582 )
...
* feat: add static analysis
* chore: update Makefile add static analysis script
* chore: add vscode extensions recommandations
2023-07-10 14:27:49 +02:00
Matt
e931d29017
feat: new classes ( #499 )
...
* feat: new classes
* chore: private llm refactor and enable streaming
* fix: validation errors in pytest
* fix: default brain behavior
* Update backend/llm/base.py
* chore: remove 🪦
* fix: remove 🪦
2023-07-04 16:56:54 +01:00
Zineb El Bachiri
b016413099
✏️ add / in all explore url ( #415 )
...
* ✏️ add / in all explore url
* 🐛 fix user routes
* ⚰️ remove dead code
* ✨ add name to active brain
2023-06-30 09:08:40 +02:00
Zineb El Bachiri
ccdc5bb7a7
Feat/multiple brains files ( #361 )
2023-06-28 19:39:27 +02:00
Stan Girard
c7fdbf6dec
feat(refacto): removed commons
2023-06-19 22:54:01 +02:00
Stan Girard
72a6ae3dc0
feat(settings): refactored
2023-06-19 22:46:25 +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
Ruben1701
8fb245fe2a
Improved api docs ( #336 )
...
* auyto removed
* updated the api docs
* fixed missing logic in api_key_route + chat_route
* Update settings.json
---------
Co-authored-by: Ruben170 <35116541+Ruben170@users.noreply.github.com>
2023-06-15 14:43:40 +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
Zineb El Bachiri
4112699db5
Feat/user chat history ( #275 )
...
* ♻️ refactor backend main routes
* 🗃️ new user_id uuid column in users table
* 🗃️ new chats table
* ✨ new chat endpoints
* ✨ change chat routes post to handle undef chat_id
* ♻️ extract components from chat page
* ✨ add chatId to useQuestion
* ✨ new ChatsList
* ✨ new optional dynamic route chat/{chat_id}
* 🩹 add setQuestion to speach utils
* feat: self supplied key (#286 )
* feat(brain): increased size if api key and more
* fix(key): not displayed
* feat(apikey): now password input
* fix(twitter): handle wrong
* feat(chat): basic source documents support (#289 )
* ♻️ refactor backend main routes
* 🗃️ new user_id uuid column in users table
* 🗃️ new chats table
* ✨ new chat endpoints
* ✨ change chat routes post to handle undef chat_id
* ♻️ extract components from chat page
* ✨ add chatId to useQuestion
* ✨ new ChatsList
* ✨ new optional dynamic route chat/{chat_id}
* 🩹 add setQuestion to speach utils
* 🎨 separate creation and update endpoints for chat
* 🩹 add feat(chat): basic source documents support
* ✨ add chatName upon creation and for chats list
* 💄 improve chatsList style
* User chat history and multiple chats (#290 )
* ♻️ refactor backend main routes
* 🗃️ new user_id uuid column in users table
* 🗃️ new chats table
* ✨ new chat endpoints
* ✨ change chat routes post to handle undef chat_id
* ♻️ extract components from chat page
* ✨ add chatId to useQuestion
* ✨ new ChatsList
* ✨ new optional dynamic route chat/{chat_id}
* refactor(chat): use layout to avoid refetching all chats on every chat
* refactor(chat): useChats hook instead of useQuestion
* fix(chat): fix errors
* refactor(chat): better folder structure
* feat: self supplied key (#286 )
* feat(brain): increased size if api key and more
* fix(key): not displayed
* feat(apikey): now password input
* fix(twitter): handle wrong
* feat(chat): basic source documents support (#289 )
* style(chat): better looking sidebar
* resume merge
* fix(backend): add os and logger imports
* small fixes
* chore(chat): remove empty interface
* chore(chat): use const
* fix(chat): merge errors
* fix(chat): remove useSpeech args
* chore(chat): remove unused args
* fix(chat): remove duplicate components
---------
Co-authored-by: gozineb <zinebe@theodo.fr>
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
Co-authored-by: xleven <xleven@outlook.com>
* fix and refactor errors
* fix(fresh): installation issues
* chore(conflict): merged old code
* fix(multi-chat): use update endpoint
* feat(embeddings): now using users api key
---------
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
Co-authored-by: xleven <xleven@outlook.com>
Co-authored-by: Aditya Nandan <61308761+iMADi-ARCH@users.noreply.github.com>
Co-authored-by: iMADi-ARCH <nandanaditya985@gmail.com>
Co-authored-by: Mamadou DICKO <mamadoudicko100@gmail.com>
2023-06-10 23:59:16 +02:00