Zineb El Bachiri
d2b4ef4aff
feat: knowledge tab list ( #1222 )
...
* ✨ get all knowledge utils
* ✨ add remove knowledge and update router
* ✨ new knowledge provider
* 🚨 remove eslint -disable
* ✨ new useKnowledgeApi
* ✨ set up KnowledgeItem
* ✨ add KnowledgeTable component in knowledge tab
* 🔥 remove DocumentData replaced by KnowledgeItem
* 🐛 fix weird characters instead of '/'
* 💄 truncate knowledge name
* ✨ add DownloadUploadedKnowledge component
* ⚰️ unused code
* 🏷️ introduce UploadedKnowledge and CrawledKnowledge types
* 💄 remove thread
* 💄 bin for delete knowledge
* 🌐 update wording for knowledge tab
* 🔇 remove logs and comments
2023-09-22 16:06:04 +02:00
Mamadou DICKO
2c9a0c1ed2
feat: activate public brain subscription ( #1241 )
...
* feat: add public brain details modal
* feat(brain): add subscription route
* feat: activate subscription button
* feat: add last_update column to brain table
* feat: display last update on public brain details page
* feat: change RBAC rule for public brains
* feat: maintain brain last_update time
2023-09-22 11:44:09 +02:00
Mamadou DICKO
8172704b61
feat: add public brain page ( #1230 )
...
* feat: add brain library button
* feat(Field): add inputClassName key
* feat: add GET brains/public route
* feat: add brains library layout
* feat: add brain subscriber count
2023-09-21 09:35:53 +02:00
Stan Girard
0d29c9e3c4
Feat/paperclip ( #1234 )
...
* feat(upload): changed icons
* feat(tokens): increased
2023-09-20 17:21:29 +02:00
Stan Girard
5411a65d1d
feat(tokens): increased to 500 min
2023-09-20 17:03:32 +02:00
Mamadou DICKO
1593c3342c
feat: display brain status on settings page ( #1221 )
...
* feat: update GET/brains return status
* feat: add public tag on brain list
* feat: add public tag for public brain on brain settings tab
* feat: hide over tab when brain access is public
2023-09-20 16:24:56 +02:00
Mamadou DICKO
37935c59ca
feat: add public brain creation ( #1218 )
...
* feat: add brain status input
* feat: update translations
* feat: add confirmation modal for brain status changing to public
2023-09-20 09:35:09 +02:00
Mamadou DICKO
1ec736b357
fix: fix some bugs ( #1201 )
...
* feat(brainSettings): add feed process instrcution to knowledge tab
* feat: prevent default brain auto fetch
* feat: prevent chat submision on submit button click
* feat: remove unrelevant toast
* feat: remove duplicated GA initialization
* feat: add brain name in notifications
* fix(test): update analytics import path
* refactor: move ChatsList utils to ChatsList directory
* fix(test): update chatlist tests
2023-09-18 21:28:07 +02:00
Stan Girard
8914c7c357
fix(chats): now in order and with a little bonus ;) ( #1200 )
...
* fix(chats): now in order and with a little bonus ;)
* style(eslint): fixed
2023-09-18 18:25:28 +02:00
Zineb El Bachiri
886d30cf9e
feat(analytics): add google analytics ( #1147 )
...
* 🚚 move june analytics to folder and update paths
* ✨ set up google analytics
* ✨ sent firt GA event with react-ga
* 🔒 ️ update security headers to include vercel and google analytics
* 🚚 rename Vercel Analytics
* ✨ use react-ga4 instread
* 💚 fix tests
2023-09-18 15:12:50 +02:00
Mamadou DICKO
b39566882b
feat: add tooltip on upload card toggle button ( #1197 )
2023-09-18 14:51:30 +02:00
Mamadou DICKO
7dd404935b
feat(e2e): add playright config and createBrain e2e test ( #1177 )
...
* chore: add playright config
* feat: add playright first examples
* feat: add 'test-e2e command'
* feat: add createBrain E2E test
2023-09-18 10:23:56 +02:00
Stan Girard
4fb8c34efd
fix(usersettings): Fix bugs with user settings in the back always gpt-3.5-turbo ( #1183 )
...
* fix
* feat(gpt4): added support for gpt4
2023-09-16 00:22:42 +02:00
Stan Girard
223d3d9102
feat(frontend): responsiveness ( #1174 )
...
* feat: 🎸 responsiveness chat
* feat: 🎸 responsive
added responsive menu
* feat: 🎸 responsive
brain management
* fix: 🐛 docker
prod
2023-09-15 01:09:26 +02:00
Mamadou DICKO
2b4c3ecbbc
feat: update header and improve ux ( #1164 )
...
* feat: add Knowledge tab
* feat: use tanstack query for knowledges fetching
* feat: update header
* feat: remove upload page
* feat: make chat page the default redirection page
* feat(homePage): redirect user to chat page when already authenticated
2023-09-13 16:43:25 +02:00
Mamadou DICKO
70ffa5d6be
feat: add knowledge tab on brains settings page ( #1163 )
...
* feat: add Knowledge tab
* feat: use tanstack query for knowledges fetching
2023-09-13 16:41:28 +02:00
Stan Girard
322ee318be
feat: the good user management ( #1158 )
...
* feat(user_management): added user management
* feat(user_management): added user management
* feat(user_management): removed print
* feat: use tanstack query for user data fecthing
* feat: add getUser to sdk
* feat: improve user page ux use tanstack query
* feat: fetch models from backend on brains settings page
* feat: update model selection on chat page
* feat: update tests
---------
Co-authored-by: mamadoudicko <mamadoudicko100@gmail.com>
2023-09-13 13:47:12 +02:00
Mamadou DICKO
7f9ea9d64c
feat: remove <BrainConfigProvider /> ( #1154 )
2023-09-12 18:04:35 +02:00
Mamadou DICKO
7cc90ef258
feat: add polling for pending notifications ( #1152 )
...
* feat: add notification controller
* feat: add polling logic on pending notifications
* feat: refecth notifications on Feed
2023-09-12 18:00:46 +02:00
Mamadou DICKO
10af0c949a
feat: add notifications components ( #1148 )
...
* feat: rename ChatMessages to MessagesDialog
* feat: rename history to messages
* feat: add notifications to ChatContext
* feat: add getNotificationsFromChatHistory
* feat: add getMergedChatHistoryWithReducedNotifications
* refactor: update useActionBar
* refactor: update <ChatMessage />-n
* feat: update crawler and endpoint notifications content
* feat: display notifications
* test: update <MessageDialog /> tests
* feat: rename ChatMessage to QADisplay
* feat: rename ChatHistory to ChatMessage
* feat(upload): throw error when file missing
* feat: rename getMergedChatHistoryWithReducedNotifications to getMergedChatMessagesWithReducedNotifications
* feat: change history wording to message
* feat: move getFileIcon to lib
* refactor(NotificationDisplayer): move types to types.ts
* chore: improve ux
* feat: rename MessagesDialog to ChatDialogue
2023-09-12 17:44:15 +02:00
Mamadou DICKO
72659709a8
fix: update crawl and upload endpoints ( #1142 )
2023-09-08 11:03:14 +02:00
Mamadou DICKO
9464707d40
feat: merge chat history with chat notifications ( #1127 )
...
* feat: add chat_id to upload and crawl payload
* feat(chat): return chat_history_with_notifications
* feat: explicit notification status on create
* feat: handle notifications in frontend
* feat: delete chat notifications on chat delete request
2023-09-07 17:23:31 +02:00
Mamadou DICKO
f230bc10de
feat(crawler): add multiple urls support ( #1112 )
...
* feat(Field): add icon support
* feat(Crawler): replace submit button with send icon
* feat(crawler): add multiple urls support
* feat: add <FeedItems/> component to display adding items
* feat(FeedItems): add remove icon
* feat: add url displayer
* feat: add invalid url message
* fix: add crawler to upload page
* feat: clean sueCrawler
* feat: rename Feed to KnowledgeToFeed
* feat: add tracking
2023-09-05 18:47:18 +02:00
Mamadou DICKO
14e44ac6ec
feat: add FeedBrainInput component ( #1101 )
...
* feat: add FeedBrainInput component
* feat: add upload button
* feat: update translations add feed_brain_placeholder
* refactor(uploadPage): add config.ts
* feat(lib): add MentionInput
* feat: add <BrainSelector/> component
* feat: update FeedBrainInput
2023-09-04 15:27:06 +02:00
Mamadou DICKO
bea275f2ff
feat: add tanstack query and optimistic fetch on brains settings page ( #1087 )
...
* refactor: remove <TrackingWrapper />
* feat: add tanstack query
* feat: add optimistic fetch to brain settings page
2023-09-01 15:14:35 +02:00
Mamadou DICKO
22935583f3
feat(newBrain): update data validation logic and add * on required fields ( #1065 )
...
* feat(createBrain): add * on required fields
* fix: update brain data validation logic
2023-08-30 15:53:51 +02:00
Mamadou DICKO
1b63141b26
feat: add prompt and brain change tracking ( #1058 )
2023-08-30 11:28:15 +02:00
Mamadou DICKO
5612c2b455
feat: add name missing error in new brain modal ( #1055 )
...
* feat: update toast z index
* feat(brain modal): add name missing message
2023-08-30 11:04:03 +02:00
Mamadou DICKO
c5a7b8faef
feat: update header and remove prompt / brain on backspace ( #1052 )
...
* feat: update header
* feat: remove selected prompt / brain on backspace
* feat(chat): update suggestions component
* refactor: add getAxiosErrorParams
2023-08-29 15:52:22 +02:00
Mamadou DICKO
072d97adb1
feat: add prompt trigger through # ( #1023 )
...
* feat: add prompt trigger to mention input
* feat: update chat shortcuts
* test: update BrainProviderMock
* feat: improve ux
* feat: update message header position
* feat: improve mention input dx
* fix(MentionInput): fix minor bugs
* feat: refactor <ShareBrain/>
* feat: add brain sharing button
* fix: make popover buttons click working
* feat: update backspace handle logic
* feat: update add new brain button ui
2023-08-29 10:50:36 +02:00
Zineb El Bachiri
a9411c973a
fix(analytics): june debug for real ( #1033 )
...
* 🔥 remove Suspense because no ssr in front anymore
* ✨ add debugging
* 🔥 remove debugger and better logs
* 🐛 fixed tracker by adding it to dependencies
* 🚨 add dependencies to hooks
* 🚨 remove linter warning from unawaited promise
2023-08-25 10:33:14 +02:00
Zineb El Bachiri
2b74ebc1f0
fix(Analytics): no tags tracking for upload & crawl ( #1024 )
...
* 🚚 create useCrawlApi to use in useCrawler hook
* 🚑 fix tracking in Crawl
* 🧑💻 add hot reloading within docker containers
* 🚑 fix tracking for upload
* 🚚 create useUploadApi for fileUpload request
* 📈 add june tag for Language change
* 🩹 revert dependencies
2023-08-23 10:03:10 +02:00
Buer
e328ab81b3
feat(translation): Added Simplified Chinese translation,Fix pt-br not working ( #1011 )
...
* 🌐 Add Chinese translation, fix pt-br errors.
* 🌐 Fix syntax errors.
2023-08-22 12:04:54 +02:00
Mamadou DICKO
8e94f22782
feat(chat): add brain selection through mention input ( #969 )
...
* feat(chat): add brain selection through mention input
* feat: detect mention deletion from editor
* feat: improve ux
* chore: improve dx
* feat: update translations
* feat: improve mention popover ui
* fix: update failing tests
* feat: add mentions suggestion popover
* feat: update translations
* feat: remove add new brain button
2023-08-22 10:05:52 +02:00
Zineb El Bachiri
9aaedcff51
Fix/requests limiting ( #980 )
...
* 🗃️ Rename users table into user_daily_usage
* 💥 replace User model with UserIdentity model
* 🗃️ New UserDailyUsage class for database interaction
* 🐛 fix daily requests rate limiting per user
* 🐛 fix user stats and properties update
* ✏️ add typing and linting
* 🚚 rename user_dialy_usage Class into user_usage & requests_count into daily_requests_count
* 🚑 fix some rebase errors
2023-08-21 14:05:13 +02:00
Zineb El Bachiri
d80178a848
fix(translations): pr portuguese translations ( #933 )
...
* ✨ add typing to translations
* 🐛 add removed brain key in some languages
* 🐛 put correct translations for fr/es/ru
* fix(translation): missing a few
---------
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-08-12 18:54:41 +02:00
Gabriel Rodrigues Eger
cb020c0e63
Portuguese language added, "Select a Quivr Personality" btn is now supporting translations as well ( #925 )
...
* Added Portuguese Language + Translation of "Select A Quivr Personality" btn
* Added Portuguese Language + Translation of "Select A Quivr Personality" btn
* Undoing changes to yarn.lock from previous commits (had run on windows)
2023-08-11 13:19:21 +02:00
Gustavo J. Maciel
1360ce801d
feat(invitation): add translations ( #909 )
2023-08-10 09:55:40 +02:00
Stepan Lebedev
672eec08bc
feat: Russian language translation ( #903 )
...
* feat(Russian Translation): Adds Russian Language option
* fix: Corrects Failedtofetch field in English Version
* fix: Adds missing translations on upload page
2023-08-09 11:17:12 +02: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
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
Stan Girard
1160e16014
feat(fr): added language ( #884 )
...
* feat: 🎸 french
added language
* perf: ⚡ ️ images
improved with shark package for nextjs
2023-08-07 15:59:02 +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
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
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
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
Ikko Eltociear Ashimine
ed61880a38
refactor: fix typo in useChats.ts ( #393 )
...
occured -> occurred
2023-06-29 16:48:29 +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
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
30e764497d
perf(analytics): added usage analytics ( #381 )
2023-06-26 19:23:48 +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
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
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
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
Stan Girard
de8daa04bf
fix(prompt): less picky
2023-06-13 14:43:53 +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
Stan Girard
4144d788d3
fix(demo): removed gpt4 from choices
2023-06-04 16:57:55 +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
Mamadou DICKO
e388990384
feat(toast): add global publisher ( #177 )
2023-05-27 12:22:19 +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
!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