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

[Feature Request] Ignore file not exists error when deleting files from KB #662

Open
1 of 2 tasks
konokenj opened this issue Dec 27, 2024 · 0 comments · May be fixed by #663
Open
1 of 2 tasks

[Feature Request] Ignore file not exists error when deleting files from KB #662

konokenj opened this issue Dec 27, 2024 · 0 comments · May be fixed by #663

Comments

@konokenj
Copy link

konokenj commented Dec 27, 2024

Describe the solution you'd like

When trying to delete a file from a newly created knowledge base in the web UI, it can be updated without an error even if the file cannot be found.

Why the solution needed

Let's say we've created a new knowledge base from the web UI and uploaded a file. The file will be uploaded to the S3 bucket, but there is a possibility that the user will later delete it from the bucket.
Currently, if a file is not found, the The file does not exist in bucket. error occurs, and the bot cannot be updated. To avoid this to update the bot, users will need to change the table or restore the file to the S3 bucket.

Additional context

Even if the file cannot be found in the S3 bucket, there are no side effects of skipping the deletion and finishing normally. Currently, this error is only shown in the developer tool log, and nothing is displayed on the screen.

Implementation feasibility

Are you willing to collaborate with us to discuss the solution, decide on the approach, and assist with the implementation?

  • Yes, I am able to implement the feature and create a pull request.
  • No, I am unable to implement the feature, but I am open to discussing the solution.
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 a pull request may close this issue.

1 participant