Commit Graph

952 Commits

Author SHA1 Message Date
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
Charles Brandt
0d3e925f27
Fix #1290 issue running migrations (#1585)
# Description

In issue #1290 folks report difficulty running migrations on an existing
instance. The current migration table includes a `name` column, but no
`id` column:

```
CREATE TABLE IF NOT EXISTS migrations (
  name VARCHAR(255)  PRIMARY KEY,
  executed_at TIMESTAMPTZ DEFAULT current_timestamp
);
```

By changing the `migrations.sh` script to use the `name` field, the
migrations run as expected.

## 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:03 +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
Stan Girard
f7771f9189
chore(main): release 0.0.104 (#1562)
🤖 I have created a release *beep* *boop*
---


## 0.0.104 (2023-11-03)

## What's Changed
* feat: 🎸 docs by @StanGirard in
https://github.com/StanGirard/quivr/pull/1561
* style(prompts): update public prompts dropdown styling by @St-Bloom in
https://github.com/StanGirard/quivr/pull/1563
* feat: add remote notification config by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1547
* fix: fix button bad children error by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1564
* style: fix hidden contents by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1577

## New Contributors
* @St-Bloom made their first contribution in
https://github.com/StanGirard/quivr/pull/1563

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

---
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-03 10:27:26 +01:00
Mamadou DICKO
1905bd42f6
style: fix hidden contents (#1577)
Fix https://github.com/StanGirard/quivr/issues/1576
2023-11-03 10:01:05 +01:00
Mamadou DICKO
5c732f1253
fix: fix button bad children error (#1564)
Issue: https://github.com/StanGirard/quivr/issues/1498
2023-11-03 09:48:06 +01:00
Mamadou DICKO
867904f19d
feat: add remote notification config (#1547)
Issue: https://github.com/StanGirard/quivr/issues/1503

Demo:




https://github.com/StanGirard/quivr/assets/63923024/fc354768-e25b-4d16-8e40-bfdbf950ddcd
2023-11-02 19:20:07 +01:00
Stef Bloom
8a8e3d1a65
style(prompts): update public prompts dropdown styling (#1563)
# Description

In https://www.quivr.app/brains-management, the Custom Prompt dropdown
is partially covered by the cu

## 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] I have ideally added tests that prove my fix is effective or that
my feature works
- [ X] New and existing unit tests pass locally with my changes
- [ X] Any dependent changes have been merged

## Screenshots (if appropriate):

![quivr-custom-prompt-after](https://github.com/StanGirard/quivr/assets/149593769/7a063624-dea5-41f2-bcfb-369b60387bbd)

![quivr-custom-prompt-before](https://github.com/StanGirard/quivr/assets/149593769/5c42dd45-3af8-44b3-9137-121ec5a0bce6)

![quivr-custom-prompt-light-mode-before](https://github.com/StanGirard/quivr/assets/149593769/4872c5d0-1a0f-4ed9-9d2e-8acba3841953)
2023-11-02 18:36:47 +01:00
Stan Girard
3a9b7164b5
feat: 🎸 docs (#1561)
added algolia

# 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-02 14:42:39 +01:00
Stan Girard
eb079a09b0
chore(main): release 0.0.103 (#1542)
🤖 I have created a release *beep* *boop*
---


## 0.0.103 (2023-11-02)

## What's Changed
* feat: allow to share a public brain link by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1541
* fix: prompt update in brains management settings tab by @gozineb in
https://github.com/StanGirard/quivr/pull/1543
* refactor: extract prompt from settings by @gozineb in
https://github.com/StanGirard/quivr/pull/1546
* feat: 🎸 telegram by @StanGirard in
https://github.com/StanGirard/quivr/pull/1555
* feat: 🎸 telegram by @StanGirard in
https://github.com/StanGirard/quivr/pull/1559
* docs: update run_fully_local.md by @eltociear in
https://github.com/StanGirard/quivr/pull/1556
* docs: grammatical errors in README.md by @HimanshuMahto in
https://github.com/StanGirard/quivr/pull/1536
* fix: missing or inaccurate zh-cn translations by @jerryshang in
https://github.com/StanGirard/quivr/pull/1558

## New Contributors
* @HimanshuMahto made their first contribution in
https://github.com/StanGirard/quivr/pull/1536
* @jerryshang made their first contribution in
https://github.com/StanGirard/quivr/pull/1558

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.102...v0.0.103

---
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-02 11:13:55 +01:00
Jerry Shang
eb682c7219
fix: missing or inaccurate zh-cn translations (#1558)
# Description

There are some missing(like some russian and traditional chinese words)
or inaccurate texts in zh-ch locale.

## Checklist before requesting a review

Please delete options that are not relevant.

- [x] My code follows the style guidelines of this project
- I am confusing that not all the json files have same indent spaces. I
am not sure is it ok that the 4-spaces ones were changed to 2-spaces. 😅
- [x] I have performed a self-review of my code

## Screenshots (if appropriate):
2023-11-02 09:52:21 +01:00
Himanshu Kumar Mahto
36d7baa3d5
docs: grammatical errors in README.md (#1536)
Few grammatical errors were there in readme.md file
2023-11-02 09:49:37 +01:00
Ikko Eltociear Ashimine
b9fa6987e5
docs: update run_fully_local.md (#1556)
# Description

emedding -> embedding

## Checklist before requesting a review

Please delete options that are not relevant.

- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [x] 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-02 09:49:02 +01:00
Stan Girard
de3ab00f3d
feat: 🎸 telegram (#1559)
added connectors and doc
2023-11-02 09:38:07 +01:00