Commit Graph

2205 Commits

Author SHA1 Message Date
Stan Girard
f816f970f8
feat(docs): Update Quivr README.md (#3408)
# 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):
2024-10-21 07:55:19 -07:00
Stan Girard
29c279aba2
chore(main): release core 0.0.21 (#3405)
🤖 I have created a release *beep* *boop*
---


##
[0.0.21](https://github.com/QuivrHQ/quivr/compare/core-0.0.20...core-0.0.21)
(2024-10-21)


### Features

* **ci:** trigger
([b92774a](b92774aa37))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-21 05:35:20 -07:00
Stan Girard
b92774aa37 feat(ci): trigger 2024-10-21 14:34:23 +02:00
Stan Girard
20156f44af chore(ci): trigger 2024-10-21 14:33:28 +02:00
Stan Girard
6fd85eb29e feat(changelog): now default method 2024-10-21 14:32:21 +02:00
Stan Girard
6cda54f5c6
fix(rye): workflow (#3404)
# 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):
2024-10-21 05:28:42 -07:00
Stan Girard
ea4db01218
chore(main): release core 0.0.20 (#3402)
🤖 I have created a release *beep* *boop*
---


##
[0.0.20](https://github.com/QuivrHQ/quivr/compare/core-0.0.19...core-0.0.20)
(2024-10-21)


### Features

* **ci:** trigger
([#3403](https://github.com/QuivrHQ/quivr/issues/3403))
([68c09fc](68c09fce85))
* **docs:** trigger ci
([5644596](5644596725))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-21 05:24:02 -07:00
Stan Girard
68c09fce85
feat(ci): trigger (#3403)
# 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):
2024-10-21 05:23:15 -07:00
Stan Girard
5644596725 feat(docs): trigger ci 2024-10-21 14:21:48 +02:00
Stan Girard
4e37c6c738 chore(docs): Update license information in core README.md 2024-10-21 10:18:34 +02:00
Stan Girard
e230df9f4b feat(stars): removed 2024-10-21 10:17:21 +02:00
Stan Girard
cd5bc2abc8
chore(docs): incorrect path in .readthedocs.yaml (#3401)
# 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):
2024-10-21 01:15:18 -07:00
Stan Girard
61f1b621dd chore: Update working directory in release-please-core.yml 2024-10-21 10:10:07 +02:00
Stan Girard
9199493744
chore(main): release core 0.0.19 (#3400)
🤖 I have created a release *beep* *boop*
---


##
[0.0.19](https://github.com/QuivrHQ/quivr/compare/core-0.0.18...core-0.0.19)
(2024-10-21)


### Features

* **quivr-core:** beginning
([#3388](https://github.com/QuivrHQ/quivr/issues/3388))
([7acb52a](7acb52a963))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-21 01:07:17 -07:00
Stan Girard
07a63c6b08
Fix: working directory in release-please-core.yml (#3399)
# 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):
2024-10-21 01:06:01 -07:00
Stan Girard
7acb52a963
feat(quivr-core): beginning (#3388)
# 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):
2024-10-21 00:50:31 -07:00
Stan Girard
4e96ad86cb
chore(main): release core 0.0.18 (#3385)
🤖 I have created a release *beep* *boop*
---


##
[0.0.18](https://github.com/QuivrHQ/quivr/compare/core-0.0.17...core-0.0.18)
(2024-10-16)


### Bug Fixes

* **core:** megaparse config
([#3384](https://github.com/QuivrHQ/quivr/issues/3384))
([ffe86ca](ffe86ca7ba))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-16 05:55:42 -07:00
Stan Girard
ffe86ca7ba
fix(core): megaparse config (#3384)
# 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):
2024-10-16 05:54:32 -07:00
Stan Girard
16a1863e25
chore(main): release core 0.0.17 (#3221)
🤖 I have created a release *beep* *boop*
---


##
[0.0.17](https://github.com/QuivrHQ/quivr/compare/core-0.0.16...core-0.0.17)
(2024-10-16)


### Features

* **assistant:** cdp
([#3305](https://github.com/QuivrHQ/quivr/issues/3305))
([b767f19](b767f19f28))
* **assistants:** mock api
([#3195](https://github.com/QuivrHQ/quivr/issues/3195))
([282fa0e](282fa0e3f8))
* introducing configurable retrieval workflows
([#3227](https://github.com/QuivrHQ/quivr/issues/3227))
([ef90e8e](ef90e8e672))


### Bug Fixes

* fixing pdf parsing
([#3349](https://github.com/QuivrHQ/quivr/issues/3349))
([367242a](367242a3d5))


### Documentation

* **core:** init ([#3365](https://github.com/QuivrHQ/quivr/issues/3365))
([bb572a2](bb572a2a8d))
* **fix:** fixed warnings from griffe
([#3381](https://github.com/QuivrHQ/quivr/issues/3381))
([1a38798](1a3879839a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-16 02:52:14 -07:00
Stan Girard
1a3879839a
docs(fix): fixed warnings from griffe (#3381)
# 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):
2024-10-16 02:48:33 -07:00
Stan Girard
029625e322
chore(main): release 0.0.322 (#3352)
🤖 I have created a release *beep* *boop*
---


## 0.0.322 (2024-10-15)

## What's Changed
* feat: Add new documentation files by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3351
* fix: separate english and french ingredients by @chloedia in
https://github.com/QuivrHQ/quivr/pull/3358
* docs(core): init by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3365
* docs: quivr core storage by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3366
* fix: fixing pdf parsing by @jacopo-chevallard in
https://github.com/QuivrHQ/quivr/pull/3349
* feat: Improve user credit calculation in get_user_credits by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/3367
* fix unwanted parsing effect by @chloedia in
https://github.com/QuivrHQ/quivr/pull/3371
* add fallback on llamaparse by @chloedia in
https://github.com/QuivrHQ/quivr/pull/3374


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.321...v0.0.322

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-16 01:39:23 -07:00
Chloé Daems
a15c9ec88f
add fallback on llamaparse (#3374)
# 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.

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
2024-10-15 01:06:31 -07:00
Chloé Daems
ee9425737e
fix unwanted parsing effect (#3371)
# 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):
2024-10-14 08:23:38 -07:00
Stan Girard
5fc349cd78
feat: Improve user credit calculation in get_user_credits (#3367)
Refactor the get_user_credits method in the Users class to improve the
calculation of monthly chat credits for a user. This change ensures that
the user's monthly chat credit is correctly deducted based on their
usage. If no user settings or monthly chat credit is found, a default
value of 25 is returned.

# 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):
2024-10-14 06:53:44 -07:00
Jacopo Chevallard
367242a3d5
fix: fixing pdf parsing (#3349)
Our default pdf parser is Unstructured, for which we were using the
'fast' strategy, which fails in parsing some pdf. We instead use the
'auto' strategy which is more flexible and powerful.

Closes TICK-86

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

---------

Co-authored-by: chloedia <chloedaems0@gmail.com>
2024-10-14 06:21:12 -07:00
AmineDiro
90848eb827
docs: quivr core storage (#3366)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

---------

Co-authored-by: aminediro <aminedirhoussi@gmail.com>
Co-authored-by: Jacopo Chevallard <jacopo.chevallard@mailfence.com>
Co-authored-by: chloedia <chloedaems0@gmail.com>
2024-10-14 01:31:00 -07:00
Stan Girard
bb572a2a8d
docs(core): init (#3365)
# 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):

---------

Co-authored-by: aminediro <aminedirhoussi@gmail.com>
Co-authored-by: Jacopo Chevallard <jacopo.chevallard@mailfence.com>
Co-authored-by: chloedia <chloedaems0@gmail.com>
Co-authored-by: AmineDiro <aminedirhoussi1@gmail.com>
2024-10-11 07:59:03 -07:00
Chloé Daems
6c2858f4db
fix: separate english and french ingredients (#3358)
# 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):
2024-10-10 03:52:42 -07:00
Stan Girard
d6c7735ee1
feat: Add new documentation files (#3351)
# 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):
2024-10-09 07:10:54 -07:00
Stan Girard
7b81ae5b8d
chore(main): release 0.0.321 (#3347)
🤖 I have created a release *beep* *boop*
---


## 0.0.321 (2024-10-08)

## What's Changed
* feat: Add file name to knowledge properties in crawl_endpoint by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/3346
* feat(frontend): add xlsx by @Zewed in
https://github.com/QuivrHQ/quivr/pull/3340


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.320...v0.0.321

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-08 07:26:26 -07:00
Antoine Dewez
53daadfcd9
feat(frontend): add xlsx (#3340)
# 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):
2024-10-08 07:12:35 -07:00
Stan Girard
eea702d5d1
feat: Add file name to knowledge properties in crawl_endpoint (#3346)
The `crawl_endpoint` function in `crawl_routes.py` now includes the
`file_name` property in the `knowledge_to_add` object. This change
ensures that the file name is properly associated with the crawled
knowledge, improving the accuracy and organization of the data.

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>

# 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):
2024-10-08 07:12:10 -07:00
Stan Girard
25057f9688
chore(main): release 0.0.320 (#3308)
🤖 I have created a release *beep* *boop*
---


## 0.0.320 (2024-10-07)

## What's Changed
* Enable Porter Application cdp by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/3306
* Enable Porter Application cdp-front by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/3307
* feat(assistant): cdp by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3305
* feat: Add debug logging for OCR results by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3309
* feat: Update OCR image scale for better accuracy by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3310
* feat: Update PDFGenerator to include logo in header by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3311
* feat: structlog parseable by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3312
* Revert "feat: structlog parseable" by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3313
* feat: structlog parseable by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3314
* Revert "feat: structlog parseable" by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3315
* feat: Update PDFGenerator to include logo in header by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3318
* feat: structlog parseable by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3319
* feat: Update knowledge status and send notification on task success by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/3320
* feat: Update text retranscription instructions by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3321
* feat: update sentry by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3326
* chore: Remove unnecessary assertion in create_modification_report
function by @StanGirard in https://github.com/QuivrHQ/quivr/pull/3329
* chore: Add NEXT_PUBLIC_INTERCOM_APP_ID to Dockerfile by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3330
* feat: Update Content Security Policy for PostHog by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3331
* fix(cdp): order naming cdc_etiquette by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3333
* fix(notifications): added a debouncing mechanism by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3327


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.319...v0.0.320

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-10-07 05:20:23 -07:00
Stan Girard
fef6b2d01f
fix(notifications): added a debouncing mechanism (#3327)
# 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):

---------

Co-authored-by: Zewed <dewez.antoine2@gmail.com>
2024-10-07 03:24:00 -07:00
Stan Girard
19ab7362e1
fix(cdp): order naming cdc_etiquette (#3333)
# 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):
2024-10-07 03:14:40 -07:00
Stan Girard
7cd11d3b82
feat: Update Content Security Policy for PostHog (#3331)
The `next.config.js` file has been modified to update the Content
Security Policy (CSP) for PostHog. The CSP now allows requests to any
subdomain of `posthog.com` for both `script-src` and `frame-src`. This
change ensures that the frontend application can properly communicate
with PostHog services.

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>

# 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):
2024-10-07 02:23:44 -07:00
Stan Girard
b9799c2f4c
chore: Add NEXT_PUBLIC_INTERCOM_APP_ID to Dockerfile (#3330)
The Dockerfile has been updated to include the
`NEXT_PUBLIC_INTERCOM_APP_ID` environment variable. This change ensures
that the Intercom app ID is properly configured in the frontend
application.

# 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):
2024-10-07 02:07:53 -07:00
Stan Girard
7e4be005ec
chore: Remove unnecessary assertion in create_modification_report function (#3329)
# 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):
2024-10-07 01:49:22 -07:00
Stan Girard
3d9cbe5cea
feat: update sentry (#3326)
# 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):
2024-10-05 01:55:40 -07:00
Stan Girard
306285bafa
feat: Update text retranscription instructions (#3321)
The text retranscription instructions in the `DeadlyParser` class have
been updated to provide more context and clarify the requirements. The
new instructions include information about the type of document, the
absence of illegal content or protected data, and the expectation to
correct the entire text retranscription. This change improves the
clarity and accuracy of the instructions for text retranscription.

# 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):
2024-10-04 05:51:21 -07:00
Stan Girard
8c7bd2ec16
feat: Update knowledge status and send notification on task success (#3320)
This commit updates the code in `celery_monitor.py` to handle task
success events. When a task with a status of `SUCCESS` is received, it
sends a notification with a success status and a corresponding
description. Additionally, if the event has a `knowledge_id`, it updates
the knowledge status to `UPLOADED`. This change improves the handling of
task success events and ensures that notifications and knowledge
statuses are properly updated.

Note: This commit message follows the established convention of starting
with a verb in the imperative form, followed by a brief description of
the changes.

# 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):
2024-10-04 03:01:56 -07:00
AmineDiro
5beb1fadf0
feat: structlog parseable (#3319)
# Description

- bettter logging

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2024-10-04 02:34:58 -07:00
Stan Girard
eb6eb3e209
feat: Update PDFGenerator to include logo in header (#3318)
The PDFGenerator class in `pdf_generator.py` has been updated to include
the logo in the header of the generated PDFs. This enhancement improves
the visual appearance of the PDFs by adding branding elements.

```

# 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):
2024-10-04 02:21:47 -07:00
Stan Girard
8a19c38373
Revert "feat: structlog parseable" (#3315)
Reverts QuivrHQ/quivr#3314
2024-10-03 09:48:19 -07:00
AmineDiro
a9178f651e
feat: structlog parseable (#3314)
# Description
- logging good, better
2024-10-03 09:39:21 -07:00
Stan Girard
8046741443
Revert "feat: structlog parseable" (#3313)
Reverts QuivrHQ/quivr#3312
2024-10-03 09:28:15 -07:00
AmineDiro
ce751d2bd7
feat: structlog parseable (#3312)
# Description

- better logging for backend

# Deployment:

Set the following env variable
```bash
USE_PARSEABLE=True
PARSEABLE_URL=
PARSEABLE_AUTH=
```
2024-10-03 09:11:28 -07:00
Stan Girard
31e82fbfc8
feat: Update PDFGenerator to include logo in header (#3311)
# 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):
2024-10-03 08:35:59 -07:00
Stan Girard
6317acb38a feat: Update PDFGenerator to support markdown formatting
The PDFGenerator class in `pdf_generator.py` has been updated to support markdown formatting when generating PDFs. This allows for better rendering of text with markdown syntax, improving the overall appearance of the generated PDFs.

```
2024-10-03 17:31:54 +02:00
Stan Girard
82b25fe924
feat: Update OCR image scale for better accuracy (#3310)
The image scale for OCR processing has been updated to improve accuracy.
This change increases the scale from 300 to 500, resulting in better
quality text recognition.

# 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):
2024-10-03 08:07:10 -07:00