Commit Graph

1605 Commits

Author SHA1 Message Date
Stan Girard
5d165f0e57
chore(main): release 0.0.209 (#2240)
🤖 I have created a release *beep* *boop*
---


## 0.0.209 (2024-02-22)

## What's Changed
* fix(frontend): fix share brain by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2238
* fix(frontend): don't preselect core brain by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2239


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.208...v0.0.209

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-22 11:36:03 -08:00
Antoine Dewez
65fd60cd78
fix(frontend): don't preselect core brain (#2239)
# 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-02-22 11:18:03 -08:00
Antoine Dewez
fd88709096
fix(frontend): fix share brain (#2238)
# 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-02-22 11:17:21 -08:00
Stan Girard
02d6a58893
Update devcontainer.json 2024-02-22 10:13:16 -08:00
Stan Girard
9ba7beeb5b
Create devcontainer.json 2024-02-22 09:58:14 -08:00
Stan Girard
e6eb77b255
chore(main): release 0.0.208 (#2218)
🤖 I have created a release *beep* *boop*
---


## 0.0.208 (2024-02-21)

## What's Changed
* feat: Add pricing calculation method to GPT4Brain class and update
user usage in chat controller by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2216
* Enable Porter Application quivr by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2220
* Delete Porter Application quivr by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2221
* Enable Porter Application preview-quivr by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2222
* Enable Porter Application prod-quivr by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2223
* feat(brains): added description by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2224
* feat: Add integration_logo_url to MinimalUserBrainEntity by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2225
* Add Redis configuration to celery_config.py by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2227
* Remove unused 'model' variable and logging statements by @StanGirard
in https://github.com/QuivrHQ/quivr/pull/2228
* feat: Add max_files attribute to MinimalUserBrainEntity and
BrainsUsers repository by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2229
* Feature: Add animations to foldable section by @johnfewell in
https://github.com/QuivrHQ/quivr/pull/2202
* feat(frontend): first custom brain live by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2226
* fix(frontend): legacy on foldable section animation pr by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2230
* Fix: API endpoint for getting integration brains by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2231
* feat: Update dependencies and remove unnecessary logging statements by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2232
* feat: implement elasticache by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2234
* fix(frontend): ellipsis overflow on large brain or prompt names by
@Zewed in https://github.com/QuivrHQ/quivr/pull/2233

## New Contributors
* @porter-deployment-app made their first contribution in
https://github.com/QuivrHQ/quivr/pull/2220
* @johnfewell made their first contribution in
https://github.com/QuivrHQ/quivr/pull/2202

**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.207...v0.0.208

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-21 11:23:59 -08:00
Stan Girard
f5fb444bc8 fix: Update Celery config to remove SSL certificate requirement 2024-02-20 19:56:14 -08:00
Antoine Dewez
f11eabe309
fix(frontend): ellipsis overflow on large brain or prompt names (#2233)
# 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-02-20 19:54:38 -08:00
Stan Girard
19c11944bc
feat: implement elasticache (#2234)
# 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-02-20 19:52:14 -08:00
Stan Girard
3c2d83b22f
feat: Update dependencies and remove unnecessary logging statements (#2232)
# 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-02-20 16:59:58 -08:00
Stan Girard
193d181eda
Fix: API endpoint for getting integration brains (#2231)
This pull request fixes the API endpoint for getting integration brains.
Previously, the endpoint was missing a trailing slash, causing the
request to fail. This PR adds the missing slash to the endpoint,
ensuring that the request is successful.
2024-02-20 16:01:46 -08:00
Antoine Dewez
6941490d9f
fix(frontend): legacy on foldable section animation pr (#2230)
# 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-02-20 15:36:15 -08:00
Antoine Dewez
b09878f332
feat(frontend): first custom brain live (#2226)
# 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-02-20 15:11:03 -08:00
John Fewell
ec5679072f
Feature: Add animations to foldable section (#2202)
# Description

Refactored the foldable section. The design is inspired by [Material
Design's expansion
panel](https://m1.material.io/components/expansion-panels.html#). The
existing design has the chevron alternating from pointing down to
pointing right. This is misleading because there is no subordinate
information to the right. Also, this PR animates the arrow and foldable
section, creating a delightful experience.

## Checklist before requesting a review

- [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] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged

## Screenshots (if appropriate):

[expansion.webm](https://github.com/QuivrHQ/quivr/assets/1273463/71ef2c98-c0ed-4374-840e-0bf16bf4da55)
### Update

[expansion2.webm](https://github.com/QuivrHQ/quivr/assets/1273463/0be769d2-93b4-42e3-938d-3bc0a63e0e06)
2024-02-20 15:08:48 -08:00
Stan Girard
7212e62859
feat: Add max_files attribute to MinimalUserBrainEntity and BrainsUsers repository (#2229)
This pull request adds a new attribute, max_files, to the
MinimalUserBrainEntity class in the BrainsUsers repository. The
max_files attribute represents the maximum number of files allowed for a
brain integration.
2024-02-20 14:31:25 -08:00
Stan Girard
2a8014d3a2 fix: Refactor Celery configuration to use environment variables 2024-02-20 10:14:29 -08:00
Stan Girard
956ffbb5e0
Remove unused 'model' variable and logging statements (#2228)
This pull request removes the unused 'model' variable and logging
statements from the codebase.
2024-02-20 02:14:02 -08:00
Stan Girard
9658bb8742 Add integration logo URL to BrainsUsers constructor 2024-02-20 01:41:34 -08:00
Stan Girard
6ba028cb08 Revert "Add celery with redis support"
This reverts commit 6fa9b173d5.
2024-02-20 01:27:42 -08:00
Stan Girard
6fa9b173d5 Add celery with redis support 2024-02-20 01:12:39 -08:00
Stan Girard
42db236e40 Add Redis password logging in celery_config.py 2024-02-20 01:03:43 -08:00
Stan Girard
4406f1deb2 Add result_backend to Celery configuration 2024-02-20 01:02:38 -08:00
Stan Girard
41057cd58c Add logger to celery_config.py 2024-02-20 00:21:40 -08:00
Stan Girard
f406afcc45
Add Redis configuration to celery_config.py (#2227)
This pull request adds Redis configuration to the `celery_config.py`
file. The `CELERY_BROKER_URL` has been replaced with `REDIS_HOST`,
`REDIS_PORT`, and `REDIS_PASS` environment variables to configure the
Redis broker and backend. This change allows for better integration with
Redis in the application.
2024-02-19 23:51:18 -08:00
Stan Girard
6db67cc7b6
feat: Add integration_logo_url to MinimalUserBrainEntity (#2225)
# 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-02-19 22:33:18 -08:00
Stan Girard
0ec9eb00b8
feat(brains): added description (#2224)
This pull request updates the brain authorization and integration
entities. It includes changes to the `retrieve_brain_by_id`,
`update_existing_brain`, `update_existing_brain_secrets`,
`CreateApiBrainDefinition`, `CreateIntegrationBrain`,
`BrainIntegrationSettings`, `BrainIntegrationUpdateSettings`,
`CreateBrainProperties`, and `BrainUpdatableProperties` classes.
2024-02-19 21:44:06 -08:00
porter-deployment-app[bot]
25ef453b19
Enable Porter Application prod-quivr (#2223)
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-02-19 20:55:11 -08:00
porter-deployment-app[bot]
7fa3a4fc8b
Enable Porter Application preview-quivr (#2222)
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-02-19 19:22:41 -08:00
porter-deployment-app[bot]
cc09efaccb
Delete Porter Application quivr (#2221)
Please merge this PR to delete the workflow file associated with your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-02-19 19:19:24 -08:00
porter-deployment-app[bot]
cd3df2fe45
Enable Porter Application quivr (#2220)
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-02-19 18:33:02 -08:00
Stan Girard
4edf670028
feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller (#2216)
Reverts QuivrHQ/quivr#2215
2024-02-19 17:29:45 -08:00
Stan Girard
874c21f7e4
Revert "feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller" (#2215)
Reverts QuivrHQ/quivr#2210
2024-02-19 08:12:33 -08:00
Stan Girard
1cbd71db29
chore(main): release 0.0.206 (#2211)
🤖 I have created a release *beep* *boop*
---


## 0.0.206 (2024-02-19)

## What's Changed
* feat: Add pricing calculation method to GPT4Brain class and update
user usage in chat controller by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2210
* fix(frontend): click on inputs by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2212


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.205...v0.0.206

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-18 23:46:30 -08:00
Antoine Dewez
045215cd65
fix(frontend): click on inputs (#2212)
# 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-02-18 23:43:21 -08:00
Stan Girard
2c71e0edc7
feat: Add pricing calculation method to GPT4Brain class and update user usage in chat controller (#2210)
This pull request adds a new method called `calculate_pricing` to the
`GPT4Brain` class in the codebase. This method calculates the pricing
for the GPT4Brain model. Additionally, the user usage in the chat
controller has been updated to include the new pricing calculation
method.
2024-02-18 23:05:13 -08:00
Stan Girard
aa4e85fc32
chore(main): release 0.0.205 (#2200)
🤖 I have created a release *beep* *boop*
---


## 0.0.205 (2024-02-19)

## What's Changed
* Update ollama.mdx by @zangjiucheng in
https://github.com/QuivrHQ/quivr/pull/2196
* feat(integration): improve by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2199
* fix(frontend): history to threads by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2201
* feat(custom): big brain by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2198
* feat: Update system templates with custom personality support by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2209

## New Contributors
* @zangjiucheng made their first contribution in
https://github.com/QuivrHQ/quivr/pull/2196

**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.204...v0.0.205

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-18 19:43:00 -08:00
Stan Girard
2ae8ec1739
feat: Update system templates with custom personality support (#2209)
This pull request updates the system templates to include support for
custom personality. It adds a new parameter called "custom_personality"
to the generate_stream function, which allows users to provide a custom
personality for the AI assistant. This feature enhances the user
experience by allowing them to personalize the assistant's responses.
2024-02-18 16:22:21 -08:00
Stan Girard
57ec5a634b
feat(custom): big brain (#2198)
# 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-02-16 17:14:30 -08:00
Antoine Dewez
6ae529f614
fix(frontend): history to threads (#2201)
# 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-02-16 16:28:27 -08:00
Stan Girard
ef6ee14440
feat(integration): improve (#2199)
# 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-02-16 11:32:13 -08:00
Jiucheng(Oliver)
1099d1664f
Update ollama.mdx (#2196)
Fix extra comma in the JSON file

# 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-02-15 23:38:37 -08:00
Stan Girard
f9278da616 Refactor knowledge_brain_qa.py: Remove unused imports and update method calls 2024-02-14 23:54:52 -08:00
Stan Girard
ea27017e62
chore(main): release 0.0.203 (#2188)
🤖 I have created a release *beep* *boop*
---


## 0.0.203 (2024-02-15)

## What's Changed
* feat: 🎸 ocr by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2187
* feat(lcel): migrated to lcel and pydantic by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2185
* feat(frontend): new brain creation modal by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2192
* feat(integration): implementation by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2191
* feat(frontend): new design for brain table by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2193


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.202...v0.0.203

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-14 21:22:57 -08:00
Stan Girard
743528a6e6 Add libpq-dev and gcc to Dockerfile 2024-02-14 20:29:57 -08:00
Stan Girard
33eedcf5eb Increase pip install timeout to 20000 2024-02-14 20:16:04 -08:00
Antoine Dewez
ff7393e441
feat(frontend): new design for brain table (#2193)
# 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-02-14 20:08:58 -08:00
Stan Girard
ba5ef60362
feat(integration): implementation (#2191)
# 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-02-14 20:07:53 -08:00
Antoine Dewez
6383918f7b
feat(frontend): new brain creation modal (#2192)
# 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-02-14 16:37:33 -08:00
Stan Girard
08e015af6c
feat(lcel): migrated to lcel and pydantic (#2185)
# 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: Antoine Dewez <44063631+Zewed@users.noreply.github.com>
2024-02-14 14:01:35 -08:00
Stan Girard
2ba3bc1f07
feat: 🎸 ocr (#2187)
added ocr

# 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-02-12 19:56:20 -08:00