Commit Graph

1140 Commits

Author SHA1 Message Date
Stan Girard
85913c5db0 feat: 🎸 brainasapi
fixed size
2023-11-22 22:14:53 +01:00
Stan Girard
d874b4ac5c feat: 🎸 tokens
increased max
2023-11-22 19:20:28 +01:00
Pascal Gula
8bbe6e7054
Adds pytesseract, tesseract and poopler-utils (#1648)
To enable the ingestion of copy protected PDF via OCR instead of text
extraction

# Description

Copy protected PDF can't be properly imported via the standard langchain
loader.

See the following errors:

```
2023-11-15 14:16:31,927 [INFO] models.files: Computing documents from file Cradle to Cradle Criteria for the built environmen.pdf
[nltk_data] Downloading package punkt to
[nltk_data]     /home/pascal_gula_luccid_ai/nltk_data...
[nltk_data]   Unzipping tokenizers/punkt.zip.
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data]     /home/pascal_gula_luccid_ai/nltk_data...
[nltk_data]   Unzipping taggers/averaged_perceptron_tagger.zip.
Error processing file: detectron2 is not installed, pytesseract is not installed and the text of the PDF is not extractable. To process this file, install detectron2, install pytesseract, or remove copy protection from the PDF.
```

```
2023-11-15 15:04:14,624 [INFO] models.files: Computing documents from file Cradle to Cradle Criteria for the built environmen.pdf
Error processing file: Unable to get page count. Is poppler installed and in PATH?
```

```
023-11-15 15:59:11,886 [INFO] models.files: Computing documents from file Cradle to Cradle Criteria for the built environmen.pdf
Error processing file: tesseract is not installed or it's not in your PATH. See README file for more information.
```


## 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):

None

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2023-11-22 17:26:11 +01:00
Mamadou DICKO
111d7fba1e
docs: add api based brains (#1685)
Issue: https://github.com/StanGirard/quivr/issues/1686

Update Quivr doc add info about api based brains

Demo:


https://github.com/StanGirard/quivr/assets/63923024/8e92420c-7bf7-4fce-bc8b-64d6479fee40
2023-11-22 17:01:56 +01:00
Stan Girard
d3de98e30e
chore(main): release 0.0.117 (#1677)
🤖 I have created a release *beep* *boop*
---


## 0.0.117 (2023-11-22)

## What's Changed
* fix: 🐛 api by @StanGirard in
https://github.com/StanGirard/quivr/pull/1676
* fix: persist api brain creation data on tab change by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1680
* feat: 🎸 tokens by @StanGirard in
https://github.com/StanGirard/quivr/pull/1678
* feat: allow updating api brain definition by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1682
* feat: make brain description required by @mamadoudicko in
https://github.com/StanGirard/quivr/pull/1684


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

---
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-22 12:09:52 +01:00
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