Repository navigation
Tags: HamiltonMultimedia/unstructured-api
Tags
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
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
chore(deps): bump unstructured to 0.10.25 (Unstructured-IO#291) Revert the workaround added in Unstructured-IO#285
chore: bump unstructured to 0.10.23 (Unstructured-IO#285) Note I added a workaround for [this bug](Unstructured-IO/unstructured#1754).
catch json ValueError and provide example schema (Unstructured-IO#281) Closes Unstructured-IO#271 Catches ValueError raised by partition() and transforms it to a 400 error. Also provides an example of the Unstructured schema.
PreviousNext