What you get
- Dataset‑in → graph‑out: upload a
GraphEvolveTaskSetand we train a prompt graph end‑to‑end. - Built‑in verifying: rubric, contrastive, or gold‑examples scoring without writing verifier code.
- Live progress: poll status or stream events/metrics while training runs.
- Downloadable artifacts: fetch the best prompt snapshot for local use.
- Production inference: call
/api/graphgen/graph/completionsto run the optimized graph on new JSON inputs. - Massive context support: use
graph_type: "rlm"for 1M+ token context via tool-based search (see RLM graphs).
How it works
- Define your task as data: tasks are your real inputs; gold outputs and/or rubrics define success.
- Train:
POST /api/graphgen/jobsstarts a Graph Evolve training run. - Monitor:
GET /api/graphgen/jobs/{graph_gen_id}or stream events. - Use: download the best prompt or serve it via
/api/graphgen/graph/completions.
SDK + cookbooks
- Python SDK: see Graph jobs for the
GraphOptimizationJobAPI. - Examples: see Graphs cookbooks for style matching and generative graphs.