| llm_validate_structured_col | R Documentation |
Adds structured_valid (logical) and structured_error (chr) by validating
each row's structured_data against schema. No provider calls are made.
llm_validate_structured_col(
.data,
schema,
structured_list_col = "structured_data"
)
.data |
A data.frame with a |
schema |
JSON Schema (R list) |
structured_list_col |
Column name with parsed JSON. Default "structured_data". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.