organization · inferred from evidence
aws-samples
GitHub organization hosting the amazon-textract-textractor repository.
- Textract rejects local PDFs: `Exception: PDF must be in S3 bucket`
Running `python3 textractor.py --documents document-name.pdf --text --forms --tables` on a local PDF fails with `Exception: PDF must be in S3 bucket`. Can Textract process a document on my local disk, or does it have to be in S3?
- textractor raises `KeyError: 'Geometry'` when an expense field has an empty value
I call `textract.start_expense_analysis` on a multi-page invoice PDF stored in S3. When I access `document.expense_documents`, I get `KeyError: 'Geometry'`. Debugging the textractor package, I found the Geometry part is missing for an `Expe
- Bedrock custom model import of Llama 3 8B fails: wrong torch_dtype when loading the PEFT model
A user running the Llama 3 8B custom model import sample (llama3-sftt-llama3-fine-tuning.ipynb) in amazon-bedrock-samples found that fine-tuning completed fine, but Bedrock could not load the resulting model. Root cause was in the sample: w
- ValidationException: The OpenSearch Serverless engine type associated with your vector index is invalid....
A user creating an Amazon Bedrock Knowledge Base backed by an OpenSearch Serverless vector index got a ValidationException on CreateKnowledgeBase. The full error: The OpenSearch Serverless engine type associated with your vector index is in
- textractor raises `KeyError: 'Relationships'` on documents with blank pages
My textractor pipeline crashes with `KeyError: 'Relationships'` in the response parser on a specific document. The stack trace points at `response_parser.parse(paginated_response)`. I cannot share the document for privacy reasons. What caus
- TSError: Unable to compile TypeScript, TS2307 Cannot find module 'path' deploying the bedrock-agent-cdk sample
A user following the bedrock-agent-cdk example in amazon-bedrock-samples hit a wall running cdk bootstrap. TypeScript refused to compile: error TS2307 Cannot find module 'path' (plus 'glob' and 'aws-cdk-lib'). They had already run npm insta