Zineb El Bachiri
9e942ba959
✨ add cors security headers ( #533 )
2023-07-06 19:01:38 +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
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
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
Stan Girard
a6aecea76c
chore(telemetry): added for DELETE_BRAIN ( #457 )
2023-07-02 18:59:15 +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
ca0591d31c
feat(brain): add a delete button ( #456 )
2023-07-02 18:48:32 +02:00
Stan Girard
f9b3eba973
feat(sentry): added only if env variable set
2023-07-02 14:32:16 +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
b444761622
fix(sentry): added fix
2023-07-02 10:54:36 +02:00
Stan Girard
3918ad3015
fix(sentry): removed from variables
2023-07-02 10:26:16 +02:00
Stan Girard
fbd1e17018
feat(sentry): added sentry ( #443 )
2023-07-01 21:12:13 +02:00
Stan Girard
3df2613caf
docs(sponsors): padding
2023-07-01 18:47:05 +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
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
Zineb El Bachiri
a13219c73f
🚑 quick fix for brain temporary redirect ( #427 )
2023-06-30 10:57:17 +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
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
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
56c761ed0e
fix(analytics): changed for user id
2023-06-26 22:11:10 +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
Stan Girard
3d11e3fb51
refactor(brain): removed braintoupdate and added brain ( #356 )
...
* refactor(brain): removed braintoupdate and added brain
* feat(brain): updated
2023-06-21 10:16:44 +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