Function cancel_response

Source
pub fn cancel_response<C, Fut, B, E>(
    client: C,
    params: &CancelResponseParams,
) -> CancelResponse<Fut, B, E> 
where C: FnOnce(Request<String>) -> Fut, Fut: Future<Output = Result<Response<B>, E>>, B: Body,
Expand description

Cancels a model response with the given ID. Only responses created with the background parameter set to true can be cancelled. Learn more.