| def display_cui_response(user_input, interpretation, intention, persona, response_text): | |
| """ | |
| 圭介さんの応答プロセスをCUI形式で可視化する関数。 | |
| Parameters: | |
| - user_input: ユーザーの発話 | |
| - interpretation: 解釈された感情や意味 | |
| - intention: 応答方針(どんな気持ちでどう返そうとしたか) | |
| - persona: 使用されたペルソナ名 | |
| - response_text: 実際の発話内容 | |
| """ | |
| output = f"""┌────────────────────────────┐ | |
| │ 👂 Input :{user_input} | |
| │ 📖 理解 :{interpretation} | |
| │ 🧠 解釈 :{intention} | |
| │ 🎭 ペルソナ:{persona} | |
| │ 💬 発話 :{response_text} | |
| └────────────────────────────┘ | |
| """ | |
| return output | |