docs: expand workflow chaining guidance#771
Conversation
|
Fern preview: https://nvidia-preview-pr-771.docs.buildwithfern.com/nemo/datadesigner
|
Greptile SummaryExpands the workflow-chaining concept page with two new sections covering postprocessing hooks (
|
| Filename | Overview |
|---|---|
| fern/versions/latest/pages/concepts/workflow-chaining.mdx | Adds two new sections — Postprocessing hooks and Changing row counts between stages — with working Python callback examples. The pandas operations and API usage are consistent with the rest of the page; no logic errors found. |
Reviews (3): Last reviewed commit: "Merge branch 'main' into andreatgretel/d..." | Re-trigger Greptile
ab88866 to
ee98555
Compare
johnnygreco
left a comment
There was a problem hiding this comment.
Thanks for putting this together, @andreatgretel!
Summary
This expands the workflow chaining concept page with guidance for on_success callbacks, resume-aware callback versioning, empty callback outputs, and row-count changes between stages. The new docs match the PR intent and line up with the workflow implementation and existing interface tests I checked.
Findings
No findings.
What Looks Good
- The new sections draw a useful distinction between
output_processorsandon_success, which should help users pick the right stage-boundary tool. - The row-count guidance matches the workflow behavior: downstream stages inherit the selected upstream output count unless
num_recordsis set explicitly. - The examples write callback outputs under the stage artifact directory and pair those paths with
on_success_version, which is a clear, resume-friendly pattern.
Verdict
Ship it - ready to merge as-is.
This review was generated by an AI assistant.
📋 Summary
Updates the workflow chaining docs to reflect newer stage-boundary features, including
on_success, resume-aware callback versioning, and row-count changes between stages. The added guidance shows how users can shrink, grow, or custom-upsample data at workflow boundaries instead of resizing a dataset mid-stage.🔗 Related Issue
N/A
🔄 Changes
Postprocessing hookssection to the workflow chaining concept page.output_processorsversuson_successand how callback versioning/empty outputs interact with resume.Changing row counts between stagessection covering shrink/filter and grow/explode patterns.variant_idfor downstream prompt variation.🧪 Testing
make check-fern-docs-locally.venv/bin/ruff check --fix ..venv/bin/ruff format .make testpasses: N/A, docs-only change✅ Checklist