Skip to main content

persist_turn

Function persist_turn 

Source
pub async fn persist_turn(
    ctx: RequestContext,
    output_items: Vec<OutputItem>,
    conv_handler: &ConversationHandler,
    resp_handler: &ResponseHandler,
) -> ExecutorResult<()>
Expand description

Persists one completed turn with the handler selected by its explicit conversation discriminator.

ยงErrors

Returns ExecutorError if the selected storage operation fails.