Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Knowledge #2966

Merged
merged 11 commits into from
Aug 12, 2024
Merged

fix: Knowledge #2966

merged 11 commits into from
Aug 12, 2024

Conversation

chloedia
Copy link
Collaborator

@chloedia chloedia commented Aug 7, 2024

fix core-142

Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 12, 2024 2:12pm

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. area: backend Related to backend functionality or under the /backend directory labels Aug 7, 2024
# 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: aminediro <aminedirhoussi1@gmail.com>
@chloedia chloedia requested a review from AmineDiro August 8, 2024 13:18
@chloedia chloedia changed the title Fix: Knowledge fix: Knowledge Aug 8, 2024
Copy link

linear bot commented Aug 8, 2024

backend/worker/quivr_worker/celery_monitor.py Outdated Show resolved Hide resolved
backend/worker/quivr_worker/celery_worker.py Outdated Show resolved Hide resolved
backend/worker/quivr_worker/celery_worker.py Outdated Show resolved Hide resolved
backend/supabase/seed.sql Show resolved Hide resolved

alter table "public"."knowledge" add column "file_sha1" text;

alter table "public"."knowledge" add column "metadata_" jsonb;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"metadata" column is already in knowledge, do we need to recreate with different name ? If this is an sqlmodel conflict. Their is a way to point a field to a column with different name

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I first added it as metadata but it gives an error, apparently i don't have the right to call it metadata so i changed it to metadata_

backend/api/quivr_api/modules/sync/utils/upload.py Outdated Show resolved Hide resolved
backend/api/quivr_api/modules/sync/utils/upload.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@AmineDiro AmineDiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :+1

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 12, 2024
@AmineDiro AmineDiro merged commit 8337af3 into release/quivr-core-0.1 Aug 12, 2024
6 checks passed
@AmineDiro AmineDiro deleted the release/feat/quivr-core-0.1 branch August 12, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants