Generate content with an LLM, parse and validate the result as YAMLResume,
and retry when validation fails.
The caller provides the prompts and a post-processor that transforms the
parsed YAML document into the final result. Validation errors trigger retries
with feedback appended to the original prompt. Non-validation errors are
wrapped as provider errors and thrown immediately.
Generate content with an LLM, parse and validate the result as YAMLResume, and retry when validation fails.
The caller provides the prompts and a post-processor that transforms the parsed YAML document into the final result. Validation errors trigger retries with feedback appended to the original prompt. Non-validation errors are wrapped as provider errors and thrown immediately.