Commit Graph

1438 Commits

Author SHA1 Message Date
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
Stan Girard
d4b40b3b42
chore(main): release 0.0.202 (#2179)
🤖 I have created a release *beep* *boop*
---


## 0.0.202 (2024-02-11)

## What's Changed
* fix(frontend): change placeholder in chat bar by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2177
* fix(frontend): remove notification banner by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2178
* fix(frontend): remove onboarding questions by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2176
* feat(frontend): new modal for add knowledge by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2173
* Revert "fix(frontend): remove onboarding questions" by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2181
* fix(frontend): remove onboarding question by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2183


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

---
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-10 20:50:05 -08:00
Antoine Dewez
1f16b58f3f
fix(frontend): remove onboarding question (#2183)
# 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-10 20:44:17 -08:00
Stan Girard
8a9f3d809c
Revert "fix(frontend): remove onboarding questions" (#2181)
Reverts QuivrHQ/quivr#2176
2024-02-10 16:47:43 -08:00
Antoine Dewez
cf61ce8132
feat(frontend): new modal for add knowledge (#2173)
# 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-10 16:17:05 -08:00
Antoine Dewez
70b2b58018
fix(frontend): remove onboarding questions (#2176)
# 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-10 16:16:42 -08:00
Antoine Dewez
a8cbba7afc
fix(frontend): remove notification banner (#2178)
# 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-10 16:16:24 -08:00
Antoine Dewez
f40361fde6
fix(frontend): change placeholder in chat bar (#2177)
# 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-10 16:16:11 -08:00
Stan Girard
1d313e51f7
chore(main): release 0.0.201 (#2175)
🤖 I have created a release *beep* *boop*
---


## 0.0.201 (2024-02-10)

## What's Changed
* fix: 🐛 session by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2174


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.200...v0.0.201

---
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-10 16:01:21 -08:00
Stan Girard
caf70def6d fix: 🐛 axios
error lint
2024-02-09 23:56:38 -08:00
Stan Girard
e29d7483c4
fix: 🐛 session (#2174)
fixed session refresh error

# 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-09 23:52:24 -08:00
Stan Girard
0f398a0452
chore(main): release 0.0.200 (#2172)
🤖 I have created a release *beep* *boop*
---


## 0.0.200 (2024-02-09)

## What's Changed
* fix(daily-usage): Update daily requests count in UserUsage model by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2171


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.199...v0.0.200

---
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-09 11:45:10 -08:00
Stan Girard
5781596a5b
fix(daily-usage): Update daily requests count in UserUsage model (#2171)
# 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-09 11:42:59 -08:00
Stan Girard
094b3b3a62
chore(main): release 0.0.199 (#2170)
🤖 I have created a release *beep* *boop*
---


## 0.0.199 (2024-02-08)

## What's Changed
* feat: 🎸 telemetry by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2169


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.198...v0.0.199

---
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-08 14:24:59 -08:00
Stan Girard
597fb4711a
feat: 🎸 telemetry (#2169)
# 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-07 20:44:37 -08:00
Stan Girard
a1dbce559c Update image tags in AWS workflow and docker-compose.yml 2024-02-07 14:15:24 -08:00
Stan Girard
c0c0c7107a Remove unnecessary log statement in UserUsage class 2024-02-07 14:07:19 -08:00
Stan Girard
3b26754a02 Update Docker login username in AWS workflows 2024-02-07 14:05:14 -08:00