diff --git a/robowaiter/llm_client/data/fix_questions.txt b/robowaiter/llm_client/data/fix_questions.txt index 6884103..99bae7b 100644 --- a/robowaiter/llm_client/data/fix_questions.txt +++ b/robowaiter/llm_client/data/fix_questions.txt @@ -1,6 +1,11 @@ 你好 您好,我是这家咖啡厅的服务员,请问您要点什么? + +感谢,这些够啦,你去忙吧。 +ok, 有需要您再找我。 + + 做一杯咖啡 好的,我马上做咖啡 create_sub_task @@ -148,3 +153,6 @@ create_sub_task 稍等片刻噢~ create_sub_task {"goal":"On(Yogurt,Bar)"} + + + diff --git a/robowaiter/llm_client/multi_rounds.py b/robowaiter/llm_client/multi_rounds.py index 1c933a0..ba53af9 100644 --- a/robowaiter/llm_client/multi_rounds.py +++ b/robowaiter/llm_client/multi_rounds.py @@ -40,7 +40,7 @@ with open(file_path,'r',encoding="utf-8") as f: lines = f.read().strip() sections = re.split(r'\n\s*\n', lines) for s in sections: - x = s.split() + x = s.strip().splitlines() if len(x) == 2: fix_questions_dict[x[0]] = { "answer": x[1],