Commit Graph

460 Commits

Author SHA1 Message Date
mamadoudicko
ab58f95d48 feat: update onboarding questions answer 2023-12-06 15:37:30 +01:00
Mamadou DICKO
51de056e5f
feat: finalise steps based brain creation (#1825)
Issue:
https://github.com/users/StanGirard/projects/5/views/2?pane=issue&itemId=46291978

- Finalise steps based brain creation
- Remove feature flag
- 
Demo:

<img width="1068" alt="Screenshot 2023-12-05 at 18 05 52"
src="https://github.com/StanGirard/quivr/assets/63923024/99e38cab-d510-4bb5-8153-b0db406d1650">




https://github.com/StanGirard/quivr/assets/63923024/1850e2bd-5df1-43fe-be9e-261a3b90af2b



https://github.com/StanGirard/quivr/assets/63923024/c7335679-b090-40ac-aece-fbaae0303d51
2023-12-06 10:12:03 +01:00
Mamadou DICKO
27b2df8898
feat: add brain creation step 2 (#1823)
Issue: https://github.com/StanGirard/quivr/issues/1770

Demo:


https://github.com/StanGirard/quivr/assets/63923024/075aea35-892d-4103-8840-1a0721096745
2023-12-05 16:00:22 +01:00
Mamadou DICKO
77410f04b8
feat: add brain creation steps system (#1814)
Issue: https://github.com/StanGirard/quivr/issues/1769

- Turn brain creation into steps
- Add first step content
- Add feature flag

Demo:


https://github.com/StanGirard/quivr/assets/63923024/1ce33a3a-86ea-4051-ba02-f95b7478411e
2023-12-05 11:52:56 +01:00
Jezla
0fb4587161
fix: text not clear in dark mode (#1804)
# Description
Text color was being overridden.

Removed `text-gray-800` in MessageContent.tsx.

## Checklist before requesting a review

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code

## Screenshots (if appropriate):
Before:

![287382835-049862f4-a5b3-4899-88fa-569edade0e66](https://github.com/StanGirard/quivr/assets/32915176/f81c30f1-a4ad-4e25-a2a8-cce705ec3966)

After:

![image](https://github.com/StanGirard/quivr/assets/32915176/472bf6ed-1739-40be-85e2-1ccda4515043)

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-12-05 00:36:48 +01:00
Mamadou DICKO
604b55a99e
feat: track response source usage (#1810)
Issue: https://github.com/StanGirard/quivr/issues/1774
2023-12-04 12:41:12 +01:00
Mamadou DICKO
8d173bdcc6
fix: update editor state update logic (#1809)
Issue: https://github.com/StanGirard/quivr/issues/1779

Demo:


https://github.com/StanGirard/quivr/assets/63923024/5c5ff2fb-7856-4600-ad0b-82561793af78
2023-12-04 12:04:18 +01:00
Stan Girard
87138635aa
feat(install): it now takes 30 seconds to install Quivr (#1780)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-12-02 00:26:06 +01:00
Mamadou DICKO
68da22aa1d
feat: update models logic (#1767)
- The frontend no longer sets a default model
- Either a model is chosen by the user, or it will be done by the
backend

Issue: https://github.com/StanGirard/quivr/issues/1747
2023-11-30 22:08:36 +01:00
Mamadou DICKO
13b174b202
feat: add optimistic update on new message (#1764)
Demo: 



https://github.com/StanGirard/quivr/assets/63923024/3aecb83f-3acd-46d4-900d-a042814c6638


Issue: https://github.com/StanGirard/quivr/issues/1753
2023-11-30 12:49:04 +01:00
Mamadou DICKO
00f11f93f2
fix: update mention suggestion filtering logic (#1763)
Issue: https://github.com/StanGirard/quivr/issues/1762

Demo: 


https://github.com/StanGirard/quivr/assets/63923024/c578b9f0-5b1d-4196-85cf-042a93acd9c6
2023-11-30 10:31:48 +01:00
Stan Girard
e1cde0fcb4
Feat/local llm bug fix (#1758)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-29 19:17:16 +01:00
Mamadou DICKO
77c6ef6d98
feat(chatInput): use tiptap editor (#1752)
Issue:  

- https://github.com/StanGirard/quivr/issues/1700
- https://github.com/StanGirard/quivr/issues/1722

Follow-up: 

- https://github.com/StanGirard/quivr/issues/1753

Demo: 



https://github.com/StanGirard/quivr/assets/63923024/1e2f8ed9-2a08-48fa-ac19-60910feb4f8d
2023-11-29 17:59:23 +01:00
Mamadou DICKO
07618877a9
fix: revert implement local llms (#1749) 2023-11-29 13:19:22 +01:00
Stan Girard
7e4f711f07
feat: implement local llms (#1745)
upgraded

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-29 00:07:04 +01:00
Zineb El Bachiri
9858a484a1
refactor: remove explore route from back & front (#1741)
# Description

- Removes the explore route from back & front as it has been replaced by
the knowledge route
2023-11-28 14:28:05 +01:00
Mamadou DICKO
914e5b2468
fix: sanitize file name (#1728)
Demo: 


https://github.com/StanGirard/quivr/assets/63923024/bf62c232-b8f0-4092-b324-71c321747de9


issue: https://github.com/StanGirard/quivr/issues/1719
2023-11-27 14:08:10 +01:00
Mamadou DICKO
a52b093723
fix: update public brain subscription logic (#1727)
Demo: 


https://github.com/StanGirard/quivr/assets/63923024/c0511a45-05fc-4059-9b0c-9f2f4b7ee12a

Issue:

https://github.com/StanGirard/quivr/issues/1713
2023-11-27 11:44:19 +01:00
Stan Girard
5b5faf03eb feat: 🎸 logs
display logs in message
2023-11-24 23:14:18 +01:00
Mamadou DICKO
65e656f04e
feat: add api brain steps log (backend) (#1705)
Issue https://github.com/StanGirard/quivr/issues/1697
2023-11-24 14:58:33 +01:00
Mamadou DICKO
eb70c91a8d
fix: remove diacritics from filenames (#1695)
Issue: https://github.com/StanGirard/quivr/issues/1667

Demo:


https://github.com/StanGirard/quivr/assets/63923024/458683d5-4e43-4b27-9256-774af5aa9e39
2023-11-23 17:36:22 +01:00
Stan Girard
85913c5db0 feat: 🎸 brainasapi
fixed size
2023-11-22 22:14:53 +01:00
Stan Girard
d874b4ac5c feat: 🎸 tokens
increased max
2023-11-22 19:20:28 +01:00
Mamadou DICKO
43f3051543
feat: make brain description required (#1684)
Demo:



https://github.com/StanGirard/quivr/assets/63923024/882a372e-3e35-4016-940a-1cb2af57fe55
2023-11-22 12:01:21 +01:00
Mamadou DICKO
d9a72b368a
feat: allow updating api brain definition (#1682)
Issue: 
https://github.com/StanGirard/quivr/issues/1683


Demo:


https://github.com/StanGirard/quivr/assets/63923024/67cf2a0f-4cfe-420c-9181-baffaa584c78




https://github.com/StanGirard/quivr/assets/63923024/eee57598-1520-4c11-bd64-887869878f46
2023-11-22 11:15:14 +01:00
Stan Girard
1a4c6c8741
feat: 🎸 tokens (#1678)
increased default value to 1000

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-22 08:47:51 +01:00
Mamadou DICKO
f65e2f07e5
fix: persist api brain creation data on tab change (#1680)
Demo: 


https://github.com/StanGirard/quivr/assets/63923024/7789e213-738c-4387-a8f2-d5653d39f676
2023-11-21 17:37:17 +01:00
Mamadou DICKO
09fe076134
feat(feedBrain): add manage button (#1674)
Demo:

![Screenshot 2023-11-20 at 17 57
45](https://github.com/StanGirard/quivr/assets/63923024/abdd89ae-7c0c-421e-b716-9d7d3eb98c1f)
![Screenshot 2023-11-20 at 17 57
32](https://github.com/StanGirard/quivr/assets/63923024/3ef096ee-668b-4e25-85eb-60aa60e56038)
2023-11-21 09:33:07 +01:00
Mamadou DICKO
d902e78ffa
feat(apiBrain): improve ux (#1672)
Demo:


https://github.com/StanGirard/quivr/assets/63923024/71efe888-285a-41ed-aa89-44e5f0b99162
2023-11-20 18:22:06 +01:00
Mamadou DICKO
d7d10e3674
feat(apiBrain): add api brain secrets field in knowledge tab (#1669)
Issue: https://github.com/StanGirard/quivr/issues/1572

Demo: 


https://github.com/StanGirard/quivr/assets/63923024/192ea114-c1a2-4fb1-8226-2c77a41129a7
2023-11-20 18:11:39 +01:00
Mamadou DICKO
3da64c0b0e
feat: update brain modal in chat input (#1668)
Issue: https://github.com/StanGirard/quivr/issues/1571

Demo:



https://github.com/StanGirard/quivr/assets/63923024/e7a6118e-29f8-44aa-af4b-0ea1b8013a33
2023-11-20 18:04:26 +01:00
Stan Girard
6a041b6f6d
feat: 🎸 openai (#1658)
cleaning old code to introduce better patern

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-20 01:22:03 +01:00
Stan Girard
d955e31f50
feat: 🎸 marketplace (#1657)
added explore button and removed unused feature openai key

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-19 18:46:12 +01:00
Stan Girard
b062573f00
feat: 🎸 docker (#1656)
reduced docker frontend size by 20 🤣

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-19 13:16:28 +01:00
Stan Girard
744eea6d43
feat: 🎸 docker reduced size by 2 (#1653)
reduced size by 2

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## 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):
2023-11-18 19:23:56 +01:00
Zineb El Bachiri
efe4e8ccb0
fix(brainManagement): fix shared brain access issue (#1641)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

fix/brain-management-shared-brain-access
- [ ] 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):
2023-11-16 19:57:02 +01:00
Mamadou DICKO
9522d6b71f
fix: allow user to set a brain as public after creation (#1646)
Issue: https://github.com/StanGirard/quivr/issues/1647


- Refactor brain management page settings tabs hooks: use context
- Fix brain status change 

Demo:



https://github.com/StanGirard/quivr/assets/63923024/073be02f-394c-4887-8572-ff293792c023
2023-11-16 18:57:12 +01:00
Mamadou DICKO
f54c2a19c1
fix(apiBrain): fix default type selection (#1642)
Issue: https://github.com/StanGirard/quivr/issues/1643
2023-11-16 15:52:44 +01:00
Zineb El Bachiri
18946ad329
fix: delete brain on users click in brains management (#1638)
# Description

Fix subscription routes on get users
Revert changes deleting the function to get user email from its id in
SQL


https://www.loom.com/share/46534965a83f4296898495ac370b3451?sid=7f582838-32f6-4812-960e-c80d71517a6d
2023-11-16 12:49:10 +01:00
Mamadou DICKO
fb4cfdcf9c
feat: add public api brain subscription (#1636)
Issue: https://github.com/StanGirard/quivr/issues/1570
2023-11-16 11:04:12 +01:00
Mamadou DICKO
1a5fa8ba0f
feat: update settings tab add api brain definition (#1635)
Issue: https://github.com/StanGirard/quivr/issues/1627

Demo:
<img width="1512" alt="Screenshot 2023-11-15 at 13 09 59"
src="https://github.com/StanGirard/quivr/assets/63923024/532c45ce-32d7-4af7-a71f-02eb6099538d">
2023-11-16 11:02:58 +01:00
Mamadou DICKO
223af1d3f6
feat: add api brain creation frontend (#1631)
Issue: https://github.com/StanGirard/quivr/issues/1607

Demo:



https://github.com/StanGirard/quivr/assets/63923024/a087d856-e201-4b88-80b3-b001d7bb6b16
2023-11-15 12:42:19 +01:00
Stan Girard
17221bf668 docs(openai): added state of openai 2023-11-14 14:10:28 +01:00
Zineb El Bachiri
12903c4bb4
feat: api definition in brain creation modal (#1613)
# Description

https://github.com/StanGirard/quivr/issues/1569

## 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):

---------

Co-authored-by: mamadoudicko <mamadoudicko100@gmail.com>
2023-11-14 10:56:22 +01:00
Mohamed Messaad
71d4a63a17
feat(docker): use multi-stage Docker builds for smaller images (#1614)
# Description

Currently, the production Docker images are very large, sitting at 4.17
GB for the frontend image, and 3.49 GB for backend images. This change
adds multi-stage builds, to optimize the image sizes, which results in
the following improvements:

- frontend image size: 4.17 GB -> 1.64 GB
- backend image size: 3.49 GB -> 1.71 GB

I hope this is appropriate as there is no open issue for this that I
know of.
I implemented this change and tested it locally, and would be glad to
discuss this and open an issue if necessary.

## Checklist before requesting a review

Please delete options that are not relevant.

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented hard-to-understand areas
- [x] New and existing unit tests pass locally with my changes

## Screenshots (if appropriate):
Image sizes before:
<img width="1416" alt="image"
src="https://github.com/StanGirard/quivr/assets/8296549/fcbb020f-8165-4549-ae30-823318691ec6">

Image sizes after:
<img width="1416" alt="image"
src="https://github.com/StanGirard/quivr/assets/8296549/d3f43c78-be26-4c38-9d23-9c1b0e9e37f2">
2023-11-13 10:13:56 +01:00
Mamadou DICKO
3c0819de09
fix: allow users to delete brains (#1596)
Issue: https://github.com/StanGirard/quivr/issues/1362

Demo:


https://github.com/StanGirard/quivr/assets/63923024/aa5e41f8-a738-41f2-b037-975788ad8611
2023-11-06 16:58:03 +01:00
Mamadou DICKO
a46bf52478
fix: fix notification banner display when too much items in chat list (#1593)
Issue: https://github.com/StanGirard/quivr/issues/1578

Demo
<img width="1512" alt="Screenshot 2023-11-06 at 14 26 14"
src="https://github.com/StanGirard/quivr/assets/63923024/ef583683-43da-4b42-927e-22431cbeb0cf">
2023-11-06 14:36:21 +01:00
Mamadou DICKO
3eff384e39
fix: allow to change model bro brain settings tab (#1590)
Issue: https://github.com/StanGirard/quivr/issues/1550



https://github.com/StanGirard/quivr/assets/63923024/f58e1ecb-635b-4d65-a6d9-288b0842a3ae
2023-11-06 14:36:13 +01:00
Stan Girard
192610d008
feat: 🎸 sources (#1591)
added sources in front and backend

<img width="1536" alt="image"
src="https://github.com/StanGirard/quivr/assets/19614572/eb997288-282d-4f6e-b489-08ab3db400c6">
2023-11-06 12:09:18 +01:00
Mamadou DICKO
91fbf154d0
feat: make auth mode configurable (#1579)
Fix https://github.com/StanGirard/quivr/issues/1524

Demo:


https://github.com/StanGirard/quivr/assets/63923024/d1365b67-060e-488f-ad10-ca6ce2ac373a
2023-11-03 14:18:47 +01:00