Skip to main content

normalize_image_blocks

Function normalize_image_blocks 

Source
pub fn normalize_image_blocks(blocks: &mut Vec<Content>)
Expand description

Normalize image blocks while retaining order and surfacing omissions as text, rather than sending an invalid image to a provider.