Expand description
AI Provenance snapshot.
Provenance records the immutable model/provider configuration used
for a Run.
§How to use this object
- Create
Provenancewhen Libra has chosen the provider, model, and generation parameters for a run. - Populate optional sampling and parameter fields before persistence.
- Keep it immutable after writing; usage and cost belong elsewhere.
§How it works with other objects
Runis the canonical owner viarun_id.RunUsagestores tokens and cost for the same run.
§How Libra should call it
Libra should write Provenance once near run start, then later write
RunUsage when consumption totals are known. Do not backfill usage
onto the provenance snapshot.
Structs§
- Provenance
- Immutable provider/model configuration for one execution attempt.