Commit Graph

861 Commits

Author SHA1 Message Date
Aditya Nandan
57f9ef6170
Sticky - chat list, navbar, chat input (#295)
* feat: sticky navbar and sticky chatlist

* fix: remove unnecessary top padding

* style(chat): sticky chat input

* style(footer): increase vertical padding

* style(chat): sticky new chat button

* fix(chat): minor fixes

* fix(chat): center ChatMessages

* fix(chat): screen height chatlist
2023-06-11 10:44:23 +02:00
Stan Girard
44d067d28d fix(crawl): github 2023-06-11 00:30:19 +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
xleven
5a0f8326df
feat(chat): basic source documents support (#289) 2023-06-10 10:43:44 +02:00
Stan Girard
13a15ac926 fix(twitter): handle wrong 2023-06-10 00:05:50 +02:00
Stan Girard
0992acef97 feat(apikey): now password input 2023-06-09 23:40:16 +02:00
Stan Girard
4eb9d00c45 fix(key): not displayed 2023-06-09 23:29:06 +02:00
Stan Girard
399a3fe437 feat(brain): increased size if api key and more 2023-06-09 23:20:51 +02:00
Matt
a64df04eab
feat: self supplied key (#286) 2023-06-09 18:49:47 +02:00
Daniel
ff02e884eb
Style/chat (#278)
* 🎨style improve chat component

* ♻️ refactor code

* fix delete prop
2023-06-07 23:16:59 +02:00
Aditya Nandan
b441daf3f3
show signed in user's email on nav (#274) 2023-06-06 19:07:54 +02:00
ravikiranp123
6cbcc470e1
Fix margins on chat page for footer (#273) 2023-06-06 18:37:23 +02:00
ravikiranp123
6ca4d95de4
Save chat history locally (#267) 2023-06-06 18:11:36 +02:00
Aditya Nandan
98c409176d
Style /user route (#271)
* style(user): remove mui and complete overhaul of the layout

* docs(user): add useful comments

* fix(build): empty interface

* chore(comment): removed

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-06 17:32:48 +02:00
Zineb El Bachiri
cd15b74364
🐛 fix layout for authentification pages (#269) 2023-06-06 16:07:25 +02:00
Stan Girard
c26990f3a3 feat(homepage): changed to get started 2023-06-06 15:56:13 +02:00
Zineb El Bachiri
fbb841393a
Fix/footer (#268)
* 🐛 fix footer for pages (not chat page)

* 💄 make footer sticky at bottom

* 💄 fix display of chat over footer

*  multiple lines chat message input
2023-06-06 13:59:39 +02:00
Stan Girard
e0cf37791b feat(pdf): added new pdf miner that works 2023-06-06 11:18:33 +02:00
Stan Girard
963fb05682
feat(github): now github loader (#264) 2023-06-06 00:38:15 +02:00
Stan Girard
000933f5e0
Revert "feat(ui): improve footer (#259)" (#263)
This reverts commit a16deb682d.
2023-06-05 23:02:33 +02:00
Mamadou DICKO
48f35f0941
refactor(header): improved code modularity (#262) 2023-06-05 22:13:17 +02:00
Mamadou DICKO
67ca4e33fa
feat(auth): redirect to upload page on login (#260) 2023-06-05 22:10:12 +02:00
Mamadou DICKO
a16deb682d
feat(ui): improve footer (#259) 2023-06-05 22:03:50 +02:00
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