Configure the API to your needs
chunk_processing
: Controls the setting for the chunking and post-processing of each chunk.expires_in
: The number of seconds until task is deleted.ocr_strategy
: Controls the Optical Character Recognition (OCR) strategy.pipeline
: Options for layout analysis and OCR providers.segment_processing
: Controls the post-processing of each segment type. Allows you to generate HTML, markdown and run custom VLM prompts.segmentation_strategy
: Controls the segmentation strategyTask
is created, the configuration is done through the Configuration
object.
Here is an example of how to configure the API to run a custom VLM prompt on each picture in a document: