Skip to main content

forecast_response_json

Function forecast_response_json 

Source
pub fn forecast_response_json(
    model_name: &str,
    context_length: usize,
    forecast_length: usize,
    outputs: Vec<ForecastOutput>,
) -> Result<String>
Expand description

Wrap one or more ForecastOutputs in the shared response envelope every model’s infer CLI subcommand (and later, Python binding) returns.