Commit Graph

1145 Commits

Author SHA1 Message Date
Mamadou DICKO
e885574d1e
feat: update brains library (#1903)
Issue: https://github.com/StanGirard/quivr/issues/1889

Demo:



https://github.com/StanGirard/quivr/assets/63923024/f9853b7e-e358-4c98-9281-4b0752a29632
2023-12-15 14:09:57 +01:00
Zineb El Bachiri
742e9bdfba
feat: chat with compositeBrain ( with/out streaming) (#1883)
# DONE

- generate_stream, generate and save answer in BE

# TODO

- Create an intermediary make_streaming_recursive_tool_calls async
function
- Save intermediary answers in new message logs column then fetch and
display in front
2023-12-15 11:43:41 +01:00
Stan Girard
7c6c4cf10e
feat: Update Explore button label (#1901)
# 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-14 18:57:16 +01:00
Nils Jacobsen
b93dc18ede
feat[i18n]: Added i18n documenation to the contribution guidelines (#1899)
> Follow up to https://github.com/StanGirard/quivr/pull/1896

# Improved Docs 

I added this to get more translation contributions.

## What I changed
- Added a `Translation` section in the contribution guidelines
- Added a link to it in the contribution guidelines table of contents
- Added a link from Readme
2023-12-14 16:47:43 +01:00
Stan Girard
59c2a76caf
chore(main): release 0.0.140 (#1894)
🤖 I have created a release *beep* *boop*
---


## 0.0.140 (2023-12-14)

## What's Changed
* feat: Update pytest command in Makefile and add new test by
@StanGirard in https://github.com/StanGirard/quivr/pull/1893
* chore: add IDE extension for i18n handling by @NilsJacobsen in
https://github.com/StanGirard/quivr/pull/1896
* feat: add chat view new design by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1897

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

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.139...v0.0.140

---
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-14 16:43:23 +01:00
Mamadou DICKO
e2c1a027b0
feat: add chat view new design (#1897)
Issue: https://github.com/StanGirard/quivr/issues/1888

- Add Spinner when history is loading
- Change chat messages fetching logic
- Add cha view new design

Demo:



https://github.com/StanGirard/quivr/assets/63923024/c4341ccf-bacd-4720-9aa1-127dd557a75c
2023-12-14 16:22:09 +01:00
Nils Jacobsen
992c67a2b9
chore: add IDE extension for i18n handling (#1896)
> let me know what needs to be changed in order to merge this

# Description: DX upgrade with little i18n tool.
- I added a
[ide-extension](https://inlang.com/m/r7kp499g/app-inlang-ideExtension)
config to `quivr`. This enables developers and contributors to extract,
access and update translations in code using the existing json files
under the hood.

- **Opt-in:** With the config in place you can also use the [fink
editor](https://inlang.com/m/tdozzpar/app-inlang-editor) to update
product copy/translation with a no code UI. Here u see an example from
my fork: https://inlang.com/editor/github.com/NilsJacobsen/quivr

# What I added (opt-in)
- A config file -> `settings.json`
- Vscode recommendation so the contributors can use the extension

## Screenshots:
IDE-Extension:

![image](https://github.com/StanGirard/quivr/assets/58360188/6f1217fe-692e-4aa2-942b-458cabf3bc2b)

Editor:
<img width="1512" alt="image"
src="https://github.com/StanGirard/quivr/assets/58360188/aa62ca66-6d11-42c2-8dc3-30a97ed985de">
2023-12-14 16:00:22 +01:00
Stan Girard
4fa9a03cc1
feat: Update pytest command in Makefile and add new test (#1893) 2023-12-14 14:20:34 +01:00
Stan Girard
dd293e4ac3
chore(main): release 0.0.139 (#1887)
🤖 I have created a release *beep* *boop*
---


## 0.0.139 (2023-12-14)

## What's Changed
* feat: allow user to feed brain from Actions bar by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1882
* feat: add Menu bar by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1885
* feat: Remove unused method and update file processing by @StanGirard
in https://github.com/StanGirard/quivr/pull/1890
* fix: update chat history fetching logic by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1891
* feat: add default feed button label by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1892


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.138...v0.0.139

---
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-14 11:49:10 +01:00
Mamadou DICKO
cb4148fc50
feat: add default feed button label (#1892)
Demo: 



https://github.com/StanGirard/quivr/assets/63923024/c25e5892-be59-47ed-b1ea-8ce6bcc50214
2023-12-14 11:33:59 +01:00
Mamadou DICKO
bc2b012e47
fix: update chat history fetching logic (#1891)
Demo:



https://github.com/StanGirard/quivr/assets/63923024/fb2b5e83-5387-4198-afc5-4374281f0a32
2023-12-14 11:29:04 +01:00
Stan Girard
1ffe25eae4
feat: Remove unused method and update file processing (#1890)
logic

# 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-14 10:31:34 +01:00
Mamadou DICKO
0cc917ea9e
feat: add Menu bar (#1885)
Issue: https://github.com/StanGirard/quivr/issues/1884

- Add new sidebar (Menu)
- Add Menu to App level (shared accross all pages) and display it only
on chat bar
- Remove chatlist from sidebar (they are now accessible through Actions
bar (plus button on right of chat input)
- Move notification banner to App.tsx
- Update translations

Demo:



https://github.com/StanGirard/quivr/assets/63923024/53b1bf3b-db1a-49d7-ae84-80423d66ec03
2023-12-14 10:15:38 +01:00
Mamadou DICKO
9eb6120c6f
feat: allow user to feed brain from Actions bar (#1882)
Issue: https://github.com/StanGirard/quivr/issues/1881

Demo:



https://github.com/StanGirard/quivr/assets/63923024/348c7b17-84ca-46a3-89e3-3a00a621af69
2023-12-14 09:48:46 +01:00
Stan Girard
35bc5bc971
chore(main): release 0.0.138 (#1886)
🤖 I have created a release *beep* *boop*
---


## 0.0.138 (2023-12-13)

**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.137...v0.0.138

---
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-13 23:36:40 +01:00
Stan Girard
f05951937b feat: Add logger and update file sha1 2023-12-13 23:08:15 +01:00
Stan Girard
a5da60f035
chore(main): release 0.0.137 (#1879)
🤖 I have created a release *beep* *boop*
---


## 0.0.137 (2023-12-13)

## What's Changed
* feat: add chat history to Actions modal by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1877
* feat: allow user to control left panel from Chat input by
@mamadoudicko in https://github.com/StanGirard/quivr/pull/1880


**Full Changelog**:
https://github.com/StanGirard/quivr/compare/v0.0.136...v0.0.137

---
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-13 20:58:44 +01:00
Stan Girard
f723f8d729 feat: Add logging for brain vector creation 2023-12-13 20:58:13 +01:00
Mamadou DICKO
3ed0ea15bb
feat: allow user to control left panel from Chat input (#1880)
Issue: https://github.com/StanGirard/quivr/issues/1866

- Use context to control sidebar open status
- Control sidebar through chat bar
- Persist sidebar status after page change

Demo:



https://github.com/StanGirard/quivr/assets/63923024/b9750198-e68d-47a7-b266-627a01586512
2023-12-13 20:56:07 +01:00
Mamadou DICKO
5f114c26d6
feat: add chat history to Actions modal (#1877)
Issue: https://github.com/StanGirard/quivr/issues/1865

Demo:


https://github.com/StanGirard/quivr/assets/63923024/e7a2fec9-0eac-4f92-9e99-a0bf3cec8e73
2023-12-13 15:02:49 +01:00
Stan Girard
6d7899b22a
chore(main): release 0.0.136 (#1867)
🤖 I have created a release *beep* *boop*
---


## 0.0.136 (2023-12-13)

## What's Changed
* feat: Add @tailwindcss/forms plugin and update by @StanGirard in
https://github.com/StanGirard/quivr/pull/1869
* feat: Refactor get_question_context_for_brain endpoint by @StanGirard
in https://github.com/StanGirard/quivr/pull/1872
* feat: Add file URL to DocumentAnswer objects by @StanGirard in
https://github.com/StanGirard/quivr/pull/1874
* Update .gitignore and add .gitmodules by @StanGirard in
https://github.com/StanGirard/quivr/pull/1875
* feat: add new actions modal by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1870
* feat: add selected brain tag and new discussion button to actions
modal by @mamadoudicko in https://github.com/StanGirard/quivr/pull/1873
* feat: add action modal change brain button by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1876


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

---
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-13 11:57:55 +01:00
Mamadou DICKO
14537524df
feat: add action modal change brain button (#1876)
Issue: https://github.com/StanGirard/quivr/issues/1864

Demo:



https://github.com/StanGirard/quivr/assets/63923024/3160d56d-2200-4c96-bb80-25cf45510fcb
2023-12-13 11:55:15 +01:00
Mamadou DICKO
64953d1d77
feat: add selected brain tag and new discussion button to actions modal (#1873)
Issue: https://github.com/StanGirard/quivr/issues/1863

Demo:


https://github.com/StanGirard/quivr/assets/63923024/d1ca33de-6095-41a9-8d87-4ae6f841f5de
2023-12-13 09:21:30 +01:00
Mamadou DICKO
a30042f0fc
feat: add new actions modal (#1870)
Issue: https://github.com/StanGirard/quivr/issues/1861
- Update Quivr font
- Add Actions modal
- Update Popover component
- Move Chat config to Actions modal

Demo:


https://github.com/StanGirard/quivr/assets/63923024/df3ac138-6950-46fe-8e40-6276005c7ef1
2023-12-13 08:54:35 +01:00
Stan Girard
f28e009d98 Add frontend app platform subproject 2023-12-13 01:05:13 +01:00
Stan Girard
38ac77d993 Add submodule for frontend/app/platform 2023-12-13 00:59:11 +01:00
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