Skip to main content

summary_text

Function summary_text 

Source
pub fn summary_text(
    response: &CompletionResponse,
    label: &'static str,
) -> Result<String, SummaryFailure>
Expand description

The summary in response, a reply to the request label names, its text parts joined by newlines, or why it cannot become a session’s checkpoint: an errored reply, one cut at the output limit, one that calls a tool, or one with no text.

§Errors

SummaryFailure.