Commit Graph

338 Commits

Author SHA1 Message Date
Mamadou DICKO
4c6bcf77c6
feat(upload): implement parallel file upload (#258) 2023-06-05 20:38:46 +02:00
Mamadou DICKO
93fc44b32e
fix(crawl): update link (#257) 2023-06-05 20:28:56 +02:00
Stan Girard
90b2393b26 fix(zineb): she broke everything 2023-06-05 18:26:23 +02:00
Zineb El Bachiri
a5c71be731
Feat/user page (#255)
*  new backend get /user endpoint

*  new user page for statistics

* 📦 add @mui/material & its dependencies
📦 add prettyBytes package

* 🌱 new UserStatistics component for user page

* 🏷️ use RequestStat type for requests_stats

*  new brainConsumption component

*  new Date component

* 📦 add  date-fns, victory

*  requests per day chart

*  full UserStatistics component

*  put UserStatistics in Card in user's page
2023-06-05 17:58:59 +02:00
Stan Girard
5a686a42cb fix(crawl): added error handling 2023-06-05 17:49:19 +02:00
Stan Girard
fb3eb54044 docs(roadmap): put correct link 2023-06-05 16:16:10 +02:00
Stan Girard
5ea6f08579 docs(roadmap): added link 2023-06-05 16:15:34 +02:00
Aditya Nandan
cab19fe509
Style/modal (#253)
* fix(modal): vertically centered modal

* fix(explore): dark mode for modal
2023-06-05 08:41:19 +02:00
Aditya Nandan
6aeaef92e0
Fix/overflow issues 232 233 (#252) 2023-06-05 07:53:47 +02:00
Shan
0f86e7d247
Fix for content overflow on Explore (#248)
* Fix for content overflow on Explore

* Requested changes
2023-06-04 20:02:29 +02:00
Shan
d2f57b4c2a
Added footer with Github and Twitter links (#249)
* Added footer with Github and Twitter links

* Fixed Twitter account link
2023-06-04 19:35:08 +02:00
Stan Girard
4144d788d3 fix(demo): removed gpt4 from choices 2023-06-04 16:57:55 +02:00
Lecky Lao
fbae9016e2
fix(parser): process audio wrong argument (#243) 2023-06-04 11:53:49 +02:00
Stan Girard
a3ca7ecb37
Back/refacto files (#240)
* feat(docker): added docker for prod

* feat(refacto): moved to modules
2023-06-03 23:12:42 +02:00
Aditya Nandan
59c02228b6
refactor(chat): separate logic into hooks (#237) 2023-06-03 20:09:00 +02:00
Stan Girard
f2164db12c feat(cors): fix 2023-06-03 19:17:48 +02:00
Stan Girard
642c48efdc ci(ecs): fixed backend name 2023-06-03 19:14:02 +02:00
Stan Girard
5323d93dc1 feat(api): cors 2023-06-03 19:07:50 +02:00
Aditya Nandan
b80e95c20e
ui(config): use max width instead of w-1/2 (#236) 2023-06-03 17:42:00 +02:00
Mamadou DICKO
6ff9309082
Feat/model config (#223)
* feat(axios): add global manager

* feat: add config page

* feat(axios): add backendUrl overwrite

* feat(brainConfig): add supabase url overwrite

* feat(chat): change model config logic + add more model

* feat: add openai and anthropic api key overwrite

* feat(config): save config in local storage

* feat(config): add reset button

* feat: move vertexai to config page

* ui: add brain config icon
2023-06-02 17:01:49 +02:00
Aditya Nandan
2f6407ef9e
feat(upload): remove files after uploading (#231) 2023-06-02 16:01:46 +02:00
Aditya Nandan
4ab1f5c21f
fix(chat): only allow speech recognition if supported (#229) 2023-06-02 16:01:24 +02:00
Stan Girard
8db1fc3957 feat(login): navbar now changes when logged in 2023-06-02 11:28:13 +02:00
Stan Girard
ce11a9d54a feat(cors): changed to production value 2023-06-02 11:15:12 +02:00
Stan Girard
dc495523cc feat(aws): deployment 2023-06-02 09:28:26 +02:00
Zineb El Bachiri
c3bb0257f0
Feat/rate limiter (#222)
* 🔧 new use rate limiting env variables

* 🗃️ new Users table for rate limiting

* limit user's requests number per day

*  limit user's brain size

* docs(readme): updated with new migration

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-01 22:51:39 +02:00
Stan Girard
72c92b1a54
VertexAI Google Cloud Palm2 Support (#226)
* feat(bard): added

* docs(readme): update

* chore(print): removed
2023-06-01 16:01:27 +02:00
!MAD!
f4327660e5
fix(script): rename documents to vectors (#221) 2023-05-31 18:01:01 +02:00
Stan Girard
e0de23e24d
Feat/single brain (#215)
* feat(llm): update

* feat(singlebrain): added new table with user-id

* feat(user): get user from email

* feat(user_id): added search

*  add user_id to most endpoints

* docs(readme): new script

---------

Co-authored-by: gozineb <zinebe@theodo.fr>
2023-05-31 13:51:23 +02:00
Mamadou DICKO
505da5d3b4
chore(docker): use yarn.lock instead of package-lock.json (#213) 2023-05-30 19:16:28 +02:00
Zineb El Bachiri
cc6ec8fee9
new ODT document loader (#211) 2023-05-30 13:02:48 +02:00
!MAD!
3769795f9e
Fix/poplayout warning (#194)
* fix(auth): use redirect instead of router

* fix(auth): use router for after render redirects

* fix(anims): forward ref in file component

* fix(anims): forward ref in document item

* fix(CI)
2023-05-29 12:26:49 +02:00
!MAD!
989f8de4ca
Fix/issue 184 (#185)
* fix(auth): use redirect instead of router

* fix(auth): use router for after render redirects
2023-05-29 00:46:15 +02:00
YifeiShi99
b92f5a7915
add-speech-to-text-in-chat (#182)
* add-speech-to-text-in-chat

* implement change request and fix CI error
2023-05-29 00:45:48 +02:00
Mamadou DICKO
53d4bad529
chore(.env): remove unnecessary quotes from values (#189) 2023-05-28 22:32:16 +02:00
!MAD!
3ee69683e0
UX improvements (#179) 2023-05-27 16:42:48 +02:00
Mamadou DICKO
655f07ddd3
feat(toast): use id for open status toggling (#178) 2023-05-27 12:35:39 +02:00
Mamadou DICKO
e388990384
feat(toast): add global publisher (#177) 2023-05-27 12:22:19 +02:00
Mamadou DICKO
d44e9e1984
Feat: Google and magic link authentification (#175)
* feat(login): add magic link login

* feat(login): add google login
2023-05-27 10:00:10 +02:00
Mamadou DICKO
85f89b4df1
Feat/improve UI (#174)
* feat(signup): add sign in page link

* feat(upload): improve ui

* ui(header): add logout button

* feat(login): add redirection for logged user
2023-05-27 00:12:57 +02:00
Stan Girard
1a11f6045e chore(yarn): added yarn.lock 2023-05-26 14:28:15 +02:00
Mamadou DICKO
d848d5aa0b
Chore: add husky, no-unused-vars & no-explicit-any eslint rules (#168)
* chore: add husky

* chore(eslint): add  no-unused-vars rule

* chore(eslint): add  no-explicit-any rule

* chore: add PR template
2023-05-26 13:56:29 +02:00
!MAD!
0ef223dbab
fix flickery navbar (#165)
* fix: flickery navbar
2023-05-26 11:34:52 +02:00
!MAD!
0c6d7fded2
fix /explore recursion due to useEffect (#164)
* fix: /explore recursion

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-05-26 11:27:29 +02:00
!MAD!
f69c64ead1
Toasts (Notification Component) (#163)
* feature: responsive navbar

* style: nav links hover animatiosn

* style: better Input Fields

* refactor: use form submit instead of button onclick

* feature: loading states

* feature: log out confirmation

* feature: basic toast

* feature: Toast variants

* fix: use global toast provider

* feature: use toast instead of alert for auth routes

* fix(mobile): nav menu close on route change

* fix: field dark mode

* feature: redirect when login and logout

* refactor: group auth routes

* refactor: use @/app imports

* style: use Field on /upload

* fix: forward ref

* feature: Multi toast

* feature: add toasts to /upload

* refactor: new login in auth group

* chore: quote

* chore(pnpm): removed

* feature: toasty animations

* fix: build errors and warnings

* chore: remove irrelevant comments

* fix: use unique ids for toasts

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-05-26 10:57:29 +02:00
Stan Girard
e11183ed07 chore(binary): removed 2023-05-26 08:11:34 +02:00
Shan
7adcdd3d51
Support for capitalized file extensions such as PDF (#146) 2023-05-25 23:58:38 +02:00
Mamadou DICKO
20ed6183b9
Feat: improve login page ux (#159) 2023-05-25 23:27:59 +02:00
Shan
cc6ea15dcd
UI text improvements (#147)
* UI text improvements

* UI text improvements
2023-05-25 10:10:35 +02:00
Stan Girard
e244b2d8c1 chore(star): removed 2023-05-24 23:08:59 +02:00