GraphGenJob class. It wraps:
- creating a training job from an
GraphGenTaskSet, - monitoring progress,
- downloading the best prompt snapshot,
- and running inference against the trained graph.
Create from a dataset
from_dataset accepts:
- a file path,
- a raw dict,
- or an
GraphGenTaskSetobject.
Monitor training
Download the best prompt
Run inference
model: override the policy model for this call.graph_snapshot_id: run a specific snapshot instead of the best.
Run judge (Verifier Graphs)
For graphs trained withgraph_type="verifier", use run_judge to evaluate execution traces:
Related docs
- Product overview:
product/workflows - Dataset + judging:
product/workflows/judging - Examples:
cookbooks/workflows/overview