@yamlresume/ai
    Preparing search index...

    Function parseGeneratedResume

    • Extract, parse and validate LLM-generated YAML.

      Parsing is done with yaml.parseDocument so the returned AST can be reused for downstream layout/comment injection without re-parsing the YAML string.

      Parameters

      • text: string

        The raw text returned by the model.

      Returns { doc: Document; resume: Resume }

      The parsed resume and the parsed YAML document.

      When parsing or validation fails.