powered by
Define output schema for LLM responses
schema(name = NULL, ..., description = NULL)
Schema object, named list, or JSON string.
Optional Character: The name of the schema.
Field objects defining the schema fields. Create using field.
Optional Character: A brief description of the schema.
EDG
schema( "LabSchema", field("Lab name"), field("normal range low", type = "number"), field("normal range high", type = "number") )
Run the code above in your browser using DataLab