Skip to main content
Generated from rustdoc JSON at dspy-rs v0.7.3 (commit b5da857). Do not edit by hand; regenerate with python3 docs/scripts/gen_api.py (see the script header for the rustdoc commands). Item links lead to full signatures and method docs on docs.rs.
Execution trace capture (RFC 0001).

Re-exports

Modules

trace::capture

Task-local capture scope for the unified trace format.

Structs

Functions

trace::export

Exports: projections of the trace format onto external training and observability conventions (RFC 0001 §4f/§4g).

Re-exports

trace::export::otel

OTel export (RFC 0001 §4g): one-way batch mapping of a finished Trace onto OpenTelemetry GenAI semantic conventions — as plain serializable structs in the OTLP/JSON wire shape, w…

Structs

Enums

Constants

trace::export::rl

RL rollout export (RFC 0001 §4f): the Agent Lightning / verifiers span convention — one rollout as message lists + reward + per-subcall transitions.

Structs

trace::replay

Replay scope: serve Predict calls from a recorded Trace (RFC 0001 §4d/§4e).

Structs

Enums

Functions

trace::serialize

JSONL wire format for Trace: header line, span lines, optional footer.

Constants

trace::span

The unified trace format (RFC 0001): one Span per Predict invocation, one Trace per rollout.

Structs

Enums

Type aliases