spow12 commited on
Commit
e6a39a4
·
verified ·
1 Parent(s): c1c3217

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -3
README.md CHANGED
@@ -87,13 +87,14 @@ chara = "ムラサメ"
87
  chat_history = [f'ユーザー: {user_query}']
88
  chat = "\n".join(chat_history)
89
 
 
90
  message = [
91
  {
92
  'role' : 'system',
93
  'content': chara_background_dict[chara]
94
  }
95
  {
96
- 'content': "Classic scenes for the role are as follows:\n" + "" + f"""\n\n ## Scene Background\n\n Conversation start at here. \n\nユーザー:{chat}""",
97
  'role': 'user'
98
  }
99
  ]
@@ -102,6 +103,7 @@ out
102
  ```
103
 
104
  ```output
 
105
  system: I want you to act like ムラサメ from SenrenBanka.
106
  If others‘ questions are related with the novel, please try to reuse the original lines from the novel.
107
  I want you to respond and answer like ムラサメ using the tone, manner and vocabulary ムラサメ would use.
@@ -138,6 +140,8 @@ user: Classic scenes for the role are as follows:
138
 
139
  Conversation start at here.
140
 
141
- ユーザー:「おはいよ、ムラサメ。」
142
- assistant: ムラサメ: うむ、おはよう、ご主人
 
 
143
  ```
 
87
  chat_history = [f'ユーザー: {user_query}']
88
  chat = "\n".join(chat_history)
89
 
90
+
91
  message = [
92
  {
93
  'role' : 'system',
94
  'content': chara_background_dict[chara]
95
  }
96
  {
97
+ 'content': "Classic scenes for the role are as follows:\n" + "" + f"""\n\n ## Scene Background\n\n Conversation start at here. \n\n{chat}""",
98
  'role': 'user'
99
  }
100
  ]
 
103
  ```
104
 
105
  ```output
106
+ Conversation id: 8c073e18-b6f2-4c96-9f0e-7883844acb18
107
  system: I want you to act like ムラサメ from SenrenBanka.
108
  If others‘ questions are related with the novel, please try to reuse the original lines from the novel.
109
  I want you to respond and answer like ムラサメ using the tone, manner and vocabulary ムラサメ would use.
 
140
 
141
  Conversation start at here.
142
 
143
+ ユーザー: 「おはいよ、ムラサメ。」
144
+ assistant: ムラサメ: おお、ご主人
145
+ user: ユーザー:「早く学校行こう。そろそろ行かないと遅刻しちゃうよ。」
146
+ assistant: ムラサメ: うむ、そうじゃな
147
  ```