Aditya Mundhalia
85ae06c829
correcting scroll & chat response view better code ( #960 )
2023-08-16 14:16:36 +02:00
Mamadou DICKO
f99f81d10f
feat: add brain missing message ( #958 )
2023-08-16 10:47:38 +02:00
Mamadou DICKO
9235a848d1
feat: change messages position ( #946 )
2023-08-14 10:43:10 +02:00
Mamadou DICKO
80be40ad34
feat: update chat ui ( #907 )
...
* feat: remove react-mentions
* feat: add chat header
* feat: remove v2/chat
* feat: add fature flag
* feat: add new chat UI
* feat: add prompt and brain name to messages
2023-08-11 10:06:20 +02:00
ChloeMouret
e9ebeef72a
feat: gpt4 is not available for brains if there is no given openAiKey ( #850 )
...
* rename defineMaxToken
* use gpt-3.5-turbo instead of gpt-3.5-turbo-0613
* gpt4 not available if no open ai key
2023-08-07 16:35:23 +02:00
Mamadou DICKO
b0514d6149
fix(i18n): update tests for french and spanish ( #878 )
...
* add libraries for traslation purposes
* Add button and service for language selection
* add spanish translation on login page
* add spanish translation on upload page
* Add spanish translations for explore page
* Add translations on user page
* Add translations for config page
* Add spanish translations on chat page
* add translations for brain page
* fix GUI and save on local storage
* fix (i18n) init and types
* fix (i18n): typos
* add translation on new brain modal
* add translations on metadata
* Add translations on home page
* fixes types
* fix(frontend-tests): use get by id instead of text
---------
Co-authored-by: Gustavo Maciel <gustavo_m13@outlook.com>
2023-08-07 14:13:41 +02:00
Mamadou DICKO
edcbb30e97
fix: bugs ( #818 )
...
* feat: add chat config modal
* feat: save chat config in localStorage
* feat: remove <ConfigPage/>
* feat: overwrite chat config with brain
* fix(SettingsPage): upload payload keys
* fix: update default brain marker logic
* feat: set new created brain as current selected brain
2023-08-01 16:25:02 +02:00
Stan Girard
b72139af60
style(import): fixed
2023-08-01 01:14:16 +02:00
Stan Girard
3166d089ee
feat(chat): added streaming ( #808 )
...
* feat(tmp): added streaming
* feat(streaming): implemented by changing order
2023-07-31 21:34:34 +02:00
Mamadou DICKO
7a2450eaf4
[ShareableBrain]: improve UX, fix minors bugs, refactor ( #695 )
...
* feat: add empty access list message
* feat: set default role to viewer
* feat: reset user invitation form after submit
* feat: add removing access indicator
* feat: add brain name on invitation page
* feat: display brain name on chat page
* feat: clear localStorage on logout
2023-07-18 18:28:44 +02:00
Matt
9f2cd7b7b6
fix: bug if no brain ( #635 )
2023-07-14 20:02:26 +01:00
Mamadou DICKO
0ce9c8ffcd
Frontend/test/config/2 ( #542 )
...
* test(useApiKeyConfig): add unit tests
* test(BackendConfig): add unit tests
2023-07-06 19:01:12 +02:00
Mamadou DICKO
c1535a9b86
Frontend/test/chat 4 ( #523 )
...
* refactor: move getHistory to api/chat
* test(chat): unit-tests getHistory
* refactor: rename useChatService useQuestion
* feat: add updateChat to api/chat
* test(chat): unit-tests updateChat
* refactor(ChatsListItem): add useChatsListItem
* feat: remove http request from provider and remove useChats
2023-07-05 18:33:18 +02:00
Mamadou DICKO
d51d4a1e90
Frontend/test/chat 3 ( #517 )
...
* refactor: add addQuestion to chat api
* test(chat): add unit tests to addQuestion
2023-07-05 13:39:07 +02:00
Mamadou DICKO
68642afbb8
Frontend/test/chat 2 ( #516 )
...
* feat: add chat api
* refactor(MicButton): move related hook
* feat: add nock http call example
* test(useChatApi): add unit tests
2023-07-05 13:33:26 +02:00
Mamadou DICKO
9bb7ccf651
Frontend/test/chat 1 ( #508 )
...
* feat: add providers mocks
* test(<ChatPage/>: add render test using providers
2023-07-05 09:30:22 +02:00
Mamadou DICKO
6acb13d4ae
Frontend/test/chat ( #496 )
...
* refactor(<ChatPage/>)
* test(<ChatInput />): add unit tests
* test(<ChatMessages />): add unit tests
2023-07-03 17:39:59 +02:00
Aditya Nandan
315411facd
remove blank scrollbars and use predefined components ( #452 )
...
* style(chat and brains dropdown): remove blank scrollbars and use predefined components
* style(chat): use custom scrollbar style by using scrollbar class
2023-07-02 14:30:11 +02:00
Stan Girard
3df2613caf
docs(sponsors): padding
2023-07-01 18:47:05 +02:00
Matt
6f047f4a39
feat: streaming for standard brain picking ( #385 )
...
* feat: streaming for standard brain picking
* fix(bug): private llm
* wip: test
Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
* wip: almost good
Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
* feat: useFetch
* chore: remove 💀
* chore: fix linting
* fix: forward the request if not streaming
* feat: streaming for standard brain picking
* fix(bug): private llm
* wip: test
Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
* wip: almost good
Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
* feat: useFetch
* chore: remove 💀
* chore: fix linting
* fix: forward the request if not streaming
* fix: 💀 code
* fix: check_user_limit
* feat: brain_id to new chat stream
* fix: missing imports
* feat: message_id created on backend
Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
* chore: remove dead
* remove: cpython
* remove: dead
---------
Co-authored-by: Mamadou DICKO <mamadoudicko@users.noreply.github.com>
2023-06-30 10:10:59 +02:00
Stan Girard
8978c8ab37
fix(path): made sure the frontend called with a / at the end
2023-06-29 07:33:19 +02:00
Zineb El Bachiri
ccdc5bb7a7
Feat/multiple brains files ( #361 )
2023-06-28 19:39:27 +02:00
Mamadou DICKO
dc64470d5d
Ux improvment ( #382 )
...
* feat: make chat list hidden on mobile by default
* feat: autoclose chat list on click
* feat: move footer to chat lists bottom when user is logged in
* feat: fix header when user is logged in
* chore: refacto ChatMessages
* feat: reverse chat list display on fetch
* feat: fix new chat button
2023-06-27 11:28:09 +02:00
Stan Girard
bdccdf1a0a
perf(analytics): added tracking for file upload and chat ( #376 )
2023-06-26 12:54:07 +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
Mamadou DICKO
e1a740472f
Feat: chat name edit ( #343 )
...
* feat(chat): add name update
* chore(linting): add flake8
* feat: add chat name edit
2023-06-20 09:54:23 +02:00
Zineb El Bachiri
1d7bc8a5bc
Devx/add linter rules ( #331 )
...
* 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
Zineb El Bachiri
f4aa22417f
Refactor/front ( #313 )
...
* 🚚 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
Aditya Nandan
52e723d534
use context to prevent having duplicate chat states ( #297 )
...
* 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 ( #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
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