LangSmith
Use this when you already have LangSmith run data (for example, query_runs / fetch_runs output) and want CI-native gating and static dashboards without moving execution to a new platform.
Why this path
- Keep LangSmith as the runner/trace system.
- Convert run evidence into
eval-report/v1. - Reuse one gate/report/history flow across mixed runners.
Import command
eval-dashboards import --from=langsmith --input=./langsmith-runs.json --out=.evals_output/langsmith.json
The adapter accepts:
- JSON array of runs, or object with
runs[],data[], orresults[] - pass/fail evidence from any of:
pass/passed/successbooleansstatus(error|failed|failure=> fail;success|succeeded|completed|ok=> pass only when no boolean verdict, feedback verdict, or numeric score is available)errorpresent => fail- numeric
scoreor feedback/feedback-stats numeric scores (>= 0.5 => pass); when an export contains multiple numeric feedback metrics, the lowest score determines the row verdict so a later failing metric cannot be hidden by container order
Mapping notes
suitefromsession_nameorproject_name(fallback:--suite/ default)idfrom the run-specificid(fallback: deterministic suite+index identity)metadata.langsmithAddressfromaddresswhen present; addresses identify shared destinations or query targets, so they are not used as row idsmetadata.langsmithRevisionIdfromrevision_id/revisionIdwhen presentinputfrominputs(orinput)outputfromoutputs(oroutput)expectedfromreference_output(orexpected)categoryfrommetadata.categoryor first feedback keydurationMsfromlatency_ms/latencyMsmetadata.provenance.sourceRef = "langsmith"
Verification loop
eval-dashboards lint --input=.evals_output
eval-dashboards check --input=.evals_output --min-pass-rate=0.8 --zero-critical
eval-dashboards report --input=.evals_output --report-dir=eval-report
Risk register gate
Before adopting this path for production CI, run through: