Commit Graph

1621 Commits

Author SHA1 Message Date
Antoine Dewez
29da8c70b0
feat(frontend): sources per messages (#2253)
# 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-23 18:56:51 -08:00
Antoine Dewez
eb60bca81c
fix(frontend): better search bar and chat box (#2255)
# 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-23 18:47:55 -08:00
Antoine Dewez
a2f9ae5fde
feat(frontend): integrate octolane (#2256)
# 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-23 18:46:51 -08:00
Stan Girard
0e5f5d887a
fix: Update Sentry configuration to use NEXT_PUBLIC_SENTRY_DSN (#2254)
This pull request updates the Sentry configuration to use the
`NEXT_PUBLIC_SENTRY_DSN` environment variable instead of `SENTRY_DSN`.
This ensures that the correct DSN is used for Sentry initialization.
2024-02-23 18:12:50 -08:00
Stan Girard
e95b965fe8
fix(sentry): Refactor GlobalError component to use arrow function syntax (#2252)
This pull request refactors the GlobalError component to use arrow
function syntax, improving code readability and maintainability.
2024-02-23 17:32:29 -08:00
Stan Girard
1b6896f8ca
Fix Sentry DSN environment variable (#2251)
Update the Sentry DSN environment variable to use the correct name. This
ensures that Sentry is properly initialized when the DSN is set.
2024-02-23 17:02:04 -08:00
Stan Girard
92f301e4ce
Update Sentry configuration and ignore file (#2250)
This pull request updates the Sentry configuration file and adds a new
ignore file. The changes include:

- Updating the `SENTRY_DSN` environment variable to
`NEXT_PUBLIC_SENTRY_DSN`

- Updating the `@sentry/nextjs` package to version `7.102.1`

- Adding a new ignore file `.sentryclirc`
2024-02-23 16:15:39 -08:00
Stan Girard
6db2096f11 feat: 🎸 seed
added gpt4 integration
2024-02-23 15:25:52 -08:00
cvermand
21740a1b27
fix: ollama migration documentation (#2248)
# Description


38de2e7440/docs/developers/contribution/llm/ollama.mdx (L20-L25)

Due to architectural changes in the file system, the ollama
documentation is out of date.



The sql files are now nested inside a `migrations` directory instead of
at the root of the supabase directory.

Fixed by adding `migrations` to the path 

```bash
mv supabase/migrations/local_20240107152745_ollama.sql supabase/migrations/20240107152745_ollama.sql
supabase db reset
```

## 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
2024-02-23 15:10:08 -08:00
Stan Girard
38de2e7440
chore(main): release 0.0.210 (#2244)
🤖 I have created a release *beep* *boop*
---


## 0.0.210 (2024-02-22)

## What's Changed
* feat: Update memory allocation in task definition by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2243
* fix: get_brain_details API to include user_id parameter by @StanGirard
in https://github.com/QuivrHQ/quivr/pull/2242
* feat(chat): Add follow up questions functionality by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2241
* Reduce sampling rate for Sentry traces by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2245
* Revert "feat(chat): Add follow up questions functionality" by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2246
* Add max_input and max_tokens parameters to KnowledgeBrainQA
constructor by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2247


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

---
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 15:58:11 -08:00
Stan Girard
e4f920120f
Add max_input and max_tokens parameters to KnowledgeBrainQA constructor (#2247)
This pull request adds the `max_input` and `max_tokens` parameters to
the `KnowledgeBrainQA` constructor. These parameters allow for setting
the maximum input length and maximum number of tokens for the
KnowledgeBrainQA model. This provides more flexibility and control over
the input size and tokenization process.
2024-02-22 15:38:25 -08:00
Stan Girard
81072b3841
Revert "feat(chat): Add follow up questions functionality" (#2246)
Reverts QuivrHQ/quivr#2241
2024-02-22 15:35:39 -08:00
Stan Girard
44312dc617
Reduce sampling rate for Sentry traces (#2245)
This pull request reduces the sampling rate for Sentry traces to 0.1.
This change ensures that only a small percentage of traces are captured,
which helps to reduce the impact on performance and storage.
2024-02-22 14:48:45 -08:00
Stan Girard
5f862e7c31
feat(chat): Add follow up questions functionality (#2241)
This pull request adds the ability to ask follow up questions in the
chat. It also includes various code improvements and bug fixes.
2024-02-22 13:02:29 -08:00
Stan Girard
73d5e7b808
fix: get_brain_details API to include user_id parameter (#2242)
This pull request fixes the `get_brain_details` API by adding a
`user_id` parameter. Previously, the API did not include the `user_id`
parameter, which caused issues when retrieving brain details. This fix
ensures that the `user_id` is passed correctly to the API, allowing for
accurate retrieval of brain details.
2024-02-22 12:48:34 -08:00
Stan Girard
bc52146430
feat: Update memory allocation in task definition (#2243)
# 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 12:46:24 -08:00
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