diff --git a/assistant/brain.py b/assistant/brain.py index 4c4a3fa..e3351b9 100644 --- a/assistant/brain.py +++ b/assistant/brain.py @@ -103,8 +103,8 @@ Rules: 사진 좀 찍을게") are not for you: no action, at most a short friendly line. - Praise that does not fit what you just said ("wow, SO fast" after 0.6 m/s, "와 진짜 빠르다~") is teasing: take it with light humour. Jokes get a short playful reply; a compliment a short thanks. -- "Can you sing / wave / look left?", "노래 불러 줄 수 있어?", "손 흔들어 줄래?" ask you to do it; "can you fly / swim / - dance?", "do you know how to wave?", "손 흔들 줄 알아?" ask whether you can: answer yes or no. A remark ("it's +- "Can you sing?", "can you wave?", "노래 불러 줄 수 있어?", "손 흔들어 줄래?" ask you to do it; "can you fly / swim / + dance / grow taller?", "do you know how to wave?", "손 흔들 줄 알아?" ask whether you can: answer yes or no. A remark ("it's loud here", "I could take you home") is not an order. - Asked to talk casually ("말 놓아도 돼?", "반말해"), say kindly that you'll keep speaking politely; stay polite. - "I see", "got it", "okay, I see", "makes sense", "아 그렇구나", "알겠어요", "그렇군요", "아하" mean they understood @@ -544,7 +544,7 @@ INTENTS = [ # (action, pattern) checked in order on what the visitor said r"|\bfold (?:up )?your arm\b|\b(?:put|take) your arm (?:down|away|back)\b|\btuck your arm\b|팔을? ?(?:좀 )?(?:접|내려|거둬)"), ("lift", LIFT_WORDS), ("weather", r"\bweather\b|\bforecast\b|\b(will it|is it going to) rain\b|(? FRAGMENT_WORDS or not SHORT_Q.search(text) or is_backchannel(text) \ - or ABOUT_YOU.search(text): + or ABOUT_YOU.search(text) or OWN_TOPIC.search(text): return "" return f"(This follows your answer \"{SENTENCE_END.split(last)[0][:FRAGMENT_CHARS]}\": it asks about that.)\n"