1
1
mirror of https://github.com/QuivrHQ/quivr.git synced 2024-12-15 17:43:03 +03:00
Commit Graph

102 Commits

Author SHA1 Message Date
Zineb El Bachiri
9c8e0aa0e4
Feat/multiple brains frontend ()
* 🗑️ remove date input from fetch_user_id_from_credentials

* ♻️ refactor backend utils by splitting it into files

* 💡 comments for next actions to update /upload

* 🚚 move SupabaseProvider tp libs

* 🚚 move useAxios to hooks

* ♻️ refacto brain routes

* 🚨 update lintermfor paths

*  new brain context provider

*  new brain component in navbar

* 🚨 fix linter and async

* 🇸🇪 add feature flag for multiple-brains
2023-06-20 16:17:13 +02:00
Mamadou DICKO
e1a740472f
Feat: chat name edit ()
* feat(chat): add name update

* chore(linting): add flake8

* feat: add chat name edit
2023-06-20 09:54:23 +02:00
Stan Girard
c0ff030100 feat(k): increased to 16 2023-06-17 01:32:03 +02:00
Stan Girard
f833de47bc feat(openai): 16k 2023-06-16 17:52:32 +02:00
Ruben1701
377afe61ab
Chatlist standard ()
* auyto removed

* changed to standard being open

---------

Co-authored-by: Ruben170 <35116541+Ruben170@users.noreply.github.com>
2023-06-15 17:59:17 +02:00
Zineb El Bachiri
1d7bc8a5bc
Devx/add linter rules ()
* remove duplicate import

* 🚧 add new linter configuration

* 🧑‍💻  add and run prettier

* 🐛 add babel parser for linter

* 🧑‍💻 add lint-fix command

* 🚨 use lint-fix

* 🚨 remove 'FC' as a type. Use const and JSX.Element

* 🚨 enforce arrow function rule from linter

* 🔥 delete unused file

* 🚨 adding /* eslint-disable */ in failing files

* 💩 add ts-expect-error to Victory components
2023-06-15 11:52:46 +02:00
Aditya Nandan
e6e5099d6b
Feat/responsive chat bar ()
* feat(chat): close and open chatbar on button toggle

* feat(chat): drag to open chat bar

* fix(chat): fix warning of not being able to animate shadows

* fix(chat): make chat input a little responsive

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-14 22:58:37 +02:00
Cezar Vasconcelos
3b7390dd61
Feat/add new openai llm models ()
* feat(frontend): update OpenAi models and maxToken select's

* fix: update openai model to use the most recent

* fix: adjust max token for gpt-3 turbo

* fix: duplicating models

* fix: openai model type list
2023-06-14 21:30:52 +02:00
Matt
33f49ee289
feat: user can create api keys ()
* 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
Zineb El Bachiri
4c6beea626
Refactor/front fix navba () 2023-06-14 15:00:05 +02:00
Zineb El Bachiri
f4aa22417f
Refactor/front ()
* 🚚 move footer component

* 🚚 move navbar component

* 🚚 move ui components

* 🚚 move browser tab icon to public folder

* 🚚 move Chat Provider

* 🚚 move hooks to lib

* 🚚  move helpers to lib

* 🚚 move types to lib
2023-06-13 16:33:41 +02:00
Stan Girard
de8daa04bf fix(prompt): less picky 2023-06-13 14:43:53 +02:00
Zineb El Bachiri
b3453157e6
🐛 handle click on done in Config ()
♻️ refactor Config Component
2023-06-12 13:15:03 +02:00
Aditya Nandan
c54a0e59d1
Fix chat sidebar scroll ()
* fix(chat): Use a global chat context to avoid duplicate states

* fix(chat): update chats list when creating a new chat

* fix(chat): scroll into view end
2023-06-11 15:20:59 +02:00
Aditya Nandan
52e723d534
use context to prevent having duplicate chat states ()
* fix(chat): Use a global chat context to avoid duplicate states

* fix(chat): update chats list when creating a new chat
2023-06-11 14:34:36 +02:00
Aditya Nandan
57f9ef6170
Sticky - chat list, navbar, chat input ()
* 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
Zineb El Bachiri
4112699db5
Feat/user chat history ()
* ♻️ 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 ()

* 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 ()

* ♻️ 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 ()

* ♻️ 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 ()

* 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 ()

* 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
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 () 2023-06-09 18:49:47 +02:00
Daniel
ff02e884eb
Style/chat ()
* 🎨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 () 2023-06-06 19:07:54 +02:00
ravikiranp123
6cbcc470e1
Fix margins on chat page for footer () 2023-06-06 18:37:23 +02:00
ravikiranp123
6ca4d95de4
Save chat history locally () 2023-06-06 18:11:36 +02:00
Aditya Nandan
98c409176d
Style /user route ()
* 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 () 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 ()
* 🐛 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
000933f5e0
Revert "feat(ui): improve footer ()" ()
This reverts commit a16deb682d.
2023-06-05 23:02:33 +02:00
Mamadou DICKO
48f35f0941
refactor(header): improved code modularity () 2023-06-05 22:13:17 +02:00
Mamadou DICKO
67ca4e33fa
feat(auth): redirect to upload page on login () 2023-06-05 22:10:12 +02:00
Mamadou DICKO
a16deb682d
feat(ui): improve footer () 2023-06-05 22:03:50 +02:00
Mamadou DICKO
4c6bcf77c6
feat(upload): implement parallel file upload () 2023-06-05 20:38:46 +02:00
Mamadou DICKO
93fc44b32e
fix(crawl): update link () 2023-06-05 20:28:56 +02:00
Zineb El Bachiri
a5c71be731
Feat/user page ()
*  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
Aditya Nandan
cab19fe509
Style/modal ()
* 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 () 2023-06-05 07:53:47 +02:00
Shan
0f86e7d247
Fix for content overflow on Explore ()
* 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 ()
* 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
Stan Girard
a3ca7ecb37
Back/refacto files ()
* 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 () 2023-06-03 20:09:00 +02:00
Aditya Nandan
b80e95c20e
ui(config): use max width instead of w-1/2 () 2023-06-03 17:42:00 +02:00
Mamadou DICKO
6ff9309082
Feat/model config ()
* 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 () 2023-06-02 16:01:46 +02:00
Aditya Nandan
4ab1f5c21f
fix(chat): only allow speech recognition if supported () 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
72c92b1a54
VertexAI Google Cloud Palm2 Support ()
* feat(bard): added

* docs(readme): update

* chore(print): removed
2023-06-01 16:01:27 +02:00