Commit Graph

1369 Commits

Author SHA1 Message Date
Stan Girard
b02b1cbb52 Remove submodule 2023-12-13 00:56:34 +01:00
Stan Girard
cad840203f Add support for submodules and fix file path in
.gitignore
2023-12-13 00:39:53 +01:00
Stan Girard
80e2c08d14 Re-add submodule 2023-12-12 23:54:54 +01:00
Stan Girard
b0d6d1936c Remove submodule 2023-12-12 23:54:53 +01:00
Stan Girard
d8d6078c3d Update submodules flag in vercel-preview.yml 2023-12-12 23:47:28 +01:00
Stan Girard
ae944d81c6 Update submodules option in vercel-preview.yml 2023-12-12 23:42:47 +01:00
Stan Girard
3666df669d Remove strapi-plugin-react-editorjs subproject 2023-12-12 23:34:51 +01:00
Stan Girard
753fb87476 Add submodules support for Vercel deployment 2023-12-12 23:31:20 +01:00
Stan Girard
2c7f2cadcc Fix submodule path and update chat page styles 2023-12-12 23:26:31 +01:00
Stan Girard
bf750d1afc
Update .gitignore and add .gitmodules (#1875)
# 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-12 23:19:48 +01:00
Stan Girard
4a305a854e
feat: Add file URL to DocumentAnswer objects (#1874)
# 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-12 23:16:32 +01:00
Stan Girard
36b008e0eb
feat: Refactor get_question_context_for_brain endpoint (#1872)
to return a list of DocumentAnswer objects

# 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-12 22:33:23 +01:00
Stan Girard
b09d93e547
feat: Add @tailwindcss/forms plugin and update (#1869)
Init for platform
2023-12-12 14:29:58 +01:00
Stan Girard
cd723852ea docs: Add .gitmodules to .gitignore 2023-12-12 12:48:06 +01:00
Stan Girard
3cfca6fa91
chore(main): release 0.0.135 (#1862)
🤖 I have created a release *beep* *boop*
---


## 0.0.135 (2023-12-11)

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.134...v0.0.135

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-11 17:46:18 +01:00
Stan Girard
1a2af91eef feat(premium): increased max size 2023-12-11 17:43:30 +01:00
Stan Girard
39b9be06db
chore(main): release 0.0.134 (#1859)
🤖 I have created a release *beep* *boop*
---


## 0.0.134 (2023-12-11)

## What's Changed
* feat: add custom rag first abstraction layer by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1858
* feat(payment): added modal of right size by @StanGirard in
https://github.com/StanGirard/quivr/pull/1860


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.133...v0.0.134

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-11 17:32:49 +01:00
Stan Girard
7fee286baa
feat(payment): added modal of right size (#1860)
# 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-11 17:27:44 +01:00
Mamadou DICKO
512b9b4f37
feat: add custom rag first abstraction layer (#1858)
- Add `QAInterface` which should be implemented by all custom answer
generator to be compatible with Quivr
- Add `RAGInterface` which should be implemented by all RAG classes
2023-12-11 16:46:45 +01:00
Stan Girard
e0362e7122
chore(main): release 0.0.133 (#1857)
🤖 I have created a release *beep* *boop*
---


## 0.0.133 (2023-12-11)

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.132...v0.0.133

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-11 16:04:26 +01:00
Stan Girard
57a67f9aa8 docs(readme): partners sections 2023-12-11 16:02:56 +01:00
Stan Girard
d878efc978
chore(main): release 0.0.132 (#1848)
🤖 I have created a release *beep* *boop*
---


## 0.0.132 (2023-12-10)

## What's Changed
* feat: add generate_answer function to support non streamed response
for api brain by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1847
* fix(ollama): - update supabase-db postgres docker image version by
@KonstantinosAng in https://github.com/StanGirard/quivr/pull/1853

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

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.131...v0.0.132

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-11 11:34:01 +01:00
CyberBoy
a1c0067f50
fix(ollama): - update supabase-db postgres docker image version (#1853)
# Description

I tried to use the Quivr with the docker-compose-ollama.yml option but
the docker compose build crashed with the following messages:

`{"code":"58P01","details":null,"hint":null,"message":"could not access
file \"$libdir/wrappers-0.1.19\": No such file or directory"}`

After a quick search I saw that the issue was related to the
supabase/postgres image and after a quick compare with the default
docker-compose.yml i saw that it uses a newer version for the
supabase/postgres image and when i tried the newer version with the
docker-compose-ollama.yml the errors stopped and the app works fine.

Relative issues: #1846 #1822 #1850
2023-12-10 13:52:11 +01:00
Stan Girard
43502221da docs(.env): removed unused 2023-12-07 17:32:48 +01:00
Stan Girard
2c4591f6fb
docs: update readme 2023-12-07 17:12:58 +01:00
Mamadou DICKO
7e6209a30b
feat: add generate_answer function to support non streamed response for api brain (#1847)
Issue: https://github.com/StanGirard/quivr/issues/1841

Demo:


https://github.com/StanGirard/quivr/assets/63923024/56dfa85c-6c2e-4e55-8eda-4723e58ced1d
2023-12-07 14:52:37 +01:00
Stan Girard
ad44a8c18d
chore(main): release 0.0.131 (#1839)
🤖 I have created a release *beep* *boop*
---


## 0.0.131 (2023-12-06)

## What's Changed
* feat: update onboarding questions answer by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1834
* feat: composite brains get by @gozineb in
https://github.com/StanGirard/quivr/pull/1837
* feat: add Agent creation frontend by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1836
* feat: keep sidebar opened on non mobile devices by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1840
* feat: add brains list overflow indicator by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1842


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.130...v0.0.131

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-07 11:17:01 +01:00
Mamadou DICKO
7aec3462d8
feat: add brains list overflow indicator (#1842)
Issue: https://github.com/StanGirard/quivr/issues/1835

Demo:



https://github.com/StanGirard/quivr/assets/63923024/efd0795e-dd4a-45d6-bc53-56f630e94cb6
2023-12-06 18:54:22 +01:00
Mamadou DICKO
826ac501e3
feat: keep sidebar opened on non mobile devices (#1840)
Issue: https://github.com/StanGirard/quivr/issues/1721

Demo:


https://github.com/StanGirard/quivr/assets/63923024/78bf776b-643c-43a2-ab03-ca2ec0aa5eb5
2023-12-06 17:24:59 +01:00
Mamadou DICKO
d9f6ce4e68
feat: add Agent creation frontend (#1836)
Issue: https://github.com/StanGirard/quivr/issues/1832

Demo:



https://github.com/StanGirard/quivr/assets/63923024/e9c0e9b8-04b1-4f12-a8ef-b27f0f489e48



<img width="1503" alt="Screenshot 2023-12-06 at 15 23 12"
src="https://github.com/StanGirard/quivr/assets/63923024/11e6960b-c1c3-4abf-aeed-c226f034246f">


<img width="1503" alt="Screenshot 2023-12-06 at 15 23 23"
src="https://github.com/StanGirard/quivr/assets/63923024/09681a9d-ce2e-42bb-8151-1986e27f7312">
2023-12-06 15:59:59 +01:00
Zineb El Bachiri
90c4a44525
feat: composite brains get (#1837)
# 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-06 15:44:36 +01:00
mamadoudicko
ab58f95d48 feat: update onboarding questions answer 2023-12-06 15:37:30 +01:00
Stan Girard
980b1b3115
chore(main): release 0.0.130 (#1833)
🤖 I have created a release *beep* *boop*
---


## 0.0.130 (2023-12-06)

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.129...v0.0.130

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-06 12:27:19 +01:00
Stan Girard
5619f2e602 feat(sentry): added on celery 2023-12-06 12:20:46 +01:00
Stan Girard
828b39a77a
chore(main): release 0.0.129 (#1820)
🤖 I have created a release *beep* *boop*
---


## 0.0.129 (2023-12-06)

## What's Changed
* feat(requirements): update aws version by @StanGirard in
https://github.com/StanGirard/quivr/pull/1819
* feat: add brain creation step 2 by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1823
* feat: composite brains db by @gozineb in
https://github.com/StanGirard/quivr/pull/1826
* feat: finalise steps based brain creation by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1825


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.128...v0.0.129

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-06 10:16:53 +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
Zineb El Bachiri
5bbc72eb09
feat: composite brains db (#1826)
# Description

- db for composite brains & repository
- composite brains creation
2023-12-06 08:40:18 +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
Stan Girard
8ba376e0a1
feat(requirements): update aws version (#1819)
# 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-05 13:49:34 +01:00
Stan Girard
5c86d769f7
chore(main): release 0.0.128 (#1811)
🤖 I have created a release *beep* *boop*
---


## 0.0.128 (2023-12-05)

## What's Changed
* feat: track response source usage by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1810
* doc: add VirtioFS instruction for MacOS users by @tarek-ayed in
https://github.com/StanGirard/quivr/pull/1813
* refactor: chat for multibrains by @gozineb in
https://github.com/StanGirard/quivr/pull/1812
* feat(prebuilt): prebuild backend image for faster compilation by
@StanGirard in https://github.com/StanGirard/quivr/pull/1815
* fix: text not clear in dark mode by @Jezla in
https://github.com/StanGirard/quivr/pull/1804
* fix: celery config typo by @yonmey in
https://github.com/StanGirard/quivr/pull/1776
* feat: add brain creation steps system by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1814

## New Contributors
* @tarek-ayed made their first contribution in
https://github.com/StanGirard/quivr/pull/1813
* @Jezla made their first contribution in
https://github.com/StanGirard/quivr/pull/1804
* @yonmey made their first contribution in
https://github.com/StanGirard/quivr/pull/1776

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.127...v0.0.128

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-05 12:02:24 +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
Yon
5f23bcfcb8
fix: celery config typo (#1776)
# Description

There was a typo on one of the celery's config variables.
The `CELEBRY_BROKER_QUEUE_NAME` variable has been replaced by
`CELERY_BROKER_QUEUE_NAME`

## 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
2023-12-05 09:40:40 +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
Stan Girard
475f8ddf42 fix(docker-compose): mixed up prod and dev 2023-12-05 00:26:06 +01:00
Stan Girard
b228bc0e80 fix(docker): fixed .dev missing 2023-12-05 00:24:58 +01:00
Stan Girard
b8f8851ccd feat(docker): multi platform build and prebuilt 2023-12-05 00:10:49 +01:00
Stan Girard
d0d74cecbb chore(ci): trigger it 2023-12-05 00:02:48 +01:00
Stan Girard
1ea647b147
feat(prebuilt): prebuild backend image for faster compilation (#1815)
# 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-05 00:01:14 +01:00
Zineb El Bachiri
436e49a5e7
refactor: chat for multibrains (#1812)
# Description

- Chat Module
- External Api Secrets Interface, exposed through brain service
2023-12-04 18:38:54 +01:00
tarek-ayed
8ddb7708fd
doc: add VirtioFS instruction for MacOS users (#1813) 2023-12-04 18:19:31 +01:00