Skip to main content

round

Function round 

Source
fn round(
    response_id: &str,
    events: Vec<(&'static str, Value)>,
    usage: Value,
) -> String
Expand description

Wraps a round’s own events in the lifecycle events every round shares: response.created, which is where the chatbot picks up the response id it needs before the round is classified, and the terminal response.completed.