Skip to main content

classify_turn

Function classify_turn 

Source
pub fn classify_turn(
    user_msg: &str,
    assistant_msg: &str,
    tool_results: &[(String, String)],
) -> TurnType
Expand description

Classifies a turn based on user + assistant content and tool results.