Commit Graph

1015 Commits

Author SHA1 Message Date
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
Mamadou DICKO
dd2bc1f6fc
feat: add brain_type column to brain table (#1603)
Issue: https://github.com/StanGirard/quivr/pull/1601

Demo:


https://github.com/StanGirard/quivr/assets/63923024/a7fe76a7-8809-4ec7-b1e6-d6fe36928a5c
2023-11-07 16:23:52 +01:00
Mamadou DICKO
9382762d01
feat: add api_brain_definition table (#1601)
Issue: https://github.com/StanGirard/quivr/issues/1549
2023-11-07 14:03:50 +01:00
Stan Girard
c7ed9523f3
chore(main): release 0.0.107 (#1594)
🤖 I have created a release *beep* *boop*
---


## 0.0.107 (2023-11-06)

## What's Changed
* fix: allow to change model bro brain settings tab by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1590
* fix: fix notification banner display when too much items in chat list
by @mamadoudicko in https://github.com/StanGirard/quivr/pull/1593
* docs: add auth modes config by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1595
* fix: allow users to delete brains by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1596
* feat: 🎸 source documents by @StanGirard in
https://github.com/StanGirard/quivr/pull/1598


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

---
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-07 10:14:56 +01:00
Stan Girard
79382125d6 docs: ✏️ readme
updated for new features
2023-11-06 19:52:35 +01:00
Stan Girard
1d3554cb92
feat: 🎸 source documents (#1598)
are kept only once

# 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-06 17:19:26 +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
6abba91a8f
docs: add auth modes config (#1595)
issue: https://github.com/StanGirard/quivr/issues/1580

<img width="1512" alt="Screenshot 2023-11-06 at 15 20 31"
src="https://github.com/StanGirard/quivr/assets/63923024/c410383f-3454-4f72-9212-f027ae4e1d6c">
2023-11-06 15:41:07 +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
cd45b89981
chore(main): release 0.0.106 (#1592)
🤖 I have created a release *beep* *boop*
---


## 0.0.106 (2023-11-06)

## What's Changed
* feat: 🎸 sources by @StanGirard in
https://github.com/StanGirard/quivr/pull/1591


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.105...v0.0.106

---
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-06 12:40:40 +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
Stan Girard
8e179759ee
chore(main): release 0.0.105 (#1581)
🤖 I have created a release *beep* *boop*
---


## 0.0.105 (2023-11-06)

## What's Changed
* feat: make auth mode configurable by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1579
* Fix #1290 issue running migrations by @charlesbrandt in
https://github.com/StanGirard/quivr/pull/1585
* Use 'unless-stopped' instead of 'always' for development by
@charlesbrandt in https://github.com/StanGirard/quivr/pull/1586
* feat: 🎸 vps by @StanGirard in
https://github.com/StanGirard/quivr/pull/1587
* Update vps_install.md for subdomain by @jbeltran73-2 in
https://github.com/StanGirard/quivr/pull/1589

## New Contributors
* @charlesbrandt made their first contribution in
https://github.com/StanGirard/quivr/pull/1585
* @jbeltran73-2 made their first contribution in
https://github.com/StanGirard/quivr/pull/1589

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.104...v0.0.105

---
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-06 10:44:49 +01:00
Stan Girard
c3ea8d566c docs: ✏️ vps
updated with working tags
2023-11-06 10:15:56 +01:00
jbeltran73-2
dde5f2335e
Update vps_install.md for subdomain (#1589)
Changes so it reflects subdomain configuration

# Description

I've added subdomain configuration as many people use their domains
instead of creating a new domain root as the main one.
2023-11-06 09:53:12 +01:00
Stan Girard
ab11b384f7 fix: 🐛 parsers
pdf and odt to unstructured
2023-11-05 22:43:46 +01:00
Stan Girard
3bfea3bed7 docs: ✏️ vps
fix
2023-11-05 22:12:03 +01:00
Stan Girard
f8cfc24753 docs(vps): installed 2023-11-05 22:11:21 +01:00
Stan Girard
249f978e5f
feat: 🎸 vps (#1587)
install on your own server doc

# 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-05 11:14:34 +01:00
Stan Girard
769c0a5ad0 feat(docs): added env file 2023-11-05 00:24:55 +01:00
Charles Brandt
b5cf350485
Use 'unless-stopped' instead of 'always' for development (#1586)
# Description

When developing locally, I am reluctant to start containers with the
`restart: always` option. I find they stick around longer than I want
them to. In my opinion, `restart: unless-stopped` is a nice middle
ground.

## 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
2023-11-04 21:30:31 +01:00