Skip to main content

for_options

Function for_options 

Source
pub fn for_options(text: &str, opts: NormalizeOptions) -> String
Expand description

Build the prompt from a whole NormalizeOptions.

The seam that lets a test assert every field reaches the control line without a model. normalize_with calls this rather than unpacking the struct itself, so a field dropped on the way to the prompt is dropped here where it is checked.