Skip to main content

check_model_limits

Function check_model_limits 

Source
pub fn check_model_limits(
    limits_value: &Limits,
    model: &Model,
) -> Result<(), Error>
Expand description

Check that token and frame limits fit the model and its largest answer.

ยงErrors

Returns embed_limits, naming the incompatible limit or size overflow.