Matthieu Jacq
f90c43cc42
feat: contact sales page (front layout) ( #1451 )
...
# Description
Epic: #1232
Issue: #1443
## Screenshots (if appropriate):
### 🖥️ Desktop
<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/dce63bf7-0046-4f2b-9633-bdc34a1b0893 ">
### 📱 Mobile
<img width="338" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/8828b5bc-3819-4774-9d77-d60fbff72e6c ">
2023-10-20 15:38:35 +02:00
Mamadou DICKO
6514358796
feat: fetch homepage data from CMS ( #1452 )
...
Issue: https://github.com/StanGirard/quivr/issues/1448
2023-10-20 15:36:55 +02:00
Mamadou DICKO
4345eac76e
style: update testimonials display ( #1441 )
...
https://github.com/StanGirard/quivr/assets/63923024/d03c321f-c3d4-472e-9a9f-c10288523831
2023-10-19 17:55:52 +02:00
Matthieu Jacq
89858b5d03
fix: show a flat gradient in the UseCase section ( #1440 )
...
Ticket : #1438
<img width="1098" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/3ad4a6f1-37b6-4ead-b115-8e159281104f ">
2023-10-19 17:53:00 +02:00
Matthieu Jacq
9a7c821e80
feat: homepage first section ( #1439 )
...
# Description
First section layout and assets.
## Screenshots (if appropriate):
#### 💻 Laptop
<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/7441e2a1-5d97-4554-8971-def66a10ab8c ">
#### 📱 Mobile
<img width="616" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/d48f8986-e61f-4021-9c69-cf178506d100 ">
2023-10-19 17:51:38 +02:00
Mamadou DICKO
1cd99ae234
feat: add testimonials section ( #1427 )
...
Issue: https://github.com/StanGirard/quivr/issues/1428
https://github.com/StanGirard/quivr/assets/63923024/b0b25f3e-d038-4740-b581-e3c256d89902
2023-10-18 17:36:29 +02:00
Matthieu Jacq
220a062340
feat: HomePage new footer ( #1425 )
...
# Description
Footer section
Epic: #1232
US: #1422
## Screenshots (if appropriate):
<img width="1127" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/b8d5410b-7f1d-49fe-b3e6-87dec5e18529 ">
2023-10-18 16:25:48 +02:00
Mamadou DICKO
0d70ad4362
feat: add security section ( #1423 )
...
Issue: https://github.com/StanGirard/quivr/issues/1424
https://github.com/StanGirard/quivr/assets/63923024/a64b7456-6efc-40e6-9f0a-89552a372e0a
2023-10-18 15:21:15 +02:00
Matthieu Jacq
e0cadb9ebf
feat: Homepage demo section ( #1420 )
...
# Description
Epic: #1232
Issue: #1418
## Checklist before requesting a review
## Screenshots (if appropriate):
<img width="1052" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/3947e622-de08-4357-bb8c-6766421a1fa7 ">
2023-10-18 11:23:06 +02:00
Matthieu Jacq
e4810ade0c
feat: Homepage screen 1 content ( #1414 )
...
# Description
Epic #1232
Issue #1409
## Checklist before requesting a review
## Screenshots (if appropriate):
<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/0543102c-59f1-4957-b2a1-2b017088172a ">
<img width="426" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/932e3f24-b142-4606-854b-5f2821991e8b ">
2023-10-17 16:31:05 +02:00
Mamadou DICKO
f9ce518dd2
feat: add use cases to homepage ( #1415 )
...
Ticket: https://github.com/StanGirard/quivr/issues/1416
https://github.com/StanGirard/quivr/assets/63923024/243bb114-9b7f-4b98-b710-df74ee845ecb
2023-10-17 13:36:15 +02:00
Matthieu Jacq
d1b0c26da8
feat: 🖼️ new homepage background ( #1395 )
...
## 🔗 Relates to
- Epic: #1232
- Issue: #1394
## 🍿 Demo
https://github.com/StanGirard/quivr/assets/67386567/ff3f9e4f-48df-42ab-9ed4-4dd59aca7ba9
2023-10-17 10:57:27 +02:00
Mamadou DICKO
ea227df30e
feat(onboarding): add suggested questions answer ( #1390 )
...
https://github.com/StanGirard/quivr/assets/63923024/08554dd5-2765-436a-b900-48b38d582f6c
https://github.com/StanGirard/quivr/issues/1389
2023-10-12 09:39:56 +02:00
Matthieu Jacq
7e88032dc9
feat: new homepage header ( #1382 )
...
## Relates to
Epic: #1232
Issue: #1377
## 🚩 Feature flag
Use in growthbook the flag: `new-homepage-activated` (boolean)
## 📷 Screenshots
### 🖥️ Desktop
<img width="1059" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/e0bae17a-bb94-4ba8-8dc3-a79d18f5d933 ">
### 📱 Mobile
<img width="377" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/af8398dc-d9df-4034-a329-49aae3b2bf45 ">
<img width="375" alt="image"
src="https://github.com/StanGirard/quivr/assets/67386567/c5d53051-939e-49df-9c0a-212eff576b34 ">
---------
Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
2023-10-11 18:36:16 +02:00
Mamadou DICKO
b9172b7442
feat: track onboarding events ( #1388 )
...
https://github.com/StanGirard/quivr/issues/1386
2023-10-11 15:56:28 +02:00
Mamadou DICKO
1baf9ee5b0
feat: remove user onboarding on complete ( #1387 )
...
https://github.com/StanGirard/quivr/issues/1384
https://github.com/StanGirard/quivr/assets/63923024/ac05456d-2817-4196-8afc-51b34a4d8c5f
2023-10-11 09:46:57 +02:00
Mamadou DICKO
58ea481910
feat: finish onboarding step on first upload or crawl ( #1373 )
...
https://github.com/StanGirard/quivr/issues/1372
https://github.com/StanGirard/quivr/assets/63923024/ecf92424-bcc2-4e4d-ad4d-c569ab1c7203
2023-10-10 17:14:48 +02:00
Matthieu Jacq
5bd53ffc84
refactor: Enable linting on login+signup page and hooks ( #1369 )
...
#1366
2023-10-10 13:27:43 +02:00
Mamadou DICKO
28a6dc169a
feat: handle suggestion click ( #1368 )
...
https://github.com/StanGirard/quivr/issues/1367
This is the first part of the system. We'll update how we fetch this
'assistant' response soon
https://github.com/StanGirard/quivr/assets/63923024/92029ba2-ecd2-47a2-be67-2be13f50ea73
2023-10-10 09:46:56 +02:00
Mamadou DICKO
9293b7d782
feat: add Welcome chat ( #1365 )
...
https://github.com/StanGirard/quivr/issues/1361
https://github.com/StanGirard/quivr/assets/63923024/cc4b1c0a-363a-49f3-8306-181151554b34
---------
Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
2023-10-10 09:27:35 +02:00
Matthieu Jacq
2c7d48cf4e
feat: configure CSP for self-hosting and multiple ports in dev mode ( #1364 )
...
Closes #1358
Closes #1359
⚠️ Need to update the preview and prod environment with a
"NEXT_PUBLIC_FRONTEND_URL" variable before merging.
2023-10-09 17:02:15 +02:00
Mamadou DICKO
77e135fb5b
test: add chat e2e tests ( #1344 )
...
- Brain selection
- Chat deletion
- Unplug chat
- Plug chat
2023-10-09 15:23:24 +02:00
Mamadou DICKO
f13f08c5c5
feat: update onboarding steps ( #1337 )
...
https://github.com/StanGirard/quivr/issues/1331
https://github.com/StanGirard/quivr/assets/63923024/eef62e2a-3c7c-4b08-b69c-2ba4d3b4b1be
2023-10-05 18:03:46 +02:00
Nick Guernsey
253e866a86
feat: enhance user page UI ( #1319 )
...
# Description
Hope ya'll don't mind, I updated the User Profile's UI to be a bit more
readable. Kept the design neutral to not impose styles.
I also kept the original toggle buttons for Theme and Language in case
we still want to use those in other places in the app, where a select
menu isn't necessary.
## Checklist before requesting a review
Please delete options that are not relevant.
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged
## Screenshots (if appropriate):
https://github.com/StanGirard/quivr/assets/64866427/d0320852-ece1-4002-a180-0005df132e71
https://github.com/StanGirard/quivr/assets/64866427/be3c67ec-8d42-44f9-8131-35a70aec20ef
---------
Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-10-05 17:50:02 +02:00
Matthieu Jacq
d0e363e66e
feat: enable CSP in all environments (local/preview/prod) ( #1334 )
...
# Description
Enable CSP in all environments (local/preview/prod).
Relies on NEXT_PUBLIC_ENV env variable, which should be
`'local'|'preview'|'prod'`
# Comparison of old and new CSP values (tested locally)
## Before
### CSP (for prod only)
```
default-src 'self' https://fonts.googleapis.com https://xxx.supabase.co https://api.june.so https://www.quivr.app/ ; connect-src 'self' https://xxx.supabase.co http://localhost:5050 https://api.june.so https://api.openai.com https://cdn.growthbook.io https://vitals.vercel-insights.com/v1/vitals ; img-src 'self' https://www.gravatar.com data:; media-src 'self' https://user-images.githubusercontent.com https://www.quivr.app/ https://quivr-cms.s3.eu-west-3.amazonaws.com ; script-src 'unsafe-inline' 'unsafe-eval' https://va.vercel-scripts.com/ https://www.quivr.app/ https://www.google-analytics.com/ ; frame-ancestors 'none'; style-src 'unsafe-inline' https://www.quivr.app/ ;
```
## After
### Prod CSP (iso with before)
```
default-src 'self' https://fonts.googleapis.com https://xxx.supabase.co https://api.june.so https://www.quivr.app/ ; connect-src 'self' https://xxx.supabase.co http://localhost:5050 https://api.june.so https://api.openai.com https://cdn.growthbook.io https://vitals.vercel-insights.com/v1/vitals ; img-src 'self' https://www.gravatar.com data:; media-src 'self' https://user-images.githubusercontent.com https://www.quivr.app/ https://quivr-cms.s3.eu-west-3.amazonaws.com ; script-src 'unsafe-inline' 'unsafe-eval' https://va.vercel-scripts.com/ https://www.quivr.app/ https://www.google-analytics.com/ ; frame-ancestors 'none'; style-src 'unsafe-inline' https://www.quivr.app/ ;
```
### Preview CSP
```
default-src 'self' https://fonts.googleapis.com https://xxx.supabase.co https://api.june.so https://preview.quivr.app/ ; connect-src 'self' https://xxx.supabase.co http://localhost:5050 https://api.june.so https://api.openai.com https://cdn.growthbook.io https://vitals.vercel-insights.com/v1/vitals ; img-src 'self' https://www.gravatar.com data:; media-src 'self' https://user-images.githubusercontent.com https://www.quivr.app/ https://quivr-cms.s3.eu-west-3.amazonaws.com ; script-src 'unsafe-inline' 'unsafe-eval' https://va.vercel-scripts.com/ https://preview.quivr.app/ https://www.google-analytics.com/ ; frame-ancestors 'none'; style-src 'unsafe-inline' https://preview.quivr.app/ ;
```
### Local CSP
```
default-src 'self' https://fonts.googleapis.com https://xxx.supabase.co https://api.june.so http://localhost:3000 http://localhost:3001 ; connect-src 'self' https://xxx.supabase.co http://localhost:5050 https://api.june.so https://api.openai.com https://cdn.growthbook.io https://vitals.vercel-insights.com/v1/vitals ; img-src 'self' https://www.gravatar.com data:; media-src 'self' https://user-images.githubusercontent.com https://www.quivr.app/ https://quivr-cms.s3.eu-west-3.amazonaws.com ; script-src 'unsafe-inline' 'unsafe-eval' https://va.vercel-scripts.com/ http://localhost:3000 http://localhost:3001 https://www.google-analytics.com/ ; frame-ancestors 'none'; style-src 'unsafe-inline' http://localhost:3000 http://localhost:3001 ;
```
# 🧪 External checks
Syntax checked with https://csp-evaluator.withgoogle.com/ (for the 3
environments).
---------
Co-authored-by: gozineb <zinebe@theodo.fr>
2023-10-05 17:37:25 +02:00
Mamadou DICKO
28ef515458
feat: update onboarding controller and fix typo ( #1333 )
...
<img width="525" alt="Screenshot 2023-10-05 at 10 55 29"
src="https://github.com/StanGirard/quivr/assets/63923024/d7a4e7ef-e73f-46d0-8499-06c5e951f64a ">
<img width="1207" alt="Screenshot 2023-10-05 at 10 49 45"
src="https://github.com/StanGirard/quivr/assets/63923024/50eba38a-b2cb-4e7d-82b1-ceca60abdad4 ">
https://github.com/StanGirard/quivr/issues/1328
2023-10-05 11:31:26 +02:00
Matthieu Jacq
f030db6952
feat: restructure the sidebar of the brains management page ( #1325 )
...
* 🧩 Possibility to chose which buttons to display in the sidebar
* Button "Back to chat"
* 💄 Remove the frame around the brains library page
* Give a size to the image in the profile button (for performance)
* Optional prop showButtons in the sidebar
* remove duration on waitFor and set sidebar animation duration to 200ms
2023-10-04 18:12:27 +02:00
Mamadou DICKO
85eba3da70
feat: add onboarding step 3 ( #1324 )
...
* feat: add OnboardingContext
* feat: add Step3 boilerplate
* feat: activate step3
* feat: add <Step3/> content
* feat: add shouldStream guard on useStreamText
2023-10-04 16:26:56 +02:00
Matthieu Jacq
945178de39
fix: 🐛 📱 height now matches mobile height ( #1323 )
2023-10-04 12:04:57 +02:00
Mamadou DICKO
bf5b7553d5
fix: wrap parsing with try catch ( #1321 )
2023-10-04 11:26:25 +02:00
Mamadou DICKO
bf7cdae4ab
feat(onboarding): add questions suggestions layout ( #1318 )
...
* refactor: update ChatInput
* feat(chat): add questions suggestion layout
2023-10-03 18:34:28 +02:00
Mamadou DICKO
6d0bc9b6ac
feat(onboarding): add step 2 ( #1314 )
...
* refactor: move onboarding step1 to components folder
* feat(onboarding): add on step2
2023-10-03 18:26:40 +02:00
Matthieu Jacq
403cdaa354
fix: remove undesired outlines around divs ( #1316 )
2023-10-03 18:03:05 +02:00
Matthieu Jacq
a61a18f4f4
fix: replace next/image's layout deprecated attribute ( #1313 )
2023-10-03 16:52:31 +02:00
Matthieu Jacq
ed358c7fa3
refactor: ♻️ ContentSecurityPolicy as an object ( #1312 )
...
* ♻️ ContentSecurityPolicy as an object
* CSP: Remove redundant operation
2023-10-03 16:16:02 +02:00
Matthieu Jacq
958993a960
feat: ↕️ maximize brain management page ( #1308 )
2023-10-03 14:56:31 +02:00
Matthieu Jacq
18f76a5341
feat: ↕️ Maximise chat window ( #1301 )
...
* 🔥 Remove Chat page intro (component and translations)
* Centered full-size chat window (partial)
* fix: gray background when adding a document
* chat window: responsive padding
* cleaner navbar display condition
2023-10-03 12:18:49 +02:00
Mamadou DICKO
808b8ffa12
feat: update chat list on new chat first message ( #1305 )
...
* feat: refecth chats list on first message
* style: change chat items colors
2023-10-03 12:08:14 +02:00
Mamadou DICKO
63e90a317c
feat: add onboarding first step ( #1303 )
...
* refactor: split <MessageRow /> into small components
* feat: add onboarding page first step
2023-10-03 11:25:16 +02:00
Mamadou DICKO
64fbd79b75
feat: allow users to turn private brain to public ( #1300 )
2023-10-02 17:04:05 +02:00
Matthieu Jacq
1e0c0c4a54
fix: 🐛 Sidebar content should not hide the sidebar footer ( #1298 )
2023-10-02 15:36:40 +02:00
Matthieu Jacq
c140b9c517
feat: ✨ responsive sidebar ( #1279 )
...
* 💄 The chat sidebar takes the full height
* 💄 redesign of the action section and buttons in the sidebar
* ✨ Sidebar header
* ♻️ Refact sidebar filesystem structure
* ♻️ Create a separate reusable sidebar component
* 🐛 Fix sidebar quick open/close on mobile
* 💄 New open/close sidebar button
* fix: error message + sidebar height issue + mobile width incoherence
* ♻️ Rename and move the sidebar footer
* 💄 sidebar toggle: color on hover
* apply sidebar to brains-management
* 💄 Larger sidebar
* 🚨 Pass existing tests
* ✅ Test the sidebar
* ✅ Test the open and close buttons in the sidebar
2023-10-02 14:42:23 +02:00
Nick Guernsey
92494aa6c6
fix(Select): fix JSX typo ( #1292 )
...
* fix: fixed clipRule typo
* fix: fill-rule typo
2023-10-02 09:33:18 +02:00
Nick Guernsey
522f2cd79f
fix: prevent fetch when user is not logged in ( #1293 )
2023-10-02 09:27:17 +02:00
Stan Girard
ead1ae86fc
feat(user_settings): increased ( #1291 )
2023-09-30 22:32:53 +02:00
Mamadou DICKO
a1e6d400b2
test: add e2e for crawling ( #1288 )
...
* feat: update translations
* fix: update createBrain tests
* test: add crawl e2e test
2023-09-29 13:15:37 +02:00
Mamadou DICKO
36fd146fed
feat: improve app ux ( #1281 )
...
* style: make FeedItemIcon the same size
* feat: update feed component brain selector label position
* style: change purple to 600
* feat: improve already dropped file message ux
* feat: autoclose feedinput on chatId change
* style: change chat colors
* feat: prevent linebreak in knowledge to upload row
* feat(textFIeld): avoid textfield content going under icon
* feat(knowledgeToUpload): add tooltip on urls and files name
* feat(feedBrain): auto scroll on messages when feed modal get opened
* style: update colors
* refactor: rename uploadCard to FeedCard
2023-09-29 10:24:31 +02:00
Zineb El Bachiri
c215284fe9
🚑 return to old CSP syntax ( #1282 )
2023-09-28 18:24:31 +02:00
Zineb El Bachiri
b64fc044c4
feat: knowledge tab add button ( #1277 )
...
* 🚧 🌐 knowledge traductions
* 🔥 replace useKnowledge hook
* ✨ AddKnowledge in knowledge tab
* 🚧 extract feedBrain in chat hook
* ♻️ use feedBrain method as a prop in KnowledgeToFeedInput
* ✨ custom feedBrain for chat and brain management
* ✨ add loader when deleting
* 🚑 remove chat after auto creation for each feed action
* 🚚 rename KnowledgeProvider into KnowledgeToFeedProvider
2023-09-28 15:39:30 +02:00
Mamadou DICKO
2226eef06b
feat(chatPage): update ui add new feed component ( #1275 )
...
* feat(brains): remove unrelevent buttons on management page
* feat: improve feed input ux
* feat: update brain knowledge context add knowledge to feed logic
* feat: allow to drop files everywhere in the chat section
* style: add slide in effect when opening feed card
* test(chatPage): fix failing tests
2023-09-28 11:29:55 +02:00
Matthieu Jacq
b6f38f7aff
fix: 🔒 ️ add gravatar.com to the content security policy ( #1273 )
...
* fix: 🔒 ️ add gravatar.com to the content security policy
* 🎨 cleaner ContentSecurityPolicy string definition
2023-09-27 15:57:44 +02:00
Mamadou DICKO
ef78dec810
feat: improve knowledge feed process ux ( #1274 )
...
* style(deleteBrainModal): reduce buttons space
* refactor: add KnowledgeToFeedInput
* feat: update translations
* feat: update knowledge feed component
* style: reduce knowledge to upload displayer size
* feat: move KnowledgeToFeedInput to @lib
* refactor: rename useSelectedChatPage to useChatNotificationsSync
* feat: change chatPage bg to gray when feed card is opened
* style: change feed process submit button bg to purple
2023-09-27 15:39:04 +02:00
Matthieu Jacq
7470d389a7
feat: 👤 Implement gravatar ( #1268 )
...
* ✨ Implement gravatar
* ♻️ refact gravatar url generation with a custom hook
* review: do not add a default value to the email if undefined
2023-09-27 14:41:08 +02:00
Mamadou DICKO
ef2bada3a5
style: improve ui ( #1263 )
...
* feat: align brain acces status change confirmation buttons
* style(brainManagement): reduce remove/unsubscribe button margin
* style(brainManagement): align confirmationModal buttons
* feat: update modal display status logic
* feat(BrainsLibrary): add brains management button
* style: improve public brain item ui
* style: make brain library responsive
* feat: auto close subscription modal on subscribe
* feat: add empty brain description message
* test: fix failing linter tests
2023-09-27 09:50:27 +02:00
Rahil Ahmad
a9fdbd51e4
FIX #1220 UX Upload improvement ( #1259 )
...
Co-authored-by: Mamadou DICKO <63923024+mamadoudicko@users.noreply.github.com>
Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
2023-09-27 09:22:22 +02:00
Mamadou DICKO
c8f045dfad
feat: save last chat config and make it default one ( #1266 )
...
* fix(RBAC): skip validation for unplug
* feat(chatSettings): set last config as default
---------
Co-authored-by: Zineb El Bachiri <100568984+gozineb@users.noreply.github.com>
2023-09-26 18:41:02 +02:00
Matthieu Jacq
da6d5b698d
feat(nav): 🚚 Move Brain and User buttons to the sidebar in the chat ( #1262 )
...
* 🚚 Move Brain and User buttons to the sidebar in the chat
* 🚨 fix linter warnings
* 🚚 Move sidebar actions to a dedicated component
* ✅ Fix failing tests
* 💄 Style sidebar buttons
* 🚚 move nav components under ChatsListItem and User components accordingly
* Display email in the user button
* ♻️ use the UserData hook in the UserPage component
* Do not display the top navbar on the chat page
* ⚰️ remove the social icons at the bottom of the chat sidebar
* ⚡ ️UserButton: get email from the Supabase context instead of a call api
* 🚨 Fix unit-tests
* 💄 Crop email in UserButton if necessary
* UserButton: display empty string if the email is undefined
2023-09-26 18:26:19 +02:00
Mamadou DICKO
a4a2d769b3
feat: allow setting public brain status to private ( #1258 )
...
* feat: refetch brains list on when new brain is added
* feat: update BrainConfig type
* feat: update useSettingsTab add usebrainFormState and useSettings tab
* feat: add <PrivateAccessConfirmationModal/> modal
* feat: update translations
* feat: handle brain status change to private
* feat: validate chat access
* test: fix failaing tests and remove deprecated
2023-09-26 10:35:52 +02:00
Riccardo Linares
4b88c89814
Update next.config.js ( #1251 )
...
Removing typo in next.confing.js
2023-09-26 09:36:53 +02:00
Matthieu Jacq
4acdb0ae55
feat(user): 🚚 Move language and theme buttons to the User page ( #1256 )
...
* feat(user): 🚚 Move language and theme buttons in the User page
* ⚰️ Remove obsolete test (DocumentData.test.ts)
* fix(user_settings): ⚰️ remove settings header
2023-09-26 09:29:30 +02:00
Mamadou DICKO
1643b54b7b
feat: allow user to unsubscribe from a brain ( #1254 )
...
* feat: update translations
* feat: add <DeleteOrUnsubscribeConfirmationModal />
* test(DeleteOrUnsubscribeConfirmationModal): update tests
* feat: redirect to /brains-management on invalid brain id
* refactor: move delete_brain_user to delete_brain_users
* feat: add /POST '/brains/{brain_id}/subscribe'
* feat: handle public brain unsubscription
2023-09-25 14:22:59 +02:00
Stan Girard
5e2d8a6b59
fix(preview): import
2023-09-22 18:15:39 +02:00
Stan Girard
c1ec7b8944
fix(preview): fixed a few bugs unchecked ( #1247 )
2023-09-22 18:04:45 +02:00
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
48bdbbb3e9
feat(publicBrain): disable subscribe button when already subscribed and refetch brains list ( #1246 )
...
* feat(brainSettings): add getBrainPermissions
* feat(publicBrain): disable subscription button when already subscribed
* feat(publicBrains): refecth brains list onSubscribe
2023-09-22 12:37:50 +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
Stan Girard
f1804dec5c
fix: 🐛 blog
...
too many lines
2023-09-21 22:02:50 +02:00
Stan Girard
65de6839fc
docs(blog): updated
2023-09-21 21:14:01 +02:00
Stan Girard
cdc097901e
fix(cms): changed url
2023-09-21 14:31:07 +02:00
Stan Girard
f2937a7eee
feat(cms): added images
2023-09-21 14:23:22 +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
f74a1c50c8
feat(strapi): added first draft ( #1237 )
2023-09-21 00:20:29 +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
ef0f874af9
feat(upload): changed icons ( #1233 )
2023-09-20 17:07:37 +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
Stan Girard
d8e188788f
fix(gpt-3.5-instruct): bug and new version of node ( #1228 )
2023-09-20 16:16:50 +02:00
Stan Girard
2fc6e7e38b
chore(github): fixed
2023-09-20 14:50:45 +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
Stan Girard
9d73531fc8
fix(translation): fixed for english feedingBrain
2023-09-20 09:06:58 +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
143d32ddf1
feat(chat): added copy feature to message ( #1192 )
2023-09-18 00:26:53 +02:00
Stan Girard
d855bfbee8
fix(notification): information now displayed on the right ( #1191 )
2023-09-18 00:24:20 +02:00
Stan Girard
86c10bd14d
style(notifications): improve the messages for the notifications ( #1185 )
2023-09-16 15:58:12 +02:00
Stan Girard
f362269600
feat(notificatins): higher refresh rate ( #1184 )
...
* fix
* feat(notificatins): higher refresh rate
2023-09-16 13:51:08 +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
686612a69d
feat: make error messages more clear ( #1166 )
2023-09-14 10:35:30 +02:00
Mamadou DICKO
8a07a8a31d
feat: submit upload on Enter ( #1160 )
2023-09-14 10:34:45 +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
dbb8a0e86e
feat: update isValidUrl function ( #1155 )
2023-09-12 18:14:03 +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
7e1e13fab5
feat(feedBrain): add request pending message #1135 ( #1136 )
...
* feat(feed brain): add pending message
* feat: add 'filesUploading' translation
* feat(chatPage): update tests
2023-09-08 09:57:21 +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
a14c033da5
feat: allow user to chat while feed process is pending ( #1120 )
...
* feat: remove 'ux-upload' feature flag
* feat: publish a message at the end of feed process
* feat: hide feed card during feed process
2023-09-07 10:15:19 +02:00
Mamadou DICKO
711eff0863
feat: add multiple upload and crawl in parallel ( #1118 )
...
* feat: explicit accepted files
* feat: un-synchronize upload and chat FileUploader
* feat: add uploading file new ui
* feat: rename +UrlDisplayer to FeedTitleDisplayer
* feat: add icon per file type
* feat: remove file extension on display
* feat: send feed items to backend
* feat: track file upload
* chore: improve dx
2023-09-07 10:00:45 +02:00
Zineb El Bachiri
eb7b677fef
🚑 add growthbook to csp headers ( #1117 )
2023-09-06 11:40:07 +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
Zineb El Bachiri
34708c51ea
🚑 fix feature flags -> add it back to context ( #1106 )
2023-09-05 11:43:03 +02:00
Mamadou DICKO
9b163e5b65
feat: add <Feed /> component in chat page ( #1103 )
...
* refactor: update uploadPage structure
* feat: show upload component from chatbar
* refactor: move <Feed/> from upload page to chat page
2023-09-05 10:49:29 +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
2a479419a7
fix: prevent submit on share button click ( #1098 )
2023-09-04 10:25:48 +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
46e19e8ac2
fix: fix hash redirection ( #1085 )
2023-08-31 18:25:06 +02:00
Mamadou DICKO
51bd020a2f
fix: update hash routing logic ( #1082 )
2023-08-31 18:08:39 +02:00
Mamadou DICKO
47b8d697c6
fix(openAiKey): handle nullish values ( #1080 )
2023-08-31 16:28:26 +02:00
Mamadou DICKO
aaf841136c
feat: change share brain button logic ( #1078 )
2023-08-31 16:02:32 +02:00
Zineb El Bachiri
55a387d740
🔒 ️ add url api.openai to CSP headers ( #1077 )
2023-08-31 15:50:16 +02:00
Mamadou DICKO
4306f60959
feat: truncate long chatname ( #1076 )
2023-08-31 14:54:57 +02:00
Mamadou DICKO
e769eddd76
feat: remove mic button ( #1075 )
2023-08-31 14:53:43 +02:00
Mamadou DICKO
bd2358f425
fix: fix minor bugs ( #1070 )
...
* fix: update get_user_id_by_user_email type
* fix: update getEditorText logic
* feat(mentionSuggestions): render empty popover
2023-08-31 10:41:02 +02:00
Mamadou DICKO
23b21026c2
feat(chatMessage): update attributes display ( #1067 )
2023-08-30 16:28:10 +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
a6333acdbe
feat: make chatlist scrollable ( #1064 )
2023-08-30 15:53:10 +02:00
Mamadou DICKO
5fe8807261
fix(invitationPage): avoid multiple re-rendering ( #1062 )
2023-08-30 13:40:48 +02:00
Zineb El Bachiri
3227b1175f
feat(chat): remove /files from chat bar placeholder ( #1060 )
2023-08-30 12:55:58 +02:00
Mamadou DICKO
1b63141b26
feat: add prompt and brain change tracking ( #1058 )
2023-08-30 11:28:15 +02:00
Mamadou DICKO
04e9f572a4
feat: add openai api key validation ( #1057 )
2023-08-30 11:20:28 +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
bcf954135c
feat: handle new chat button click ( #1054 )
2023-08-30 09:45:11 +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
6e43e6f16f
feat: add headless question tracking ( #1051 )
2023-08-29 12:26:08 +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
Elie
77863e78bd
Fix English grammar translation.json ( #1046 )
2023-08-27 16:30:54 +02:00
ChloeMouret
d7a508acdd
feat: add 2 save buttons on Brain management tab ( #1039 )
...
* add 2 save buttons
* use translation
2023-08-25 18:37:56 +02:00
Mamadou DICKO
66bafcf2c5
feat(messagesList): auto scroll on new message ( #1040 )
2023-08-25 12:05:04 +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
ChloeMouret
d36217be80
feat: Remove chat id from chat list ( #1031 )
...
* update hover color : blue for modifying and red for delete
* remove chat id from chat lists
2023-08-24 19:44:42 +02:00
Ikko Eltociear Ashimine
152f237d9e
chore(chat): fix typo in useConfigModal.ts ( #1021 )
...
occured -> occurred
2023-08-23 10:10:10 +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
Mamadou DICKO
b967c2d2d6
feat: add brain prompt overwritting from chat ( #1012 )
2023-08-22 14:23:27 +02:00
Zineb El Bachiri
4b1f4b1412
feat(prompts): add public prompts to SQL db ( #1014 )
...
* ✨ add public prompts to SQL scripts
* 🚨 fix: missing zh-cn translation key
2023-08-22 13:14:31 +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
20d5294795
✨ explicit too many request in chat error ( #1000 )
2023-08-21 16:07:07 +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
Gustavo J. Maciel
3a44f54d6b
fix(settings): select proper brain model ( #943 )
...
* fix(settings): select proper brain model
* feat(settings): save model on change
2023-08-18 12:12:17 +02:00
Zineb El Bachiri
74da7dde2d
Crawl/update env variables ( #931 )
...
* 📝 add env variable for crawl
* 🐛 make CharQuestion with optional attributes
* 💡 make chatQustion config optional
2023-08-18 11:59:20 +02:00
Stepan Lebedev
600ff1ede0
feat(Unplug): chatting without brain streaming ( #970 )
...
* feat(Unplug): Adds new basic headless llm
* feat(Unplug): adds chatting without brain option when no streaming
* feat(Unplug): adds chatting without brain option when streaming
2023-08-18 10:32:22 +02:00
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
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
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
Zineb El Bachiri
f3d9c89163
🚑 fix vercel yarn run build fail ( #919 )
2023-08-10 13:07:22 +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
Mamadou DICKO
69a73f5d5a
feat: add new chat bar ( #896 )
...
* feat: add ActionsBar
* feat: add brain trigger
2023-08-08 17:28:34 +01:00
Gustavo J. Maciel
69d08937de
fix(es): spanish translations ( #895 )
...
Fix some typos on spanish translations
2023-08-08 17:18:28 +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
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
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
renovate[bot]
d49f0771a5
chore(deps): update dependency @vitejs/plugin-react to v4.0.4 ( #862 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 00:54:30 +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
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
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
Ashish Baravaliya
3e8ed46317
fix: Toast message hidden under the footer ( #761 )
2023-07-31 09:03:19 +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
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
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
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
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
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
beran
6a436d822c
fix for timeout during installing frontend pckgs ( #621 )
2023-07-15 23:22:17 +02:00
Ikko Eltociear Ashimine
e822f9ad11
Fix typo in useBrainProvider.ts ( #574 )
2023-07-15 23:21:24 +02:00
nicksan222
c4c15a497c
Fixed pandocs ( #662 )
2023-07-15 23:20:47 +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
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
Zineb El Bachiri
abe7cca902
✨ add github mediasource in security headers ( #551 )
2023-07-07 13:00:26 +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
Zineb El Bachiri
11cb81f40d
🚑 use security headers in prod environement only ( #550 )
2023-07-07 10:40:57 +02:00
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
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
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
Stan Girard
de8daa04bf
fix(prompt): less picky
2023-06-13 14:43:53 +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
Stan Girard
4144d788d3
fix(demo): removed gpt4 from choices
2023-06-04 16:57:55 +02:00
Stan Girard
a3ca7ecb37
Back/refacto files ( #240 )
...
* feat(docker): added docker for prod
* feat(refacto): moved to modules
2023-06-03 23:12:42 +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
Mamadou DICKO
505da5d3b4
chore(docker): use yarn.lock instead of package-lock.json ( #213 )
2023-05-30 19:16:28 +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
Stan Girard
1a11f6045e
chore(yarn): added yarn.lock
2023-05-26 14:28:15 +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
9aa16fe6fc
fix(docker): added python
2023-05-24 17:22:54 +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