Unstructured-IO / unstructured-api

Apache License 2.0
489 stars 102 forks source link

chore: disable Chipper in the API #292

Closed awalker4 closed 10 months ago

awalker4 commented 10 months ago

This is for the very short term. Chipper requires a lot of resources that easily overwhelm the server. We need to disable Chipper while we update the hosted API, otherwise all users may experience 502 errors.

Verify by making a Chipper request - you'll see the following error message:

curl 'localhost:8000/general/v0/general' \
--header 'Accept: application/json' \
--form 'files=@"layout-parser-paper.pdf"' \
--form 'strategy="hi_res"'
--form 'hi_res_model_name="chipper"'

{
    "detail": "Chipper is not yet supported in the hosted API"
}