Skip to main content

Crate zsfm_core

Crate zsfm_core 

Source

Structs§

VariateForecast

Enums§

ForecastOutput

Traits§

Forecaster
Common interface implemented by every GGUF-quantized zero-shot time-series forecaster in the workspace (Toto, Chronos, TimesFM, …). Lets the CLI and Python bindings dispatch across models without per-model glue code.

Functions§

forecast_response_json
Wrap one or more ForecastOutputs in the shared response envelope every model’s infer CLI subcommand (and later, Python binding) returns.
json_bool
json_f64
json_usize
parse_mv_contexts
Parse the context field of a forecast request into [batch][variate][time].
quantile_matrix_to_output
Turn one forecast’s QuantileMatrix into a ForecastOutput, choosing the univariate (flat point/quantiles) or multivariate (variates: [...]) shape based on how many variates the matrix actually has.

Type Aliases§

QuantileMatrix
[quantile_level][variate][horizon_step] — the output shape every zsfm time-series forecaster produces.