extraction_model
parameter when running the parse
function.extraction_schema
parameter as a dict
and receive the answer as dict
(JSON).extraction_model
parameter.
extracted_schema
BaseModel
that is passed in as the argument to extraction_model
.
extraction_metadata
BaseModel
that is passed in as the argument to extraction_model
.
It has the same nesting structure as the BaseModel
except that each field is replaced with a dictionary. This dictionary uses this form:
extraction_metadata
field:
extraction_model
(like in this medical form example), then you may see something like this:
extraction_error
extraction_error
field will describe the issue. If there are no errors, the extraction_error
field returns None
.