Commit Graph

1185 Commits

Author SHA1 Message Date
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
Stan Girard
536a7ae37c
fix: 🐛 api (#1676)
truncating long response

# 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-21 15:34:12 +01:00
Stan Girard
bd69af71b9
chore(main): release 0.0.116 (#1673)
🤖 I have created a release *beep* *boop*
---


## 0.0.116 (2023-11-21)

## What's Changed
* feat: update brain modal in chat input by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1668
* feat(apiBrain): add api brain secrets field in knowledge tab by
@mamadoudicko in https://github.com/StanGirard/quivr/pull/1669
* feat(apiBrain): improve ux by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1672
* feat(feedBrain): add manage button by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1674


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.115...v0.0.116

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-21 10:00:58 +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
66084fc168 ci(renovate): removed 2023-11-20 17:49:33 +01:00
Stan Girard
a19d7b3f9e
chore(main): release 0.0.115 (#1645)
🤖 I have created a release *beep* *boop*
---


## 0.0.115 (2023-11-20)

## What's Changed
* fix(apiBrain): fix default type selection by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1642
* fix: allow user to set a brain as public after creation by
@mamadoudicko in https://github.com/StanGirard/quivr/pull/1646
* fix(brainManagement): fix shared brain access issue by @gozineb in
https://github.com/StanGirard/quivr/pull/1641
* feat: 🎸 docker reduced size by 2 by @StanGirard in
https://github.com/StanGirard/quivr/pull/1653
* feat: 🎸 docker by @StanGirard in
https://github.com/StanGirard/quivr/pull/1656
* feat: 🎸 marketplace by @StanGirard in
https://github.com/StanGirard/quivr/pull/1657
* feat: 🎸 openai by @StanGirard in
https://github.com/StanGirard/quivr/pull/1658


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.114...v0.0.115

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-20 10:17:53 +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
Stan Girard
f14366abfd
chore(main): release 0.0.114 (#1634)
🤖 I have created a release *beep* *boop*
---


## 0.0.114 (2023-11-16)

## What's Changed
* feat: add api brain creation frontend by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1631
* refactor: add modules folder by @gozineb in
https://github.com/StanGirard/quivr/pull/1633
* feat: update settings tab add api brain definition by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1635
* feat: add public api brain subscription by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1636
* fix: delete brain on users click in brains management by @gozineb in
https://github.com/StanGirard/quivr/pull/1638


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.113...v0.0.114

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-16 13:08:48 +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
Zineb El Bachiri
375f50356c
refactor: add modules folder (#1633)
# Description

New Modules folder with "user" module:
- controller: contains the current route
- entity: contains the current Models (TO be renamed DTO)
- repository: contains the current repo
- service: methods used by other modules 

## 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-15 13:17:51 +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
e71e79cf3e
chore(main): release 0.0.113 (#1630)
🤖 I have created a release *beep* *boop*
---


## 0.0.113 (2023-11-14)

## What's Changed
* refactor: packages folder be 2 by @gozineb in
https://github.com/StanGirard/quivr/pull/1628


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.112...v0.0.113

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-15 11:44:29 +01:00
Zineb El Bachiri
1f21c6d7f3
refactor: packages folder be 2 (#1628)
# Description

Move some folders to packages
Remove unused code
2023-11-14 14:31:02 +01:00
Stan Girard
abed8b71f4
chore(main): release 0.0.112 (#1629)
🤖 I have created a release *beep* *boop*
---


## 0.0.112 (2023-11-14)

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.111...v0.0.112

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-14 14:12:39 +01:00
Stan Girard
17221bf668 docs(openai): added state of openai 2023-11-14 14:10:28 +01:00
Stan Girard
5bbf2005a1
chore(main): release 0.0.111 (#1618)
🤖 I have created a release *beep* *boop*
---


## 0.0.111 (2023-11-14)

## What's Changed
* ci: 🎡 tests by @StanGirard in
https://github.com/StanGirard/quivr/pull/1615
* fix: update delete brain logic by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1619
* test(added): misc prompt onboarding by @StanGirard in
https://github.com/StanGirard/quivr/pull/1622
* feat: remove api brain secrets and schemas on delete by @mamadoudicko
in https://github.com/StanGirard/quivr/pull/1621
* test(all): added by @StanGirard in
https://github.com/StanGirard/quivr/pull/1624
* refactor: create "files" package by @gozineb in
https://github.com/StanGirard/quivr/pull/1626
* feat: api definition in brain creation modal by @gozineb in
https://github.com/StanGirard/quivr/pull/1613


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.110...v0.0.111

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-14 11:01:13 +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
Stan Girard
46af5b7a1b fix(docker): fixed 2023-11-14 10:03:32 +01:00
Zineb El Bachiri
8f693bc92a
refactor: create "files" package (#1626)
# 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-14 09:52:44 +01:00
Stan Girard
5a3f284785
test(all): added (#1624)
# 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-14 08:36:44 +01:00
Mamadou DICKO
8ed0adf7b2
feat: remove api brain secrets and schemas on delete (#1621)
Issue: https://github.com/StanGirard/quivr/issues/1573
2023-11-13 19:08:47 +01:00
Stan Girard
ee864e6441
test(added): misc prompt onboarding (#1622)
Added tests for:

- Prompt
- Misc
- Onboarding
2023-11-13 19:02:10 +01:00
Stan Girard
6017fa2e9c test(contact): added contact route with mock 2023-11-13 17:58:11 +01:00
Stan Girard
ec60d3dbff ci(backend): added tests for user 2023-11-13 15:28:42 +01:00
Stan Girard
1e00f6929f fix: 🐛 docker
fixed multi stage
2023-11-13 15:03:55 +01:00
Mamadou DICKO
5e61445fb2
fix: update delete brain logic (#1619) 2023-11-13 15:02:10 +01:00
Stan Girard
6bc9dd1894
ci: 🎡 tests (#1615)
fixed

# 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-13 13:53:25 +01:00
Stan Girard
4db7935b23
chore(main): release 0.0.110 (#1617)
🤖 I have created a release *beep* *boop*
---


## 0.0.110 (2023-11-13)

## What's Changed
* fix: add user id while creating default brain by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1616


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.109...v0.0.110

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-13 12:19:06 +01:00
Mamadou DICKO
f24779ff14
fix: add user id while creating default brain (#1616) 2023-11-13 12:16:38 +01:00
Stan Girard
5dc4f15a6c
chore(main): release 0.0.109 (#1609)
🤖 I have created a release *beep* *boop*
---


## 0.0.109 (2023-11-13)

## What's Changed
* feat: add APIBrainQA by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1606
* feat: allow users to chat with apis by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1612
* feat(docker): use multi-stage Docker builds for smaller images by
@shidenkai0 in https://github.com/StanGirard/quivr/pull/1614

## New Contributors
* @shidenkai0 made their first contribution in
https://github.com/StanGirard/quivr/pull/1614

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.108...v0.0.109

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-13 11:47:09 +01:00
Stan Girard
e266351589 feat: 🎸 docker
added image name common
2023-11-13 10:14:24 +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
db5a6e4b9b
feat: allow users to chat with apis (#1612)
You can now create a brain which can fetch data from external APIs with
or without authentification

- POST query example with authentification 


https://github.com/StanGirard/quivr/assets/63923024/15013ba9-dedb-4f24-9e06-49daad9de7f3


- Get query example with authentification and search params



https://github.com/StanGirard/quivr/assets/63923024/1763875d-a8e9-4478-b07c-e99ca7337942


- Get query without authentification and search params



https://github.com/StanGirard/quivr/assets/63923024/f2742963-790d-4cb2-864a-8173979b650a
2023-11-09 16:58:51 +01:00
Mamadou DICKO
addcd27fce
feat: add APIBrainQA (#1606)
Issue: https://github.com/StanGirard/quivr/issues/1566
2023-11-08 16:07:21 +01:00
Stan Girard
f49c8c20d0
chore(main): release 0.0.108 (#1604)
🤖 I have created a release *beep* *boop*
---


## 0.0.108 (2023-11-07)

## What's Changed
* feat: add api_brain_definition table by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1601
* feat: add brain_type column to brain table by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1603
* feat: supabase vault by @gozineb in
https://github.com/StanGirard/quivr/pull/1605


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.107...v0.0.108

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-08 09:54:11 +01:00
Zineb El Bachiri
ed5de8b80c
feat: supabase vault (#1605)
# Description

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

## 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-07 16:57:25 +01:00