ver0.1
This commit is contained in:
@@ -183,7 +183,7 @@ def is_rejection_phrase(asr_text: str) -> bool:
|
||||
|
||||
|
||||
def build_prompt_text(options: list[tuple[str, float]]) -> str:
|
||||
parts = ["请确认刚才使用的耗材是下面哪一项。"]
|
||||
parts = ["请确认。"]
|
||||
for i, (name, _conf) in enumerate(options, start=1):
|
||||
parts.append(f"第{i}个,{name}。")
|
||||
return "".join(parts)
|
||||
|
||||
Reference in New Issue
Block a user