CLI reference¶
This page is the canonical reference for CLI reference.
recsys-pipelines¶
Commands:
run: ingest + validate + compute + publishversion
run¶
recsys-pipelines run \
--config <path> \
--tenant <tenant> \
--surface <surface> \
--segment <segment optional> \
--start YYYY-MM-DD \
--end YYYY-MM-DD
Notes:
- end date is inclusive
- windows are daily UTC
Incremental (checkpointed) example:
recsys-pipelines run \
--config <path> \
--tenant <tenant> \
--surface <surface> \
--end YYYY-MM-DD \
--incremental
Job binaries¶
All jobs take --config --tenant --surface --start --end. Some also take --segment or extra inputs.
job_ingestjob_validatejob_popularity(segment optional)job_cooc(segment optional)job_implicit(segment optional)job_content_sim(segment optional, requires--input)job_session_seq(segment optional)job_publish(segment optional)
job_content_sim usage:
job_content_sim \
--config <path> \
--tenant <tenant> \
--surface <surface> \
--input <catalog.csv|catalog.jsonl> \
--start YYYY-MM-DD \
--end YYYY-MM-DD
Read next¶
- Start here: Start here
- Config reference: Config reference
- Debug failures: How-to: Debug a failed pipeline run
- Exit codes: Exit codes