ModelOutputSchema¶
- class tracdap.rt.metadata.ModelOutputSchema¶
Describes the data schema of a model output
In many cases models define the entire schemas of their outputs, in which case the output schema is just a wrapper around a schema definition. This is what is supported now.
Other approaches are possible. Models can define dynamic outputs, in which case the model decides at runtime what the output schema will be. Pass-through schemas (output X has the same schema as dynamic input Y) and pass-through-extend schemas (output X has the schema of dynamic input Y, plus one or more new columns) can also be useful. These capabilities may be added in future releases.
- dynamic: bool¶
dynamic
- label: str | None¶
label
- optional: bool¶
optional
- schema: SchemaDefinition¶
schema