Skip to main content

check_vectors

Function check_vectors 

Source
pub fn check_vectors(
    vectors: &Vectors,
    embed: &Embed,
    ready: &Ready,
    limits_value: &Limits,
) -> Result<(), Error>
Expand description

Check answer count, order, vectors and refusal outcomes against the request.

ยงErrors

Returns embed_protocol for a count or order mismatch, and embed_output_invalid for outcomes the request and model do not allow.