Commit Graph

1506 Commits

Author SHA1 Message Date
Antoine Dewez
c19f443e7f
fix(frontend): small renaiming chat to thread (#2306)
# 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-03-06 11:13:16 -08:00
Stan Girard
29e762612c
feat: Update to newest version of litellm (#2307)
This pull request includes a feature update to the newest version of
litellm. This update brings in the latest enhancements and bug fixes to
improve the functionality and performance of the software.
2024-03-06 11:03:47 -08:00
Stan Girard
ccf4e0304a
chore(main): release 0.0.218 (#2298)
🤖 I have created a release *beep* *boop*
---


## 0.0.218 (2024-03-05)

## What's Changed
* feat: doc as integration by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2297
* fix(rag): add api_base by @niels-garve in
https://github.com/QuivrHQ/quivr/pull/2289
* fix(frontend): login bug by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2300

## New Contributors
* @niels-garve made their first contribution in
https://github.com/QuivrHQ/quivr/pull/2289

**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.217...v0.0.218

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-03-05 08:41:21 -08:00
Antoine Dewez
13909bfd67
fix(frontend): login bug (#2300)
# 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-03-05 08:25:09 -08:00
Niels Garve
6d024bc16d
fix(rag): add api_base (#2289)
# Description

With this pull request, I add a fix that **enables Ollama**. 

Running quivr in a Docker container, Ollama needs to be accessed via
http://host.docker.internal:11434.

This URL is defined as `api_base` of the `ChatLiteLLM` constructor. But
there are calls that are missing `api_base`. This leads to fallback URLs
being used. This is now fixed.

Fixes #2270 #2267 #2217 #2204 

## 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
- [ ] 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):

None

Co-authored-by: Niels Garve <niels.garve@experienceone.com>
2024-03-04 23:48:23 -08:00
Stan Girard
edcabdbcdf
feat: doc as integration (#2297)
This pull request updates the integration types and classes in the
codebase. It includes the following commits:

- Update logo_url field in brain entity and integration_brain entity

- Update integration references in BrainsUsers and IntegrationBrain
classes

- Revert "Update integration references in BrainsUsers and
IntegrationBrain classes"

- Revert "Update logo_url field in brain entity and integration_brain
entity"

- Add 'doc' integration type and KnowledgeBrainQA class

Please review and merge these changes.
2024-03-04 16:10:56 -08:00
Stan Girard
2d07e78922
chore(main): release 0.0.217 (#2296)
🤖 I have created a release *beep* *boop*
---


## 0.0.217 (2024-03-04)

## What's Changed
* fix(frontend): fix home page redirection by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2295


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.216...v0.0.217

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-03-04 15:06:45 -08:00
Antoine Dewez
bc1ad91322
fix(frontend): fix home page redirection (#2295)
# 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-03-04 15:02:09 -08:00
Stan Girard
f24a4d74ec
chore(main): release 0.0.216 (#2283)
🤖 I have created a release *beep* *boop*
---


## 0.0.216 (2024-03-04)

## What's Changed
* feat: Update chunk_size in File model by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2281
* fix(frontend): double file upload on drag and drop by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2284
* fix(frontend): click anywhere on drop zone to upload file by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2285
* fix(frontend): smalls on thread section by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2286
* fix(frontend): remove tests by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2287
* feat(frontend): better UI/UX on select brain by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2288
* feat(frontend): add brain icon on brain list by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2292
* fix(frontend): whitespace on firefox by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2293
* fix(frontend): remove unused stuff by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2282


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.215...v0.0.216

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-03-04 11:47:46 -08:00
Antoine Dewez
1b75e09420
fix(frontend): remove unused stuff (#2282)
# 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-03-04 11:35:34 -08:00
Antoine Dewez
34a521e3d8
fix(frontend): whitespace on firefox (#2293)
# 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-03-04 11:29:24 -08:00
Antoine Dewez
16f922b8c4
feat(frontend): add brain icon on brain list (#2292)
# 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-03-04 11:22:19 -08:00
Antoine Dewez
6efe1be86d
feat(frontend): better UI/UX on select brain (#2288)
# 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-03-04 11:22:02 -08:00
Antoine Dewez
1613b7a586
fix(frontend): remove tests (#2287)
# 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-03-04 11:07:00 -08:00
Antoine Dewez
d021c42d9f
fix(frontend): smalls on thread section (#2286)
# 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-03-04 11:06:39 -08:00
Antoine Dewez
c67e2ae41b
fix(frontend): click anywhere on drop zone to upload file (#2285)
# 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-03-04 11:06:23 -08:00
Antoine Dewez
ff914b9d0f
fix(frontend): double file upload on drag and drop (#2284)
# 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-03-04 11:06:08 -08:00
Stan Girard
ecc8eb6366
feat: Update chunk_size in File model (#2281)
This pull request updates the chunk_size in the File model from 500 to
250. This change will improve the performance and efficiency of the
code.
2024-03-01 15:07:57 -08:00
Stan Girard
014d702d9f
chore(main): release 0.0.215 (#2279)
🤖 I have created a release *beep* *boop*
---


## 0.0.215 (2024-03-01)

## What's Changed
* fix(frontend): message info box by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2277
* fix(frontend): see knowledge in custom brains by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2278
* fix(frontend): fix disabled knwoledge tab by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2280


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.214...v0.0.215

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-03-01 11:49:02 -08:00
Antoine Dewez
99156955a3
fix(frontend): fix disabled knwoledge tab (#2280)
# 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-03-01 11:43:54 -08:00
Antoine Dewez
019c78c7bc
fix(frontend): see knowledge in custom brains (#2278)
# 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-03-01 11:31:04 -08:00
Antoine Dewez
2def1af77f
fix(frontend): message info box (#2277)
# 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-03-01 11:30:46 -08:00
Stan Girard
30fc201de0
chore(main): release 0.0.214 (#2275)
🤖 I have created a release *beep* *boop*
---


## 0.0.214 (2024-02-29)

## What's Changed
* fix(frontend): revamp quivr studio by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2274
* fix(frontend): zindex and radius on single selector component by
@Zewed in https://github.com/QuivrHQ/quivr/pull/2276


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.213...v0.0.214

---
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-29 14:29:53 -08:00
Antoine Dewez
01ade6885b
fix(frontend): zindex and radius on single selector component (#2276)
# 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-29 14:08:10 -08:00
Antoine Dewez
8fc8c5e3ed
fix(frontend): revamp quivr studio (#2274)
# 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-28 16:42:14 -08:00
Stan Girard
a490beaab5
chore(main): release 0.0.213 (#2271)
🤖 I have created a release *beep* *boop*
---


## 0.0.213 (2024-02-28)

## What's Changed
* feat(notion): added custom integration by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2268
* feat: Remove constraints and add foreign key references to brain
tables by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2273


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.212...v0.0.213

---
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-28 11:24:36 -08:00
Stan Girard
7e1c02db95
feat: Remove constraints and add foreign key references to brain tables (#2273)
This pull request removes constraints and adds foreign key references to
the brain tables in order to improve data integrity and enforce
referential integrity.
2024-02-28 10:41:04 -08:00
Stan Girard
aeaa16dc5f
feat(notion): added custom integration (#2268)
This pull request adds a custom integration feature and sync
functionality to the application. It includes the following changes:

- Added a new integration entity for custom integrations.

- Implemented the ability to load and poll the custom integration.

- Added a task to sync the custom integration with the user's brain.

- Updated the celery beat schedule to include the new task.

Please review and merge this pull request.
2024-02-27 21:30:25 -08:00
Stan Girard
24098e7b56
chore(main): release 0.0.212 (#2265)
🤖 I have created a release *beep* *boop*
---


## 0.0.212 (2024-02-26)

## What's Changed
* feat: new landing page by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2264


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.211...v0.0.212

---
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-25 18:15:43 -08:00
Stan Girard
3a2e0e7336
feat: new landing page (#2264)
This pull request updates the origins in cors.py, origin in
resend_invitation_email.py, and referring_site in
add-new-email/index.ts. It also refactors the code in home/page.tsx and
next.config.js.
2024-02-25 18:09:01 -08:00
Stan Girard
edd29ba425
chore(main): release 0.0.211 (#2249)
🤖 I have created a release *beep* *boop*
---


## 0.0.211 (2024-02-24)

## What's Changed
* fix: ollama migration documentation by @bidoubiwa in
https://github.com/QuivrHQ/quivr/pull/2248
* Update Sentry configuration and ignore file by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2250
* Fix Sentry DSN environment variable by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2251
* fix(sentry): Refactor GlobalError component to use arrow function
syntax by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2252
* fix: Update Sentry configuration to use NEXT_PUBLIC_SENTRY_DSN by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2254
* feat(frontend): integrate octolane by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2256
* fix(frontend): better search bar and chat box by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2255
* feat(frontend): sources per messages by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2253
* feat(sentry): remove health endpoint by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2257
* Add octolane.com to Content Security Policy by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2258
* fix(frontend): ui chat box & sources small bug by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2260
* Refactor GitHub workflows by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2261

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

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

---
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-25 17:47:54 -08:00
Stan Girard
c95c35499f
Refactor GitHub workflows (#2261)
This pull request refactors the GitHub workflows for backend tests and
deployment to preview and production environments. The changes include
updating the workflow triggers, setting up Python versions, installing
system dependencies, and running pytest.
2024-02-24 09:15:27 -08:00
Antoine Dewez
487b94f519
fix(frontend): ui chat box & sources small bug (#2260)
# 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-24 09:13:32 -08:00
Stan Girard
4820c210f3
Add octolane.com to Content Security Policy (#2258)
This pull request adds the domain "octolane.com" to the Content Security
Policy in order to allow requests to be made to this domain.
2024-02-23 19:38:41 -08:00
Stan Girard
166b823d25
feat(sentry): remove health endpoint (#2257)
This pull request removes the healthz endpoint from the Sentry
integration. The `before_send` function has been updated to drop
transaction events that contain 'healthz' in the transaction name. This
change ensures that healthz transactions are not sent to Sentry.
2024-02-23 19:32:32 -08:00
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