pub fn parse_intent(reply: &str) -> Option<CommandIntent>Expand description
Parse the classifier’s JSON reply into a validated intent. The command must
exist in the catalog (case-insensitive), else None — the model can never
invent a command.
pub fn parse_intent(reply: &str) -> Option<CommandIntent>Parse the classifier’s JSON reply into a validated intent. The command must
exist in the catalog (case-insensitive), else None — the model can never
invent a command.