Creates a new Anthropic OCR capability adapter.
Owning provider instance used for initialization checks and merged config access.
Initialized Anthropic SDK client.
Executes OCR through Anthropic messages with structured prompt guidance.
Responsibilities:
NormalizedOCRDocumentUnified OCR request envelope.
Optional execution context. Unused directly in this adapter.
Optionalsignal: AbortSignalOptional cancellation signal.
Provider-normalized OCR artifacts.
Adapts Anthropic OCR responses into ProviderPlaneAI's normalized OCR artifact surface.
Anthropic OCR support in this repo is effectively limited to PDF plus the image formats Anthropic accepts directly. Broader document/text inputs are intentionally left for the provider to reject rather than being guarded here.