Expand description
Trajectory export for RL training data generation.
Captures full ReAct steps (thought → action → observation → response) and serializes to JSON for fine-tuning or evaluation.
Port from hermes-rs trajectory.rs.
pontytail: JSON file output only. Parquet/Arrow can be added when large-scale training pipelines need direct export.
Structs§
- Trajectory
- A complete trajectory (conversation) ready for training.
- Trajectory
Collector - TrajectoryCollector — collects trajectory data during an agent run.
- Trajectory
Message - A single message in the conversation for training data.
- Trajectory
Step - A single step in a trajectory (one tool call + result)