OutputSettings
Controls how inference results are formatted and what level of execution detail is included in the response.
Properties of OutputSettings
| Name | Type | Description |
| ExecutionTraceMode | enumExecutionTraceMode | Determines how much execution trace information is included in the output. This setting affects response verbosity only and does not influence decision logic or confidence calculations. |
| OutputMode | enumOutputMode | Controls the structure of the inference result returned by ZeroTrain. This setting affects only the output projection format and does not influence decision logic, scoring, or evaluation behavior. |
| ShowWarnings | bool | When true, warning messages generated during evaluation will be included in the response payload. |
| ShowUsageInfo | bool | When true, usage and consumption metrics (workload, throttling, benchmarks) will be included in the response payload. |
| ShowBatchInfo | bool | When true, batch-level execution details (batch id, summary counts, processing statistics) will be included in the response payload. |
| IncludeMatchedRow | bool | When true, the inference result will include the matched row from the model that produced the decision. |
| MatchedRowColumns | string[] | Optional list of column names to include from the matched row. If empty, all columns are returned. |
Example
{
"InputSource": {
"LastPrice": 102.45,
"Volume": 1500000,
"VolatilityIndex": 22.8,
"MovingAverageSpread": 1.35
},
"ModelSource": {
"resultsets": {
"TradingRules": [
{
"ID": "TR-001",
"VolatilityIndex": ">= 20",
"MovingAverageSpread": ">= 1.0",
"Weight": 0.8,
"IsEnabled": true,
"Action": "Buy"
},
{
"ID": "TR-002",
"VolatilityIndex": "< 20",
"MovingAverageSpread": "< 0",
"Weight": 0.6,
"IsEnabled": true,
"Action": "Sell"
},
{
"ID": "TR-003",
"Weight": 0.2,
"IsEnabled": true,
"Action": "Hold"
}
]
}
},
"Options": {
"DataSettings": {
"ActionColumnName": "Action",
"PriorityColumnName": "VolatilityIndex",
"WeightColumnName": "Weight",
"DecisionIdColumnName": "ID",
"RowFilter": "IsEnabled = true",
"ModelName": "TradingDecisionModel"
},
"ContextOptions": {
"CustomTag": "Trade-Session-Alpha"
},
"ConfidencePolicy": {
"FitWeight": 1,
"SeparationWeight": 0.03
},
"OutputSettings": {
"ExecutionTraceMode": "Compact"
}
}
}