Commit Graph

2230 Commits

Author SHA1 Message Date
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
Stan Girard
55a28c0945
feat: Add debug logging for OCR results (#3309)
# 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 07:37:40 -07:00
Stan Girard
b767f19f28
feat(assistant): cdp (#3305)
# 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-03 06:46:59 -07:00
porter-deployment-app[bot]
c39913956d
Enable Porter Application cdp-front (#3307)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-10-03 05:16:44 -07:00
porter-deployment-app[bot]
93fc3ef4e5
Enable Porter Application cdp (#3306)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-10-03 05:13:51 -07:00
Stan Girard
61af348e81
chore(main): release 0.0.319 (#3299)
🤖 I have created a release *beep* *boop*
---


## 0.0.319 (2024-10-01)

## What's Changed
* feat: Add error handling for rate-limited search in fetch_notion_pages
by @StanGirard in https://github.com/QuivrHQ/quivr/pull/3298
* feat: Remove syncNotion from ConnectionCards by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3300


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

---
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-01 07:13:37 -07:00
Stan Girard
d74f1008d9
feat: Remove syncNotion from ConnectionCards (#3300)
The syncNotion function is no longer needed in the ConnectionCards
component, simplifying the code and improving maintainability.

# 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-01 05:57:25 -07:00
Stan Girard
113e13a573
feat: Add error handling for rate-limited search in fetch_notion_pages (#3298)
The fetch_notion_pages function now includes error handling for
rate-limited searches. If a rate-limited response is received, the
function waits for 10 seconds before retrying the search. This ensures
that the function can handle rate limits and continue fetching Notion
pages.

Co-authored-by: StanGirard <stan@example.com>
Co-authored-by: ZeWed <zewed@example.com>
2024-10-01 05:43:19 -07:00
Stan Girard
31fcebdfd8
chore(main): release 0.0.318 (#3293)
🤖 I have created a release *beep* *boop*
---


## 0.0.318 (2024-09-30)

## What's Changed
* feat: add syncNotion from ConnectionCards by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3292


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.317...v0.0.318

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-09-30 09:08:14 -07:00
Stan Girard
08d5caf796
feat: add syncNotion from ConnectionCards (#3292)
This commit removes the syncNotion function from the ConnectionCards
component. The function is no longer needed, simplifying the code and
improving maintainability.

# 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-09-30 08:57:23 -07:00
Stan Girard
35236654a0
chore(main): release 0.0.317 (#3285)
🤖 I have created a release *beep* *boop*
---


## 0.0.317 (2024-09-30)

## What's Changed
* feat: update SyncsUser status field to be optional by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3284
* fix(frontend): onboarding modal by @Zewed in
https://github.com/QuivrHQ/quivr/pull/3286
* feat: Remove syncNotion from ConnectionCards by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3289


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.316...v0.0.317

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-09-30 08:45:49 -07:00
Stan Girard
0ea4521998
feat: Remove syncNotion from ConnectionCards (#3289)
The syncNotion function is no longer needed in the ConnectionCards
component, so it has been removed. This change simplifies the code and
improves maintainability.

# 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-09-30 08:42:39 -07:00
Antoine Dewez
23c8f6cd49
fix(frontend): onboarding modal (#3286)
# 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-09-30 15:51:32 +02:00
Stan Girard
f0ee99a1cf
feat: update SyncsUser status field to be optional (#3284)
The SyncsUser model in sync_models.py now has an optional status field.
This change allows for more flexibility in managing user synchronization
status.

# 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-09-30 06:49:08 -07:00
Stan Girard
a34f0f11a0
chore(main): release 0.0.316 (#3219)
🤖 I have created a release *beep* *boop*
---


## 0.0.316 (2024-09-30)

## What's Changed
* fix(core): enforce langchain <0.3 for pydantic v1 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3217
* chore(main): release core 0.0.16 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3218
* feat(assistants): mock api by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3195
* chore(examples): fix chainlit example by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3223
* feat(integration): Notion by @chloedia in
https://github.com/QuivrHQ/quivr/pull/3173
* fix(migration): order migrations by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3231
* feat: remove n+1 query knowledge by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3238
* feat: introducing configurable retrieval workflows by
@jacopo-chevallard in https://github.com/QuivrHQ/quivr/pull/3227
* fix: wrong default path for CHAT_LLM_CONFIG_PATH env variable by
@jacopo-chevallard in https://github.com/QuivrHQ/quivr/pull/3247
* fix(frontend): sync folder for premium users by @Zewed in
https://github.com/QuivrHQ/quivr/pull/3251
* fix: correctly passing the prompt provided by the user by
@jacopo-chevallard in https://github.com/QuivrHQ/quivr/pull/3252
* fix: add sync user id aget_files by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3261
* feat: update sync_user.py to include sync user id in aget_files call
by @StanGirard in https://github.com/QuivrHQ/quivr/pull/3276
* chore: update Dockerfile dependencies and copy files by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3277
* chore: add wget to Dockerfile dependencies by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3279


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.315...v0.0.316

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-09-30 06:00:36 -07:00
Stan Girard
fbef123fdc
chore: add wget to Dockerfile dependencies (#3279)
# 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-09-30 03:42:51 -07:00
Stan Girard
f334dc0f49
chore: update Dockerfile dependencies and copy files (#3277)
# 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-09-30 03:26:50 -07:00
Stan Girard
11f5448008
feat: update sync_user.py to include sync user id in aget_files call (#3276)
# 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-09-30 02:43:53 -07:00
AmineDiro
0c90254399
fix: add sync user id aget_files (#3261) 2024-09-25 09:08:12 -07:00
Jacopo Chevallard
ebeb41e579
fix: correctly passing the prompt provided by the user (#3252)
Closes CORE-207

# 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-09-24 05:26:18 -07:00
Antoine Dewez
ad400fb4f5
fix(frontend): sync folder for premium users (#3251)
# 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-09-24 12:52:33 +02:00
Jacopo Chevallard
1456015c68
fix: wrong default path for CHAT_LLM_CONFIG_PATH env variable (#3247)
# 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
- [ ] 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-09-23 10:15:07 -07:00
Jacopo Chevallard
ef90e8e672
feat: introducing configurable retrieval workflows (#3227)
# Description

Major PR which, among other things, introduces the possibility of easily
customizing the retrieval workflows. Workflows are based on LangGraph,
and can be customized using a [yaml configuration
file](core/tests/test_llm_endpoint.py), and adding the implementation of
the nodes logic into
[quivr_rag_langgraph.py](1a0c98437a/backend/core/quivr_core/quivr_rag_langgraph.py)

This is a first, simple implementation that will significantly evolve in
the coming weeks to enable more complex workflows (for instance, with
conditional nodes). We also plan to adopt a similar approach for the
ingestion part, i.e. to enable user to easily customize the ingestion
pipeline.

Closes CORE-195, CORE-203, CORE-204

## 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):
2024-09-23 09:11:06 -07:00
AmineDiro
5e48594c77
feat: remove n+1 query knowledge (#3238)
# Description

closes #3237
2024-09-23 02:41:35 -07:00
Stan Girard
ad87641d19
fix(migration): order migrations (#3231)
# 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-09-19 06:21:33 -07:00
Chloé Daems
42f4bb724e
feat(integration): Notion (#3173)
# Description

Fix multiple notion bugs 👍 

-> Delete your notion sync and all the notion files from the db
-> Ensure a sync is not already running before launching a sync.
-> Add a status to subscribe to for user_sync

---------

Co-authored-by: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
Co-authored-by: Stan Girard <stan@quivr.app>
Co-authored-by: aminediro <aminedirhoussi1@gmail.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2024-09-19 05:37:04 -07:00