Skip to main content
Different applications have different needs. Chunkr AI API is designed to be flexible and customizable to meet your specific requirements. We support the following configuration options:
  • 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 strategy
The configuration options can be combined to create a customized processing pipeline. When a Task 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: