def perceive(text): return {"intent": text.split()[0] if text else "none"}