generate Schema To File
Generates a JSON Schema for a class of documents using a vision model and writes it to a file, with default document settings.
Parameters
The schema generation request: the document type the schema must represent (required), an optional natural-language requirement, and up to five example documents used as grounding samples.
Path to the output file receiving the JSON Schema.
Generates a JSON Schema for a class of documents using a vision model and writes it to a file, with explicit document settings.
Parameters
The schema generation request: the document type the schema must represent (required), an optional natural-language requirement, and up to five example documents used as grounding samples.
Document settings carrying SchemaGenerationSettings (schema shape and target dialect) and the vision model connection.
Path to the output file receiving the JSON Schema.