ModelInputSchema¶
- class tracdap.rt.metadata.ModelInputSchema¶
Describes the data schema of a model input
In many cases models define the entire schemas of their inputs, in which case the input schema is just a wrapper around a schema definition. This is what is supported now.
Other approaches are possible. Models can define dynamic inputs, in which case the input schema is provided at runtime and can be interrogated by the model code. Models may also define inputs with some required fields and a dynamic portion. For non-tabular inputs, other options may be required. These capabilities may be added in future releases.
- dynamic: bool¶
dynamic
- label: str | None¶
label
- optional: bool¶
optional
- schema: SchemaDefinition¶
schema