← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/java/models/OcrDocumentRequest.md
823 Bytes · Oct 2, 2026 · 00:24 UTC
<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 --> # OcrDocumentRequest Request body for OCR document processing. Prefer `builder()` to the canonical record constructor. Builder-based call sites remain source-compatible when optional fields are added in later SDK versions. - `content` (`String`): Base64-encoded document bytes - `format` (`OcrInputFormat`): Input format hint (AUTO, PDF, TIFF, PNG, JPEG, BMP) - `includeRawJson` (`Boolean`): Include raw OCR JSON payload in the response - `includeMarkdown` (`Boolean`): Include markdown rendering in the response - `startPage` (`Integer`): 0-based inclusive start page - `endPage` (`Integer`): 0-based inclusive end page [Java](../../java.md) Related types — open only those used by your request: - [OcrInputFormat](OcrInputFormat.md)
SHA-256: 8d3038fc9816833cedfd0337b0862a814b4871c3789dd8986ca671f2005fe3ff