AI
YAMLResume provides AI-powered resume generation and translation through the
@yamlresume/ai package and the
yamlresume ai CLI command.
Overview
The AI capabilities are built on top of the Vercel AI SDK and support OpenAI, DeepSeek, Kimi (Moonshot AI), local Ollama models, and other OpenAI-compatible endpoints. Generated and translated resumes are parsed and validated against the YAMLResume schema, with automatic retries if validation fails.
The CLI provides two workflows:
- Generate a new resume from a target position and locale language.
- Translate an existing resume into another supported locale language while preserving its structure, comments, layout configuration, and schema enum values.
For programmatic use, @yamlresume/ai exposes the model-level generateResume
and translateResume APIs. Node.js applications that work with files can use
generateResumeFile and translateResumeFile from
@yamlresume/node.
Subcommands
$ yamlresume ai --help
Usage: yamlresume ai [options] [command]
AI-powered resume commands
Options:
-h, --help display help for command
Commands:
generate [options] <filename> generate a new resume with AI
translate [options] <input> <output> translate a resume from one locale
language to another with AI
help [command] display help for commandLearn More
Edit on GitHub
Last updated on