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

Can't delete corpus with delete_corpus() #76

Open
juliensimon opened this issue Jul 25, 2024 · 0 comments
Open

Can't delete corpus with delete_corpus() #76

juliensimon opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juliensimon
Copy link
Contributor

juliensimon commented Jul 25, 2024

I'm unable to delete a pretraining corpus. It looks like the API is expecting the S3 URI, which isn't a parameter.

arcee.corpus_status(dataset_name)

{'message': 'Corpus upload status...', 'name': 'energy-pdf', 'id': '3748ad09-627d-4222-9ca2-4927b4db291e', 'processing_state': 'completed', 'num_tokens': 7618560, 'num_files_queued': 105, 'num_files_failed': 0, 'num_files_success': 105}

arcee.delete_corpus(corpus=dataset_name)

Exception: Failed to make request. Response: {"detail":[{"type":"missing","loc":["body","s3_folder_url"],"msg":"Field required","input":{"corpus_name":"energy-pdf"}}]}

@juliensimon juliensimon added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant