Improve talk answers, quick answers, weather and song requests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 10:15:14 +09:00
co-authored by Claude Opus 5.5
parent 1411676269
commit d223ff475f
9 changed files with 261 additions and 13 deletions
+18 -2
View File
@@ -253,9 +253,9 @@ QUICK_KINDS = {
"ko": ["컵, 머그, 유리잔, 병, 사과, 오렌지, 바나나를 탁자 높이에서 집을 수 있어요. 바닥에 있는 건 못 집어요. 실제로 집어 본 건 컵이에요.",
"탁자 높이에 있는 컵, 유리잔, 병, 그리고 사과, 오렌지, 바나나 같은 과일을 집어요. 바닥은 팔이 안 닿아서 못 집어요."]}),
"operator": ([
"who operates you", "who's in charge of you", "who takes care of you", "who looks after you", "who controls you",
"who operates you", "who's in charge of you", "who takes care of you", "who looks after you",
"who is responsible for you", "who runs you here", "is there a staff member",
"누가 관리해요", "관리자가 누구예요", "누가 운영해요", "누가 조종해요", "담당자가 누구예요",
"누가 관리해요", "관리자가 누구예요", "누가 운영해요", "담당자가 누구예요",
"책임자가 누구야", "관리는 누가 하십니까", "누가 관리하노", "manager 누구예요", "담당 staff 누구예요",
], {"en": ["Cutshion Company operates me here. If you need help with something I can't do, please ask a staff member."],
"ko": ["여기서는 쿳션이 저를 운영해요. 제가 못 하는 일은 직원에게 물어봐 주세요."]}),
@@ -376,3 +376,19 @@ for _kind, (_ko_n, _en_n) in HAVES.items():
QUICK_KINDS[_kind][0].extend(f.format(n) for f in EN_HAVE for n in _en_n)
QUICK_KINDS["dance"][0].append("춤 출 수 있어") # quick_answers.NO lists it for the LLM; it is this kind's now
QUICK_KINDS["arm"][0].extend(["팔 길이가 얼마야", "how long is your arm"])
# night 4: wordings the dev eval missed, at every level
for _kind, _texts in {
"size": ["how wide is lumi", "how wide is the robot", "how wide is this robot", "how big is lumi", "루미 폭이 얼마예요", "로봇 폭이 몇이야"],
"stairs": [s + e for s in ["계단도 올라가", "계단 올라가", "계단도 올라가실 수 있"] for e in ["니", "나요", "요", "", "노", "습니까", "세요"]],
"grow": ["최대 몇 센티까지 커져", "최대 몇 센티까지 커져요", "제일 높이 몇 센티까지 올라가", "얼마나 높아질 수 있어요", "how tall can you get",
"what's your tallest height", "몇 센티까지 늘어나요", "최대 높이가 몇이에요"],
"navigation": ["are you self-driving", "are you autonomous", "is this robot autonomous", "do you drive yourself", "자율주행 로봇이에요",
"혼자 다닐 수 있어", "혼자 다니세요", "스스로 운전해요"],
"software": ["is your code python", "are you programmed in python", "is lumi written in python", "파이썬으로 만들었어요", "코드 파이썬이야"],
"detector": ["do you run yolo", "is it yolo", "do you use yolo for detection", "욜로 써요", "YOLO 돌려요", "물체 인식 YOLO야"],
"touch": ["is it ok to touch the robot", "is it okay to touch lumi", "may people touch the robot", "are visitors allowed to touch you",
"로봇 만져도 돼요", "루미 만져도 되나요", "이 로봇 만져도 됩니까"],
"operator": ["who operates this robot", "who runs this robot", "who is in charge of this robot", "이 로봇 누가 운영해요", "이 로봇 관리자 누구예요"],
}.items():
QUICK_KINDS[_kind][0].extend(_texts)
+35 -1
View File
@@ -372,7 +372,6 @@ _MORE = {
"외로움 느껴", "너 살아 있어", "살아 있는 거 맞아", "생각할 줄 알아",
],
"no": [
"몇 년도에 세웠어", "언제 세웠어요", "언제 설립했어", "설립 연도가 언제예요", "회사 언제 세워졌어요",
"요즘 무슨 일 있어", "요즘 경제가 어때요", "요즘 경제 어때", "경기가 어때요", "요즘 뉴스 뭐 있어",
"how heavy can you lift", "can i lift you", "내가 너 들 수 있어", "are you taller than me", "are you taller than my dad",
"could you beat me in a race", "나랑 달리기 하면 누가 이겨", "who is faster you or me",
@@ -443,3 +442,38 @@ QUICK["no"] += [
"how much longer will you wait", "how long are you waiting", "how long will you wait", "what's the job", "what's your task now",
"introduce yourself then turn to your left", "자기소개하고 왼쪽 봐", "고개 숙이고 이름 알려 줘", "오른쪽 보고 나이 말해 줘",
]
# "노래 부를 줄 알아요?": an ability question, answered; the song comes on "yes" / "불러 줘" (brain.DO_IT, SING_ASK).
# A request ("노래 불러 줘", "can you sing?", "노래 부를 수 있어?") is audio/sing.asked's and never reaches this kind.
_SING_KO = [s + e for s in ["노래 부를 줄 ", "노래 할 줄 ", "노래할 줄 ", "노래도 할 줄 ", "노래도 부를 줄 ", "너 노래 할 줄 ", "루미 노래 부를 줄 ",
"노래 하실 줄 ", "노래 부르실 줄 ", "혹시 노래 부를 줄 "]
for e in ["알아", "알아요", "아니", "아세요", "아십니까", "압니까", "아나", "아나요", "알아유", "아노", "알지", "알죠"]]
QUICK_KINDS["can_sing"] = (_SING_KO + [
"do you know how to sing", "are you able to sing", "is singing something you can do", "do you sing", "can robots like you sing",
"do you know how to sing songs", "are you able to sing at all", "is lumi able to sing", "do you know any singing",
"노래 부를 줄은 알아", "노래는 할 줄 알아요", "노래 부르는 거 할 줄 알아", "singing 할 줄 알아", "sing 할 줄 알아요",
], {"en": ["Yes, I can sing! I have a few songs of my own. Shall I sing one for you?",
"I can! I know some songs of my own. Want to hear one?"],
"ko": ["네, 노래할 수 있어요! 제 노래가 몇 곡 있어요. 한 곡 불러 드릴까요?",
"할 줄 알아요! 제 노래가 있는데, 한 곡 들어 보실래요?"]})
QUICK["no"] += ["노래 불러 줘", "노래 불러 줄래", "노래 한 곡 불러 주세요", "sing a song", "sing me a song", "sing for me",
"노래 좋아해", "노래 잘해", "do you like singing", "what songs can you sing", "무슨 노래 할 줄 알아", "부를 줄 아는 노래 뭐야",
"춤 출 줄 알아", "요리할 줄 알아", "수영할 줄 알아", "거짓말 할 줄 알아", "can you cook", "do you know how to swim"]
# whose robot Lumi is ("너 어느 회사 거야?", "어디 회사 거예요?"): the maker, not the company's place (co_hq) or what it does (co_what)
QUICK["maker"] = QUICK.get("maker", []) + [
s + e for s in ["너 어느 회사 거", "어느 회사 거", "어디 회사 거", "너 어디 회사 거", "루미 어디 회사 거", "이 로봇 어느 회사 거", "이 로봇 어디 회사 거",
"어느 회사 제품", "어디 제품", "어느 회사 로봇", "너 어디 제품", "어디서 나온 로봇"]
for e in ["야", "예요", "에요", "니", "입니까", "인가요", "고", "여", "냐", "임", "이야", "이에요"]] + [
"who designed and built you", "who built and designed you", "who made and programmed you", "what company built you",
"which company built you", "what company created you", "which company designed you", "whose robot are you",
"whose robot is this", "which brand are you", "what brand is this robot",
]
QUICK["who"] = QUICK.get("who", []) + ["tell me about you", "tell me something about you", "tell me a bit about you", "what do you do",
"what do you do exactly", "what is it you do", "what's your job here", "what's your role", "너에 대해 알려 줘", "너에 대해 말해 줘",
"너에 대해 알려 주세요", "루미에 대해 알려 주세요", "당신에 대해 소개해 주세요"]
QUICK["height"] = QUICK.get("height", []) + ["how tall is this thing", "how tall is this machine", "how tall is the robot", "how high is lumi",
"이거 키가 얼마야", "이 기계 키 몇이에요"]
QUICK["name_meaning"] = QUICK.get("name_meaning", []) + [
s + e for s in ["루미 무슨 뜻", "루미가 무슨 뜻", "루미는 무슨 뜻", "루미라는 이름 무슨 뜻", "루미 뜻", "루미란 이름은 무슨 뜻"]
for e in ["이에요", "이야", "이니", "입니까", "이고", "이여", "인가요", "이죠"]] + [
"why is your name lumi", "why are you named lumi", "what does the name lumi mean", "why the name lumi",
"왜 루미라고 불러", "왜 이름이 루미야", "왜 루미예요", "왜 루미라고 지었어요"]