Commit Graph

1700 Commits

Author SHA1 Message Date
Stan Girard
0dd1d12e6a
Add config parameter to conversational_qa_chain (#2540)
This pull request adds a new config parameter to the
`conversational_qa_chain` function. The config parameter allows for
passing metadata, specifically the conversation ID, to the function.
This change ensures that the conversation ID is included in the metadata
when invoking the `conversational_qa_chain` function.
2024-05-04 11:05:29 -07:00
Stan Girard
3efc8ca565 Refactor useAuthModes to log environment variable and auth modes 2024-05-04 15:34:15 +02:00
Stan Girard
64086b108b Add NEXT_PUBLIC_AUTH_MODES environment variable to Dockerfile and update useAuthModes hook 2024-05-04 15:21:52 +02:00
Stan Girard
ae20c5af61 Add NEXT_PUBLIC_AUTH_MODES environment variable 2024-05-03 16:43:32 +02:00
porter-deployment-app[bot]
239d9b26d7
Enable Porter Application theodo-frontend (#2538)
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-05-03 07:22:54 -07:00
porter-deployment-app[bot]
33ef470595
Enable Porter Application theodo-backend (#2537)
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-05-03 07:14:54 -07:00
Stan Girard
957063ad0e
chore(main): release 0.0.245 (#2533)
🤖 I have created a release *beep* *boop*
---


## 0.0.245 (2024-05-03)

## What's Changed
* feat(user): Delete User Data from frontend by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2476
* feat(backend): Add a pre_pring on Connection polling to handle
disconnection by @dmourot in https://github.com/QuivrHQ/quivr/pull/2534
* feat(llama-parse): improve prompt by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2535
* feat(brain): Add ProxyBrain integration by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2536


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.244...v0.0.245

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-05-03 06:55:21 -07:00
Stan Girard
21e239c208
feat(brain): Add ProxyBrain integration (#2536)
This pull request adds the ProxyBrain integration to the project. The
ProxyBrain class is responsible for handling conversational QA and
generating answers based on the provided chat history and question.
2024-05-03 06:53:51 -07:00
Stan Girard
05cb0f71d0
feat(llama-parse): improve prompt (#2535)
# 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-05-03 06:28:07 -07:00
Damien Mourot
6bf78d67bb
feat(backend): Add a pre_pring on Connection polling to handle disconnection (#2534)
# 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-05-03 01:42:17 -07:00
Stan Girard
a9aa3cf767 chore: Remove AWS deployment workflow 2024-05-02 14:14:10 +02:00
Antoine Dewez
8d54187713
feat(user): Delete User Data from frontend (#2476)
# 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: Stan Girard <girard.stanislas@gmail.com>
2024-05-02 02:31:58 -07:00
Stan Girard
699097f6ac
chore(main): release 0.0.244 (#2532)
🤖 I have created a release *beep* *boop*
---


## 0.0.244 (2024-05-02)

## What's Changed
* fix: Update parsing instruction in common.py by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2531


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.243...v0.0.244

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-05-02 01:13:03 -07:00
Stan Girard
76f21bc2f5
fix: Update parsing instruction in common.py (#2531)
This pull request fixes the parsing instruction in the common.py file.
The result_type has been corrected to "markdown" and the
parsing_instruction has been updated to handle checkboxes, tables, and
other elements that are hard to parse in a meaningful way.
2024-05-02 01:12:24 -07:00
Stan Girard
efe51659a3
chore(main): release 0.0.243 (#2529)
🤖 I have created a release *beep* *boop*
---


## 0.0.243 (2024-05-01)

## What's Changed
* fix: Refactor chat_service.py and remove unused code by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2530


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.242...v0.0.243

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-05-01 15:27:13 -07:00
Stan Girard
62bfc3c8d9
fix: Refactor chat_service.py and remove unused code (#2530)
# 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-05-01 15:26:14 -07:00
Stan Girard
41baaceff8 chore(porter): Update GitHub Actions workflow triggers 2024-05-02 00:10:26 +02:00
Stan Girard
3e6b8a465e
chore(main): release 0.0.242 (#2526)
🤖 I have created a release *beep* *boop*
---


## 0.0.242 (2024-05-01)

## What's Changed
* feat(notifications): implemented notifications with RLS and realtime
by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2525
* chore: packages by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2527
* Enable Porter Application production by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2528


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.241...v0.0.242

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-05-01 15:06:15 -07:00
Stan Girard
94d100eb11 Update supabase token setting in ci-migration.sh 2024-05-02 00:04:01 +02:00
porter-deployment-app[bot]
008412fbef
Enable Porter Application production (#2528)
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-05-01 14:31:42 -07:00
Stan Girard
fef60ab7c1 docs: Remove reference to Ollama in README and update installation steps 2024-05-01 20:52:30 +02:00
Stan Girard
4d730448af
chore: packages (#2527)
Update python packages
2024-05-01 11:20:15 -07:00
Stan Girard
e1ad3dfb2a
feat(notifications): implemented notifications with RLS and realtime (#2525)
This pull request adds the implementation of the notifications feature,
including the ability to create, update, and delete notifications.
2024-05-01 11:11:12 -07:00
Stan Girard
db1d05c2ac
chore(main): release 0.0.241 (#2518)
🤖 I have created a release *beep* *boop*
---


## 0.0.241 (2024-05-01)

## What's Changed
* feat(llamaparse): Add Llama Parse integration for complex document
parsing by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2517
* Delete Porter Application quivr-back by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2519
* Delete Porter Application quivr-demo-front by @porter-deployment-app
in https://github.com/QuivrHQ/quivr/pull/2520
* Enable Porter Application preview by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2521
* Enable Porter Application preview-frontend by @porter-deployment-app
in https://github.com/QuivrHQ/quivr/pull/2522
* feat(frontend): citations & sources by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2523
* Fix: citation handling in ChatItem component by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2524


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.240...v0.0.241

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-05-01 06:11:49 -07:00
Stan Girard
365ac1ab87
Fix: citation handling in ChatItem component (#2524)
This pull request fixes the citation handling in the ChatItem component.
Previously, if the citation did not contain the word "Content:", the
component would throw an error. This PR adds a check for the presence of
"Content:" in the citation and handles it accordingly.
2024-05-01 05:40:20 -07:00
Antoine Dewez
d2cab9332f
feat(frontend): citations & sources (#2523)
# 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: Stan Girard <girard.stanislas@gmail.com>
2024-05-01 05:26:09 -07:00
porter-deployment-app[bot]
2ed446f29f
Enable Porter Application preview-frontend (#2522)
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-04-30 04:39:04 -07:00
porter-deployment-app[bot]
850087dfd1
Enable Porter Application preview (#2521)
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-04-30 04:34:20 -07:00
Stan Girard
ff9f887bbb Add caret-up icon to Vercel deployment documentation 2024-04-30 12:34:49 +02:00
Stan Girard
f7bf0f155d Update Vercel deployment instructions and add source directory change 2024-04-30 12:30:03 +02:00
Stan Girard
ac75d72f7f Update Vercel deployment link 2024-04-30 11:51:45 +02:00
Stan Girard
c73c9f491c Add Vercel deployment documentation 2024-04-30 11:46:33 +02:00
porter-deployment-app[bot]
b9a52cc8eb
Delete Porter Application quivr-demo-front (#2520)
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-04-30 01:46:17 -07:00
porter-deployment-app[bot]
15ec72040a
Delete Porter Application quivr-back (#2519)
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-04-30 01:45:38 -07:00
Stan Girard
8b0c55de5c
feat(llamaparse): Add Llama Parse integration for complex document parsing (#2517)
This pull request adds Llama Parse integration for complex document
parsing in Quivr. Llama Parse is a tool from Llama Index that allows you
to read complex documents in Quivr. It provides an API key that needs to
be added to the `.env` file as `LLAMA_CLOUD_API_KEY`. Once configured,
you can use the Llama Parse tool to read `pdf`, `docx`, and `doc` files
in Quivr.
2024-04-29 09:31:21 -07:00
Stan Girard
dedb78c84d
chore(main): release 0.0.240 (#2515)
🤖 I have created a release *beep* *boop*
---


## 0.0.240 (2024-04-29)

## What's Changed
* feat(supabase): Add logging statements and refactor Supabase client
creation by @StanGirard in https://github.com/QuivrHQ/quivr/pull/2514
* feat(backend): use SQLAlchemy instead od supabase API by @dmourot in
https://github.com/QuivrHQ/quivr/pull/2516


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.239...v0.0.240

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-04-29 04:30:10 -07:00
Stan Girard
5717fdc1d5 Update .env.example and backend/models/settings.py 2024-04-29 10:36:10 +02:00
Damien Mourot
fb3aae27f1
feat(backend): use SQLAlchemy instead od supabase API (#2516)
# 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-04-29 01:27:50 -07:00
Stan Girard
89f86d4e68 Fix typo in profiler URL parameter 2024-04-28 19:08:48 +02:00
Stan Girard
67fe866dd6 Add profiler configuration and documentation 2024-04-28 16:33:12 +02:00
Stan Girard
5de8166e46
feat(supabase): Add logging statements and refactor Supabase client creation (#2514)
# 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-04-28 07:23:14 -07:00
Stan Girard
aef723e67d
chore(main): release 0.0.239 (#2501)
🤖 I have created a release *beep* *boop*
---


## 0.0.239 (2024-04-28)

## What's Changed
* feat(citations): system added by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2498
* feat(frontend): add nb of knowledges per brain by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2502
* docs: Update links in mint.json to add api by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2504
* feat(docker): Update Dockerfile to install Supabase CLI by @StanGirard
in https://github.com/QuivrHQ/quivr/pull/2505
* fix(frontend): fix some next errors by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2503
* feat(frontend): show remaining credits by @Zewed in
https://github.com/QuivrHQ/quivr/pull/2495
* feat(embedding): keeping citations by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2506
* fix(metadata): Removed citation from metadata by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2507
* Add ci-migration script by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2508
* Feat/migration ci 2 by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2509
* Enable Porter Application quivr-com-backend by @porter-deployment-app
in https://github.com/QuivrHQ/quivr/pull/2510
* Enable Porter Application quivr-com by @porter-deployment-app in
https://github.com/QuivrHQ/quivr/pull/2511
* feat(profiler): Add pyinstrument package and update Makefile and
backend code by @StanGirard in
https://github.com/QuivrHQ/quivr/pull/2512
* feat(db): Add Supabase client and database instances caching by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2513


**Full Changelog**:
https://github.com/QuivrHQ/quivr/compare/v0.0.238...v0.0.239

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-04-28 07:00:09 -07:00
Stan Girard
30b9e057ff
feat(db): Add Supabase client and database instances caching (#2513)
This pull request adds caching for the Supabase client and database
instances in order to improve performance and reduce unnecessary API
calls. The `get_supabase_client()` and `get_supabase_db()` functions now
check if the instances have already been created and return the cached
instances if available. This avoids creating new instances for every
function call, resulting in faster execution times.
2024-04-28 06:46:16 -07:00
Stan Girard
bdb115ad0a
feat(profiler): Add pyinstrument package and update Makefile and backend code (#2512)
This pull request adds the pyinstrument package and updates the Makefile
and backend code. The pyinstrument package is used for profiling and the
Makefile and backend code have been modified to support profiling.
2024-04-28 06:10:21 -07:00
Stan Girard
eb360830e0 Update Dockerfile dependencies 2024-04-28 14:34:44 +02:00
Stan Girard
d2086a97d3 Refactor logging configuration and remove unused imports 2024-04-28 13:35:07 +02:00
porter-deployment-app[bot]
7725c1005b
Enable Porter Application quivr-com (#2511)
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-04-27 14:50:04 -07:00
porter-deployment-app[bot]
d9150e9431
Enable Porter Application quivr-com-backend (#2510)
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-04-27 14:45:35 -07:00
Stan Girard
4050313078 Remove debug flag from supabase db push command 2024-04-27 15:35:24 +02:00
Stan Girard
b12fc4f4bf Remove supabase initialization from ci-migration.sh 2024-04-27 15:34:36 +02:00