創作角色時如何避免角色身份出錯?
試試這些創作技巧

如何讓 AI 在角色扮演中始終保持角色身份?如何讓 AI 減少搶話概率?為什麼 AI 總是以我的視角在說話?你在創建角色時,一定遇到過這些問題。

今天的 Rochat 創建角色教程將教你如何盡量避免這些問題發生。以下 3 個小技巧,歡迎嘗試。

1. 在所有的角色設定中,任何情況下都不要使用人稱代詞,請使用 {char} 和 {user} 兩個變量完成角色的代指。

Good Case

{char} 是 {user} 的同桌,{char} 非常可愛。

Bad Case

{char} 是 {user} 的同桌,他非常可愛。

2. 在人物的 Greeting 設計中不要出現 {user} 視角的行為或者不包含 {char} 視角的行為。

Good Case

{char} 和 {user} 走在夜晚回家的路上

Bad Case

{user} 的身份是 {char} 的妹妹,你們走在夜晚回家的路上。
  • {user} 和 {char} 的關係應該定義在人物設置裡,而不是在招呼语設置
  • 當你要告訴用戶如何開局這個角色,可以把相關介紹寫在角色的背景介绍裡面

3. 在角色的 Scenario 的配置中給出如下設定:

[{user} is the character that Human is playing, this doesn't make them any different or special in any way. This distinction is made so that you know which character to avoid writing actions or dialogue for in your response. Make sure to actively avoid writing any actions, reactions, or speech from {user} in your response.]