DataDesigner/docs/code_reference
Johnny Greco 0d51539aa6
feat: add message trace support for LLM generation (#272)
Add support for capturing full conversation traces during LLM generation,
enabling debugging and fine-tuning dataset creation.

Changes:
- Add `with_trace` field to LLMTextColumnConfig for per-column trace control
- Add `debug_override_save_all_column_traces` to RunConfig for global trace
- Introduce ChatMessage dataclass for structured message representation
- Update ModelFacade.generate() to return full message trace
- Rename trace column postfix from `__reasoning_trace` to `__trace`
- Add comprehensive traces documentation

Traces capture system/user/assistant messages in order, enabling visibility
into the full generation conversation including correction retries.
2026-01-30 17:03:07 -05:00
..
analysis.md docs: add initial plugin documentation (#107) 2025-12-11 16:05:11 -05:00
column_configs.md docs: establish doc templating, building, and strategy (#31) 2025-11-12 17:04:50 -05:00
config_builder.md docs: establish doc templating, building, and strategy (#31) 2025-11-12 17:04:50 -05:00
data_designer_config.md docs: establish doc templating, building, and strategy (#31) 2025-11-12 17:04:50 -05:00
models.md chore: deprecate InferenceParameters (#183) 2026-01-08 10:43:02 -07:00
processors.md docs: add processors (#147) 2025-12-17 15:47:33 -03:00
run_config.md feat: add message trace support for LLM generation (#272) 2026-01-30 17:03:07 -05:00
sampler_params.md docs: sampler params code ref and more (#50) 2025-11-19 16:27:40 -05:00
validator_params.md docs: validators etc. (#45) 2025-11-19 17:39:10 -03:00