View source: R/context_audit.R
| context_audit | R Documentation |
Reports metadata, exact duplicate sources, native overlap, missing or unreadable files, audience exclusions, explicit truncation, and size thresholds. Does not print or retain source bodies in its result, execute snippets, or infer semantic contradictions from arbitrary text.
context_audit(manifest, layer_tokens = 2000L, total_tokens = 8000L)
manifest |
A manifest returned by |
layer_tokens |
Estimated-token warning threshold for one source. |
total_tokens |
Estimated-token warning threshold for rendered context. |
A saber_context_audit list with metadata-only sources,
findings (source_id, code, severity, related_id), total emitted sizes,
and the estimator label. Native tokens are not part of the emitted total.
m <- context_manifest("corteza", discover = FALSE,
extra_sources = list(list(id = "note", kind = "memory", text = "A note.")))
context_audit(m, layer_tokens = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.