@yamlresume/ai
    Preparing search index...

    Function generateResume

    • Generate a YAMLResume for a given position and language using an LLM.

      The generated text is parsed and validated against the YAMLResume schema. If validation fails, the request is retried up to maxRetries times.

      Parameters

      Returns Promise<string>

      A raw YAML string representing the generated resume.

      When generation or validation ultimately fails.