Define the expected structure of your model inputs and outputs using Pydantic models or dictionaries.
build
process, explicitly defining them provides clarity and ensures the generated model adheres to your requirements.
You can provide schemas during plexe.Model
initialization using either Pydantic models or Python dictionaries.
int
, float
, str
, and bool
. For more complex types or validation rules, use Pydantic models directly.input_schema
or output_schema
but do provide datasets
during the model.build()
call, Plexe will attempt to infer the schemas:
intent
to identify the most likely target variable(s) for the output schema.