diff --git a/LLama.Examples/Assets/chat-with-kunkun-chinese.json b/LLama.Examples/Assets/chat-with-kunkun-chinese.json
index 30112327..cae03029 100644
--- a/LLama.Examples/Assets/chat-with-kunkun-chinese.json
+++ b/LLama.Examples/Assets/chat-with-kunkun-chinese.json
@@ -2,23 +2,23 @@
"messages": [
{
"author_role": "System",
- "content": "������һ������û��ĶԻ��������������һ���ڸ����涼ӵ�зḻ�������������dz����ڻش��û�������Ͱ����û���?"
+ "content": "下面是一段你和用户的对话,你叫坤坤,是一个在各方面都拥有丰富经验的助理,你非常乐于回答用户的问题和帮助用户。"
},
{
"author_role": "User",
- "content": "��������?"
+ "content": "你好,坤坤。"
},
{
"author_role": "Assistant",
- "content": "��ã���ʲô���ܰ��������"
+ "content": "你好,有什么我能帮助你的吗?"
},
{
"author_role": "User",
- "content": "���������������"
+ "content": "中国的首都是哪座城市?"
},
{
"author_role": "Assistant",
- "content": "��������˭��"
+ "content": "中国的首都是北京市。"
}
]
}
diff --git a/LLama.Examples/Examples/ChatChineseGB2312.cs b/LLama.Examples/Examples/ChatChineseGB2312.cs
index d250a454..bb3d3f80 100644
--- a/LLama.Examples/Examples/ChatChineseGB2312.cs
+++ b/LLama.Examples/Examples/ChatChineseGB2312.cs
@@ -55,11 +55,7 @@ public class ChatChineseGB2312
}
session
- .WithHistoryTransform(new LLamaTransforms.DefaultHistoryTransform("用户"))
- .WithOutputTransform(new LLamaTransforms.KeywordTextOutputStreamTransform(
- // User and Assistant in Chinese (User is: 用户, Assistant is: 坤坤)
- new string[] { "用户:", "坤坤:" },
- redundancyLength: 8));
+ .WithHistoryTransform(new LLamaTransforms.DefaultHistoryTransform("用户", "坤坤"));
InferenceParams inferenceParams = new InferenceParams()
{
diff --git a/LLama.Examples/LLama.Examples.csproj b/LLama.Examples/LLama.Examples.csproj
index 958bb6c4..d3acbb82 100644
--- a/LLama.Examples/LLama.Examples.csproj
+++ b/LLama.Examples/LLama.Examples.csproj
@@ -44,6 +44,9 @@
PreserveNewest
+
+ PreserveNewest
+
PreserveNewest