Commit Graph

1830 Commits

Author SHA1 Message Date
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
Stan Girard
b3e8c3d711 Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00
Stan Girard
74c0e2d72c Add Supabase to Dockerfile 2024-04-27 15:20:39 +02:00
Stan Girard
e28ef7d709 Add debug flag to supabase db push command 2024-04-27 15:09:55 +02:00
Stan Girard
5baf2f02e5 Add supabase db password to ci-migration script 2024-04-27 15:04:19 +02:00
Stan Girard
9bfa9f63c5 Update ci-migration.sh script with environment variable setup and supabase commands 2024-04-27 15:00:35 +02:00
Stan Girard
491b1f85bf Add supabase initialization to ci-migration.sh 2024-04-27 14:56:45 +02:00
Stan Girard
5c0e5db0d9
Feat/migration ci 2 (#2509)
# 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-27 05:49:15 -07:00
Stan Girard
cba3ac3729
Add ci-migration script (#2508)
This pull request adds a ci-migration script that sets the project ID
from an environment variable and runs the supabase link and supabase db
push commands. This script will be used for continuous integration
purposes.
2024-04-27 05:43:12 -07:00
Stan Girard
785066f9cb
fix(metadata): Removed citation from metadata (#2507)
This pull request removes the citation metadata from the generate_answer
and generate_stream functions. The citation metadata was previously
being added to the streamed_chat_history and metadata dictionaries, but
it is no longer necessary. This change improves the efficiency and
clarity of the code.
2024-04-27 05:19:13 -07:00
Stan Girard
2be6aac02a
feat(embedding): keeping citations (#2506)
This pull request updates the chunk size and overlap parameters in the
File class to improve performance. It also increases the top_n value in
the compressor for both the CohereRerank and FlashrankRerank models.
Additionally, it ensures that the page content is encoded in UTF-8
before processing.
2024-04-27 05:18:51 -07:00
Antoine Dewez
e7ce2fa54b
feat(frontend): show remaining credits (#2495)
# 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-27 04:44:48 -07:00
Antoine Dewez
6cde04b65f
fix(frontend): fix some next errors (#2503)
# 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-27 04:43:02 -07:00
Stan Girard
e7b5699818
feat(docker): Update Dockerfile to install Supabase CLI (#2505)
This pull request updates the Dockerfile to include the installation of
the Supabase CLI. The Supabase CLI is required for interacting with the
Supabase backend. This update ensures that the Supabase CLI is installed
in the Docker image, allowing developers to easily use the Supabase CLI
within their Docker environment.
2024-04-27 04:42:24 -07:00
Stan Girard
89c0ab138c
docs: Update links in mint.json to add api (#2504)
This pull request updates the links in the mint.json file to include a
link to the API documentation. The "Blog" link has been replaced with an
"API Docs" link that points to https://api.quivr.app/docs.
2024-04-27 04:28:55 -07:00
Antoine Dewez
aa14d6336e
feat(frontend): add nb of knowledges per brain (#2502)
# 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-27 10:19:44 +02:00
Stan Girard
b7ff2e77af
feat(citations): system added (#2498)
# 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-26 08:11:01 -07:00
Stan Girard
19365c4bb5
chore(main): release 0.0.238 (#2491)
🤖 I have created a release *beep* *boop*
---


## 0.0.238 (2024-04-25)

## What's Changed
* Enable Porter Application cherry-pick-backend by
@porter-deployment-app in https://github.com/QuivrHQ/quivr/pull/2492
* Enable Porter Application cherry-pick-frontend by
@porter-deployment-app in https://github.com/QuivrHQ/quivr/pull/2493
* feat: Add telemetry ping task to celery worker and main.py by
@StanGirard in https://github.com/QuivrHQ/quivr/pull/2494
* fix(backend): compute history only if needed and put some cache to
remove some call… by @dmourot in
https://github.com/QuivrHQ/quivr/pull/2497


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

---
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-26 00:49:22 -07:00
Damien Mourot
85c4835c59
fix(backend): compute history only if needed and put some cache to remove some call… (#2497)
… to the DB API

# 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-25 15:18:12 -07:00
Stan Girard
2a25f442e5
feat: Add telemetry ping task to celery worker and main.py (#2494)
This pull request adds a new telemetry ping task to the celery worker
and main.py files. The ping task sends a ping message to the telemetry
system.
2024-04-25 07:22:13 -07:00
porter-deployment-app[bot]
55b456bfe1
Enable Porter Application cherry-pick-frontend (#2493)
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-25 04:18:35 -07:00