Unstructured-IO / Unstructured-IO/unstructured-api

why for :{"detail":"Review the parameters to initialize a UnstructuredTableTransformerModel obj"}

Open
#379 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

awaiting-response
Dominant language
Python
Stars
951
Forks
192
Avg merge
7d 8h
Merged PRs (30d)
2

Description

Describe the bug
Defult mode is OK, but when i try to set hi_res mode!!!
it turns to :{"detail":"Review the parameters to initialize a UnstructuredTableTransformerModel obj"}
it runs in a local Unstructured-api docker image.

headers = {
'accept': 'application/json',
}
data = {
'strategy': 'hi_res',
# 'pdf_infer_table_structure': 'true',
# 'strategy': 'ocr_only',

}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the request in the local Unstructured-api Docker image using strategy=hi_res, then trace how that request initializes UnstructuredTableTransformerModel. Compare it with the default mode and inspect the model initialization error details. Done means hi_res accepts the reported request or the required parameters are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
api, backend, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.