Textract reads the scans with the layout kept and the boilerplate dropped. A small file goes straight to the LLM. A large one is chunked, embedded and stored in Pinecone, so each field's query pulls back only the pages that matter before extraction. Partial results are merged by confidence. Prefect runs the 15 steps with retries and caching, Terraform builds the AWS side, and each step has its own tests.