Mamadou DICKO
69a73f5d5a
feat: add new chat bar ( #896 )
...
* feat: add ActionsBar
* feat: add brain trigger
2023-08-08 17:28:34 +01:00
Stepan Lebedev
71e142ba3c
feat: deleting brains on brain manager page ( #893 )
...
* fix: new libraries for translation
* feat(deleting-brains-on-brain-management-page): adding a delete brain button and a confirmation modal on a management page
* feat(deleting-brains-on-brain-management-page): adding tests for confirmation Modal
* feat(deleting-brains-on-brain-management-page): Adding translation to the delete button and modal
2023-08-08 17:18:05 +01:00
Mamadou DICKO
c43e0c01c4
feat: add new chat page ( #890 )
2023-08-08 14:01:17 +01: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
Stan Girard
6d74aea729
Revert "Revert "feat: remove private prompts on related brain delete ( #842 )" ( #870 )" ( #876 )
...
This reverts commit 6184dfadfe
.
2023-08-07 10:15:38 +02:00
Stan Girard
6184dfadfe
Revert "feat: remove private prompts on related brain delete ( #842 )" ( #870 )
...
This reverts commit 4c15fe2bfd
.
2023-08-07 09:16:43 +02:00
Mamadou DICKO
4c15fe2bfd
feat: remove private prompts on related brain delete ( #842 )
...
* feat: remove private prompts on brain deletion
* ui: improve personnality picker
2023-08-07 08:13:03 +02:00
Thomas Pucci
5496e9d738
fix: remove typo ( #853 )
2023-08-04 18:56:54 +02:00
Mamadou DICKO
b3fb8fc3bc
feat: add public prompts picker ( #841 )
...
* fix: update prompt_id logic in payload
* feat: add getPublicPrompts to sdk
* feat: add public prompt picker
2023-08-03 17:00:05 +02:00
Mamadou DICKO
99a3fa9b29
feat: add custom prompt fields on brain setting pages ( #837 )
...
* feat(sdk): add prompt apis to sdk
* feat: implement prompt creation-n
* feat: add brain custom prompt fields
* fix: change tables creation order
2023-08-03 15:41:24 +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
Mamadou DICKO
7532b558c7
feat: add user level open ai key management ( #805 )
...
* feat: add user user identity table
* feat: add user openai api key input
* feat: add encryption missing message
* chore: log more details about 422 errors
* docs(API): update api creation path
* feat: use user openai key if defined
2023-08-01 09:24:57 +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
Stan Girard
df42cd9959
style: 💄 imports
...
fixed order
2023-07-31 09:18:18 +02:00
Corey Psoinos
87c5e582a2
fix(frontend): correctly display document information in explore view details ( #781 )
...
* stringify json values and render within pre tags so react can render them
* run prettier
* add tests for first document
* prettier
* return 'Not Available' instead of 'null' string
* don't render objects in document details; add tests
* remove newlines from imports
2023-07-31 09:02:54 +02:00
Mamadou DICKO
77ea2f2aa6
Brain management 4.2 ( #777 )
...
* feat: remove save changes button
* feat: refetch brains list on update
* feat: update forn initialization logic
* feat: prevent viewer to access people tab
* feat: set current brain asbrain management default selected brain
2023-07-26 16:54:03 +02:00
Mamadou DICKO
3529222b95
Brain management 4 ( #762 )
...
* feat: add <ApiKeyConfig/>
* feat(SDK): add update brain
* feat: add removeUndefined helper
* feat: remove unnecessary autofocus flag
* add brain settings tab
* ui: add tab delimitor
* feat: improve ux
2023-07-25 23:12:46 +02:00
Mamadou DICKO
046cc3fc1d
[Brain management] Add new fields to creation modal ( #755 )
...
* refactor(ModalConfig): move defineMaxTokensto helpers
* feat(AddBrain): add new properties
* feat(sdk): update createBrain
* feat(sdk): add setAsDefaultBrain
2023-07-25 12:08:08 +02:00
Mamadou DICKO
10b0cce992
feat: add brain management people page ( #754 )
2023-07-25 10:13:00 +02:00
Mamadou DICKO
37f904122c
feat: add brain management tabs ( #753 )
2023-07-25 09:54:34 +02:00
Mamadou DICKO
cf376fb59f
Brain management 1 ( #752 )
...
* feat: add brain management button
* feat: add brains list
* feat: add brain search bar
* feat: sort brain list by name
* refactor: update brains management page structure
* feat(BrainManagement): add new brain button
* feat: update import links
2023-07-24 14:17:21 +02:00
Mamadou DICKO
d27504f735
Feat/rate limiting ( #719 )
...
* feat: add max brain count
* fix: prevent page cashing when invitation is invalid
* feat: rename rights to role in frontend
2023-07-20 18:17:55 +02:00
Mamadou DICKO
eb779f9e58
Minor UX improvments ( #717 )
...
* feat: display user rights on invitation page
* feat: add brain name in invitation email
2023-07-20 15:15:43 +02:00
Mamadou DICKO
d7ca11f5d1
feat: prevent editor to share as owner ( #715 )
...
* feat(UploadPage): redirect to login if not connected
* feat: prevent editor to share as owner
2023-07-20 15:15:32 +02:00
Mamadou DICKO
6c5016c79a
[ShareableBrain]: Feat: require owner role to delete content or remove user access ( #711 )
...
* feat: require owner right to remove content from brain
* feat: require owner right to remove user access from brain
2023-07-19 17:13:02 +02:00
Zineb El Bachiri
bc33528297
✨ add brain name to explore and upload page ( #708 )
2023-07-19 13:51:53 +02:00
Mamadou DICKO
aa7bc483c2
feat: check user role on brain before file upload ( #709 )
2023-07-19 13:41:46 +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
Mamadou DICKO
81b57c504a
Shareable brain 9 ( #677 )
...
* feat: add 20230717173000_add_get_user_id_by_user_email
* feat(ShareableBrain): add update access endpoint
* feat(sdk): add updateBrainAccess
* feat: add brain access control
* feat: improve ux
2023-07-18 14:30:19 +02:00
Zineb El Bachiri
0b091bd8c9
Feat/shareable brains open link authenticated ( #676 )
...
* ♻️ use Single Responsibility Principle on brains_subscription
* ✨ new brain subscription endpoints for invited user
* 📝 add documentation to endpoints
* 🎨 add base_frontend_url to send custom url for brain share
* ✏️ brains instead of brain in url
* ✨ use origin in header for frontend url in subscription email
* 🚚 move and remove unused code
* ✨ new subscription API for BE endpoints in frontend
* ✨ new addBrain to add a shared brain in frontend
* 🥚 new hook for brain invitations
* ✨ new page for brain invitation
* ✨ change frontend url to copy for brain subscription
* ✏️ call RBAC with wrapper function
* ✏️ last typos
2023-07-18 09:47:59 +02:00
Mamadou DICKO
430ab54479
Shareable brain 8 ( #674 )
...
* feat(ShareableBrain): add get brain users endpoints
* feat(sdk): add getBrainUsers
* feat(ShareableBrain): display users with access
* feat: rename role to rights
* fix(Brain): fecth brains on auth status change
2023-07-17 15:45:18 +02:00
Matt
9f2cd7b7b6
fix: bug if no brain ( #635 )
2023-07-14 20:02:26 +01:00
Mamadou DICKO
bd0aa01ba1
Shareable brain 6 ( #628 )
...
* feat: add redirectToLogin helper
* feat: use redirectToLogin instead of redirect('login')
* feat: redirect to initial targeted page after login
2023-07-13 18:05:08 +02:00
Mamadou DICKO
677e6bcefe
Shareable brain 4 ( #611 )
...
* feat(useBrainApi): add subscription creation to sdk
* feat: add share brain submit handler
2023-07-12 15:45:45 +02:00
Stan Girard
85570d2e9e
feat: 🎸 google ( #587 )
...
added login first
2023-07-10 17:30:15 +02:00
Mamadou DICKO
3ba2c92b50
Frontent/test/explore/1 ( #552 )
...
* refactor(MultipleBrain): separate providing and data fetching
* refactor(MultipleBrain): update useBrainApi
* feat(MultipleBrains): remove unnecessary data fetchings
* test(useBrainApi): update unit tests
2023-07-07 12:56:08 +02:00
Mamadou DICKO
4261ddae51
Frontend/test/explore/1 ( #544 )
...
* refactor(<ExplorePage/>): add useExplore
* feat(api): add useBrainApi
* test(useBrainApi): add unit tests
2023-07-06 19:01:23 +02: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
b3a0db771a
Frontend/test/config/1 ( #534 )
...
* test(<ConfigPage />: add unit tests)
* refactor(ApiKeyConfig): add useApiKeyConfig
* test(ApiKeyConfig): add unit tests
2023-07-06 17:13:53 +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
4512bd05b5
test(<ChatsList />): add unit tests ( #498 )
2023-07-03 18:38:12 +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
Mamadou DICKO
6b39dd5641
Frontend/unit tests ( #485 )
...
* test(GoogleLogin): add unit tests
* test: run tests concurrently
* test(<LogoutPage/>): add unit tests
* chore: refactor <SigupPage/>
* test(<SignUpPage />): add unit tests
2023-07-03 14:59:24 +02:00
Stan Girard
3e68000983
docs(demo): updated demo video
2023-07-02 22:30:39 +02:00
Ziyad El Abid
8bb8c21e04
Feat/Add unit tests to RecoverPassword component ( #445 )
...
* test(RecoverPassword): add unit tests
* Returning a promise instead of using await (lint error) + fix build issues
* Test if updateUserMock was called in case of update failure
2023-07-02 18:56:12 +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
Stan Girard
b76262c4f0
Fix a bunch of issues ( #442 )
...
* fix(tokens): overflow
* fix(chat): fixed deletion error of the chat
#441
* fix(default-brain): autoset default brain when on upload page
* fix(promptengineering): changed prompt a bit
* feat(growthbook): removed
* docs(readme): updated
2023-07-01 17:22:28 +02:00
Stan Girard
1e47024d17
fix(streaming): added
2023-06-30 17:32:12 +02:00
Mamadou DICKO
1ac9d8a0e9
Add tests to frontend/(auth)/logout ( #439 )
...
* chore: refactor <Logout/>
* test(useLogout): add unit tests
2023-06-30 13:17:38 +02:00
Mamadou DICKO
e8b374e8a4
Frontend tests ( #426 )
...
* test(useGoogleLogin): add unit tests
* test(useMagicLinkLogin): add unit tests
* test(usePassword): add unit tests
* test(useLogin): add unit tests
* test(Login): add unit tests
2023-06-30 10:29:15 +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
Zineb El Bachiri
056a68d5ed
Fix/prod ( #425 )
...
* 🐛 update db tables script
* ✏️ fix users routes
* 🐛 add '/' AGAIN in URLs
2023-06-30 10:09:50 +02: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
4d9bd512ec
Fix/file upload explore ( #412 )
2023-06-29 18:26:03 +02:00
Mamadou DICKO
cd78594590
Config frontend tests ( #408 )
...
* test: configure vitest and RTL
* test: add test boilerplates
* feat(ci): added test-unit frontend
---------
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-06-29 13:18:30 +02:00
Stan Girard
3946dbc668
fix(crawler): route
2023-06-29 08:00:34 +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
e79da8e3cd
feat(auth): add password recovery ( #394 )
2023-06-28 14:35:18 +02:00
Stan Girard
9d07869b03
chore(analytics): added crawled url ( #389 )
2023-06-27 16:12:19 +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
30e764497d
perf(analytics): added usage analytics ( #381 )
2023-06-26 19:23:48 +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
97d2c9de10
[Analytics]: Add tracking ( #375 )
...
* feat: add june tracking config
* feat(tracking): add page view tracking
* feat(tracking): add event tracking
2023-06-26 11:36:15 +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
90bd49527b
fix(upload) ( #355 )
2023-06-20 17:41:16 +02:00
Zineb El Bachiri
9c8e0aa0e4
Feat/multiple brains frontend ( #344 )
...
* 🗑️ 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 ( #343 )
...
* feat(chat): add name update
* chore(linting): add flake8
* feat: add chat name edit
2023-06-20 09:54:23 +02:00
Ruben1701
377afe61ab
Chatlist standard ( #339 )
...
* 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 ( #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
Aditya Nandan
e6e5099d6b
Feat/responsive chat bar ( #314 )
...
* 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 ( #334 )
...
* 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 ( #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
Zineb El Bachiri
4c6beea626
Refactor/front fix navba ( #328 )
2023-06-14 15:00:05 +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
Zineb El Bachiri
b3453157e6
🐛 handle click on done in Config ( #304 )
...
♻️ refactor Config Component
2023-06-12 13:15:03 +02:00
Aditya Nandan
c54a0e59d1
Fix chat sidebar scroll ( #298 )
...
* 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 ( #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
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
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
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
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
Aditya Nandan
59c02228b6
refactor(chat): separate logic into hooks ( #237 )
2023-06-03 20:09:00 +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
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!
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
!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
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
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
327074c5d4
feat(auth): now application has authentication ( #144 )
...
* feat(auth): backend authentification verification
* feat(auth): added to all endpoints
* feat(auth): added to all endpoints
* feat(auth): redirect if not connected
* chore(print): removed
* feat(login): redirect
* feat(icon): added
* chore(yarn): removed lock
* chore(gitignore): removed
2023-05-24 22:21:22 +02:00
Stan Girard
f7e237905f
Feat auth ( #142 )
...
* feat(supabase): added auth
* feat(auth): working for front
* fix(auth): now front can build
* feat(auth): nice screen
2023-05-24 16:17:08 +02:00
!MAD!
380e264a2e
Responsive navbar ( #136 )
...
* feature: responsive navbar
* style: nav links hover animatiosn
2023-05-24 08:20:55 +02:00
dheerapat
b2ab0dfa4e
input text change bg according to dark prop ( #129 )
2023-05-23 17:29:14 +02:00
iMADi-ARCH
5e8439db9c
fix: Hydration error by making ENV variable public
2023-05-23 18:03:13 +05:30
iMADi-ARCH
d0e00ecca2
feature: auto hide nav on scroll
2023-05-23 16:37:44 +05:30
iMADi-ARCH
7a4f7d8bc0
feature: features section + responsive fixes
2023-05-23 16:15:10 +05:30
iMADi-ARCH
bae91ef65e
fix: consistent spacing
2023-05-23 13:36:58 +05:30
iMADi-ARCH
e31a75f814
style: responsive card
2023-05-23 11:24:25 +05:30
iMADi-ARCH
329163a128
style: Exit animation
2023-05-23 11:16:36 +05:30
iMADi-ARCH
e360683093
feature: Loading state for /explore
2023-05-23 11:04:53 +05:30
iMADi-ARCH
02a34a95a1
feature: optimistic update when deleting file
2023-05-23 10:58:37 +05:30
iMADi-ARCH
983ed2981b
feature: consume /explore/file_name to view details of an uploaded document
2023-05-23 09:35:04 +05:30
iMADi-ARCH
eb77a0986b
feature: delete file
2023-05-23 08:45:38 +05:30
iMADi-ARCH
bfc4d458fe
feature: empty brain
2023-05-22 23:54:18 +05:30
iMADi-ARCH
9103e97ef0
fix: add display name to card
2023-05-22 23:41:33 +05:30
iMADi-ARCH
73f4a73b01
fix: add display name to animated card
2023-05-22 23:38:15 +05:30
iMADi-ARCH
d35ec27351
fix: heading style
2023-05-22 23:35:52 +05:30
iMADi-ARCH
3a98a4ad20
fix: select dark mode
2023-05-22 23:33:38 +05:30
iMADi-ARCH
d7da5a3005
fix: dark mode for dialog
2023-05-22 23:29:40 +05:30
iMADi-ARCH
1c6e668a2c
style: use Dialog component for /explore
2023-05-22 23:24:18 +05:30
iMADi-ARCH
83287be4f1
style: use Dialog component for /explore
2023-05-22 23:24:07 +05:30
shaun
4fcc383c0c
fix url
2023-05-22 00:17:25 -07:00
shaun
a1693d94b2
Better envs
2023-05-21 21:18:55 -07:00
Stan Girard
56ba503cdf
url upload ( #108 )
...
* feat(url): input area
* feat(upload): added cards next to each other
* feat(typing): typed urlinput
2023-05-21 18:50:58 +02:00
Stan Girard
8acb4eb064
fix(file): updated file size
2023-05-21 15:54:52 +02:00
Stan Girard
f952d7a269
New Webapp migration ( #56 )
...
* feat(v2): loaders added
* feature: Add scroll animations
* feature: upload ui
* feature: upload multiple files
* fix: Same file name and size remove
* feat(crawler): added
* feat(parsers): v2 added more
* feat(v2): audio now working
* feat(v2): all loaders
* feat(v2): explorer
* chore: add links
* feat(api): added status in return message
* refactor(website): remove old code
* feat(upload): return type for messages
* feature: redirect to upload if ENV=local
* fix(chat): fixed some issues
* feature: respect response type
* loading state
* feature: Loading stat
* feat(v2): added explore and chat pages
* feature: modal settings
* style: Chat UI
* feature: scroll to bottom when chatting
* feature: smooth scroll in chat
* feature(anim): Slide chat in
* feature: markdown chat
* feat(explorer): list
* feat(doc): added document item
* feat(explore): added modal
* Add clarification on Project API keys and web interface for migration scripts to Readme (#58 )
* fix(demo): changed link
* add support to uploading zip file (#62 )
* Catch UnicodeEncodeError exception (#64 )
* feature: fixed chatbar
* fix(loaders): missing argument
* fix: layout
* fix: One whole chatbox
* fix: Scroll into view
* fix(build): vercel issues
* chore(streamlit): moved to own file
* refactor(api): moved to backend folder
* feat(docker): added docker compose
* Fix a bug where langchain memories were not being cleaned (#71 )
* Update README.md (#70 )
* chore(streamlit): moved to own file
* refactor(api): moved to backend folder
* docs(readme): updated for new version
* docs(readme): added old readme
* docs(readme): update copy dot env file
* docs(readme): cleanup
---------
Co-authored-by: iMADi-ARCH <nandanaditya985@gmail.com>
Co-authored-by: Matt LeBel <github@lebel.io>
Co-authored-by: Evan Carlson <45178375+EvanCarlson@users.noreply.github.com>
Co-authored-by: Mustafa Hasan Khan <65130881+mustafahasankhan@users.noreply.github.com>
Co-authored-by: zhulixi <48713110+zlxxlz1026@users.noreply.github.com>
Co-authored-by: Stanisław Tuszyński <stanislaw@tuszynski.me>
2023-05-21 01:20:55 +02:00
Stan Girard
424f055ca1
fix(demo): changed link
2023-05-19 09:12:46 +02:00
Stan Girard
ff2ad33309
fix(website): escaped character
2023-05-18 13:53:57 +02:00
Stan Girard
f042ff15f0
feat(vercel): added analytics
2023-05-18 13:49:53 +02:00
Stan Girard
2283dcfffa
feat(website): demo link update
2023-05-18 13:46:35 +02:00
!MAD!
df694819fa
Redesign the home page ( #55 )
...
* fix: Types
* chore: Restructure
* feature: Hero Section
* feature: Navbar
* feature: Tertiary Button
* feature: Add Video
* fix: Video responsive
* feature: Dark Mode toggle
* fix: Contrast
* feature: Store dark mode in localstorage
* style: Colors and bg blur
2023-05-18 13:37:03 +02:00
Stan Girard
5147e6fcdd
feat(secrets): loaded from env
2023-05-18 01:26:35 +02:00
Stan Girard
58630f7207
feat(api): new api init
2023-05-18 01:22:13 +02:00