Skip to content
Discussion options

You must be logged in to vote

Your reading is right: this is not a good fit for normal Pipeline runtime parameters as-is.

Haystack runtime parameters can only be passed to inputs that a component exposes through its run() signature. DoclingConverter exposes convert_kwargs as constructor/configuration state, while run() is the conversion call. So if each source needs a different page_range, there is no clean built-in way to pass a per-file convert_kwargs map into one shared DoclingConverter instance at pipeline execution time.

The options I would consider are:

  1. If files can be grouped by the same page range, create one converter per group with that group's convert_kwargs.
  2. If every file has its own range, run the conver…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ganny-gitaa
Comment options

Answer selected by ganny-gitaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants