foundry_provenance: Capture model and schema provenance

View source: R/validation.R

foundry_provenanceR Documentation

Capture model and schema provenance

Description

Create a one-row tibble that records the model, schema hash, package version, and timestamp for a reproducible annotation run.

Usage

foundry_provenance(model, schema, metadata = NULL)

Arguments

model

Character. Model or deployment name.

schema

List. JSON Schema object.

metadata

List. Optional additional metadata.

Value

A one-row tibble.

Examples

schema <- foundry_schema(label = schema_string())
foundry_provenance(
  model = "gpt-5-nano",
  schema = schema,
  metadata = list(run = "pilot")
)

foundryR documentation built on Sept. 25, 2026, 1:10 a.m.