Commit Graph

2162 Commits

Author SHA1 Message Date
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
Stan Girard
9c6d998c7c
chore(examples): fix chainlit example (#3223)
The commit updates the message content in the `main.py` file of the
chatbot example.

# 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-18 08:12:24 -07:00
Stan Girard
282fa0e3f8
feat(assistants): mock api (#3195)
# 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-18 03:30:48 -07:00
Stan Girard
4390d318a2
chore(main): release core 0.0.16 (#3218)
🤖 I have created a release *beep* *boop*
---


##
[0.0.16](https://github.com/QuivrHQ/quivr/compare/core-0.0.15...core-0.0.16)
(2024-09-17)


### Bug Fixes

* **core:** enforce langchain &lt;0.3 for pydantic v1
([#3217](https://github.com/QuivrHQ/quivr/issues/3217))
([4bb4800](4bb4800a76))

---
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-17 15:18:00 -07:00
Stan Girard
4bb4800a76
fix(core): enforce langchain <0.3 for pydantic v1 (#3217)
# 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-17 15:17:11 -07:00
Stan Girard
9063b10132
chore(main): release 0.0.315 (#3212)
🤖 I have created a release *beep* *boop*
---


## 0.0.315 (2024-09-17)

## What's Changed
* chore(main): release core 0.0.15 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3203
* fix: knowledge user_id fix by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3216


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

---
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-17 13:57:24 -07:00
AmineDiro
6a0dbfe833
fix: knowledge user_id fix (#3216) 2024-09-17 19:06:04 +02:00
Stan Girard
348c1a71b0
chore(main): release core 0.0.15 (#3203)
🤖 I have created a release *beep* *boop*
---


##
[0.0.15](https://github.com/QuivrHQ/quivr/compare/core-0.0.14...core-0.0.15)
(2024-09-16)


### Features

* CRUD KMS (no syncs)
([#3162](https://github.com/QuivrHQ/quivr/issues/3162))
([71edca5](71edca572f))
* save and load brain
([#3202](https://github.com/QuivrHQ/quivr/issues/3202))
([eda619f](eda619f454))


### Bug Fixes

* Update LLMEndpoint to include max_tokens parameter
([#3201](https://github.com/QuivrHQ/quivr/issues/3201))
([13ed225](13ed225b17))

---
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-16 05:54:29 -07:00
Stan Girard
1c60a9f538
chore(main): release 0.0.314 (#3210)
🤖 I have created a release *beep* *boop*
---


## 0.0.314 (2024-09-16)

## What's Changed
* feat: CRUD KMS (no syncs) by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3162


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.313...v0.0.314

---
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-16 05:52:15 -07:00
AmineDiro
71edca572f
feat: CRUD KMS (no syncs) (#3162)
# Description

closes #3056.
closes #3198 


- Create knowledge route
- Get knowledge route
- List knowledge route : accepts knowledge_id | None. None to list root
knowledge for use
- Update (patch) knowledge to rename and move knowledge
- Remove knowledge: Cascade if parent_id in knowledge and cleanup
storage
- Link storage upload to knowledge_service
- Relax sha1 file constraint
- Tests to all repository / service

---------

Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2024-09-16 04:31:09 -07:00
Stan Girard
edc4118ba1
chore(main): release 0.0.313 (#3205)
🤖 I have created a release *beep* *boop*
---


## 0.0.313 (2024-09-13)

## What's Changed
* feat: save and load brain by @AmineDiro in
https://github.com/QuivrHQ/quivr/pull/3202


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.312...v0.0.313

---
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-15 03:05:28 -07:00
AmineDiro
eda619f454
feat: save and load brain (#3202)
# Description
- Save and load brain to disk: 
```python
async def main():
    with tempfile.NamedTemporaryFile(mode="w", suffix=".txt") as temp_file:
        temp_file.write("Gold is a liquid of blue-like colour.")
        temp_file.flush()

        brain = await Brain.afrom_files(name="test_brain", file_paths=[temp_file.name])

        save_path = await brain.save("/home/amine/.local/quivr")

        brain_loaded = Brain.load(save_path)
        brain_loaded.print_info()

```

# TODO: 
- Loading all chat history
- Loading from other vector stores, PG for example can be great ...
2024-09-13 06:35:28 -07:00
Stan Girard
06f72eb451
chore(main): release 0.0.312 (#3204)
🤖 I have created a release *beep* *boop*
---


## 0.0.312 (2024-09-13)

## What's Changed
* fix: Update LLMEndpoint to include max_tokens parameter by @StanGirard
in https://github.com/QuivrHQ/quivr/pull/3201


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.311...v0.0.312

---
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-13 02:17:28 -07:00
Stan Girard
13ed225b17
fix: Update LLMEndpoint to include max_tokens parameter (#3201)
# 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-13 01:59:41 -07:00
Stan Girard
8fb4887716
chore(main): release 0.0.311 (#3194)
🤖 I have created a release *beep* *boop*
---


## 0.0.311 (2024-09-12)

## What's Changed
* chore(embeddings): added tests for embeddings by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3183
* feat(uptime): check if connection to db works by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3199


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.310...v0.0.311

---
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-12 09:42:00 -07:00
Stan Girard
d9b0e62618
feat(uptime): check if connection to db works (#3199)
# 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-12 08:22:24 -07:00
Stan Girard
758e87e89c
chore(embeddings): added tests for embeddings (#3183)
# 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-11 07:00:19 -07:00
Stan Girard
7edc3a2e4a
chore(main): release 0.0.310 (#3181)
🤖 I have created a release *beep* *boop*
---


## 0.0.310 (2024-09-10)

## What's Changed
* feat: Add Azure OpenAI embeddings support by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/3182


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.309...v0.0.310

---
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-11 06:58:58 -07:00
Stan Girard
452f09280d
feat: Add Azure OpenAI embeddings support (#3182)
The code changes in `dependencies.py` add support for Azure OpenAI
embeddings by parsing the provided URL and extracting the deployment
name, endpoint, and API version. This allows the application to use
Azure OpenAI embeddings for language processing.

Note: The recent user commits and repository commits are not directly
related to the code changes in `dependencies.py` and are not considered
for the commit message.

# 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-10 09:44:22 -07:00