The Client owns the model, OCR, renderer, and runtime configuration used during an extraction.
Construction
client := ovrin.New(opts...)
Purpose
A client is the shared runtime policy for extraction. It is the place where the document-processing pipeline is configured and scoped.
Example
client := ovrin.New(
ovrin.WithModel(model),
ovrin.WithOCR(ocr),
ovrin.WithRenderer(renderer),
)
Notes
- the core keeps provider boundaries explicit
- the client is safe for reuse
- provider selection is intentionally separated from the extraction logic