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
Stan Girard
c01433c841
fix(openai): user key now used for llm model
2023-08-01 13:46:53 +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
3166d089ee
feat(chat): added streaming ( #808 )
...
* feat(tmp): added streaming
* feat(streaming): implemented by changing order
2023-07-31 21:34:34 +02:00
Ashish Baravaliya
3e8ed46317
fix: Toast message hidden under the footer ( #761 )
2023-07-31 09:03:19 +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
Zineb El Bachiri
e05f25b025
Feat/update brain fields ( #756 )
...
* 🗃️ update and add fields in brains table
* ✨ update endpoints for more brain attribute
* ✨ new set as default brain endpoint
* 🔥 remove update brain with file
* ✏️ fix wrong auto imports
* 🐛 fix max tokens for model in front
* 🚑 post instead of put to set default brain
* 🚑 update brain creation endpoint with new fields
2023-07-25 15:22:17 +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
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
8125d0858c
ui: close modal after brain creation ( #720 )
2023-07-20 18:21:36 +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
Mamadou DICKO
87458d8de1
Feat/brain access rights ( #705 )
...
* refactor(BrainUsers)
* feat: give brain share access to EDITORs
* feat(RBAC): add role enum and supports multiple roles check
* feat: make owner right read only for other permissions
2023-07-19 13:36:23 +02:00
Ashish Baravaliya
6a7bda392c
fix: brain ico click working ( #701 )
2023-07-19 11:20:43 +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
Mamadou DICKO
4d00a1ec92
feat(shareBrain): use subscription delete endpoint for brain deletion ( #634 )
2023-07-17 14:38:34 +02:00
Ikko Eltociear Ashimine
e822f9ad11
Fix typo in useBrainProvider.ts ( #574 )
2023-07-15 23:21:24 +02: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
Mamadou DICKO
783f8dea76
[ShareableBrain] User email and role inputs form ( #608 )
...
* feat: add invitation emails form
* test(ShareBrain): add tests
2023-07-12 14:56:25 +02:00
Mamadou DICKO
8749ffd0bd
Shareable Brains - 2 ( #601 )
...
* feat(brains): add fetching indicator
* feat: add brain share modal
2023-07-11 14:45:18 +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
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
Aditya Nandan
02272ab0ca
Search for brains through the dropdown ( #507 )
2023-07-05 09:24:42 +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
Matt
d840173992
fix: remove google on main ( #486 )
2023-07-03 15:26:58 +02:00
Stan Girard
a6aecea76c
chore(telemetry): added for DELETE_BRAIN ( #457 )
2023-07-02 18:59:15 +02:00
Aditya Nandan
ca0591d31c
feat(brain): add a delete button ( #456 )
2023-07-02 18:48:32 +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
2468a6da1d
chore(brain): adding button event
2023-07-01 18:40:43 +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
Stan Girard
ddab4a7c6c
fix(streaming): removing not working
2023-06-30 17:27:34 +02:00
Zineb El Bachiri
a13219c73f
🚑 quick fix for brain temporary redirect ( #427 )
2023-06-30 10:57:17 +02:00