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

Add Django admin command for reupload #686

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

rachaelcodes
Copy link
Contributor

@rachaelcodes rachaelcodes commented Jun 28, 2024

Context

As we've improved our chunking and embedding tasks and the re-embedding is a breaking change, we will need to reupload all user files to the core-api for re-processing.

Changes proposed in this pull request

Adds a new command in Django Admin to re-upload selected files to the core-api.

Also removes a duplicate 'remove from s3' call in core-api

Guidance to review

Try it out locally:

  • Run the command from Django Admin
  • Confirm that the files are usable in a chat on Django
  • Confirm that deleting a file from Django removes it from MinIO

Relevant links

https://github.com/i-dot-ai/redbox-copilot/actions/runs/9711381642

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

@rachaelcodes rachaelcodes marked this pull request as ready for review June 28, 2024 10:04
Copy link
Collaborator

@gecBurton gecBurton left a comment

Choose a reason for hiding this comment

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

@rachaelcodes rachaelcodes merged commit b6d430a into main Jun 28, 2024
12 checks passed
@rachaelcodes rachaelcodes deleted the feature/trigger-reembedding branch June 28, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants