Tags: PyWarnFixerRepos/unstructured-api
Tags
build(deps): version bumps for maintenance (Unstructured-IO#424) ### Summary Version bumps for regular maintenance and to address moderate CVEs from security scans. - bump `unstructured` to `0.14.6` - bump `unstructured-inference` to `0.7.35`
build(deps): version bumps for maintenance (Unstructured-IO#420) ### Summary Version bumps for regular maintenance and to address moderate CVEs from security scans. Also updates the `unstructured` extra from `local-inference` to `all-docs` to keep up with latest best practices for the `unstructured` library. Includes an update for appropriately setting `pdf_infer_table_structure` depending on the value of `skip_infer_table_types` and adds a test.
fix/skip docker parallel test on emulated hardware (Unstructured-IO#415) One more off of Unstructured-IO#414 and Unstructured-IO#413...
chore(deps): bump unstructured (Unstructured-IO#334) This will close Unstructured-IO#333 which has been fixed in the library.
Chore: bump version to `0.0.59` and release (Unstructured-IO#312) bump unst version to `0.11.0` also revert the workaround in `0.0.58`
Chore: Bump unstructured to 0.10.30 (Unstructured-IO#309) ^^^ Also releasing this version since `0.10.30` include some 500 error bug fix
Chore: release 0.0.57 (Unstructured-IO#304) Need to release this version and push image to ECR by deployment-tools CI Co-authored-by: Austin Walker <austin@unstructured.io>
chore: remap `chipper` to use `chipperv2` (Unstructured-IO#300) We want this to alias to the current model. Also, wrap the error that comes from chipperv1 becoming a private model. To verify: * Run the server ``` make run-web-app ``` * A call to chipperv1 should give a useful error: ``` curl -X POST 'http://localhost:8000/general/v0/general' --form files="@$file" --form strategy=hi_res --form hi_res_model_name=chipperv1 {"detail":"The Chipper model is not available for download. It can be accessed via the official hosted API."} ``` * Change the model name to `chipper`. You should see `chipperv2` in the log message containing partition input data
582B
feat: Only allow one Chipper call at a time (Unstructured-IO#296) Chipper V2 is very memory hungry. While we work to optimize this, we need to restrict the server to one call at a time. While the model is in use, we'll return a 503 "Please try again". Our hosted API should scale up to meet demand, so the next call should route to an available server. This includes a refactor to how partition_kwargs are passed to either parallel mode, local partition, or local partition with the new Chipper protection. To verify, try calling Chipper twice: ``` curl -X POST 'http://localhost:8000/general/v0/general' --form files="@$file" --form strategy=hi_res --form hi_res_model_name=chipper & curl -X POST 'http://localhost:8000/general/v0/general' --form files="@$file" --form strategy=hi_res --form hi_res_model_name=chipper ``` The second call will get a 503 response. Other changes: * Return a 400 error if Chipper isn't loaded. The model is private, make sure we explain this for users who self host * Pass the huggingface token to `make docker-start-api` for better dev experience * Add a `make docker-start-bash` while we're in here
PreviousNext