pub fn extraction_for(content_type: &str, raw: bool) -> ExtractionExpand description
Which extraction path a content type takes.
Upstream leaves non-HTML handling undefined. Here a binary document is routed to the document extractor so a linked PDF becomes prompt text rather than bytes the model cannot read — the difference between fetch being useful for context building and merely fetching.