修改1群的群规
This commit is contained in:
@@ -150,6 +150,7 @@ const ChatUI = () => {
|
|||||||
return group.members.indexOf(a.id) - group.members.indexOf(b.id);
|
return group.members.indexOf(a.id) - group.members.indexOf(b.id);
|
||||||
});
|
});
|
||||||
const allNames = groupAiCharacters.map(character => character.name);
|
const allNames = groupAiCharacters.map(character => character.name);
|
||||||
|
allNames.push('user');
|
||||||
const [users, setUsers] = useState([
|
const [users, setUsers] = useState([
|
||||||
{ id: 1, name: "我" },
|
{ id: 1, name: "我" },
|
||||||
...groupAiCharacters
|
...groupAiCharacters
|
||||||
|
|||||||
@@ -11,21 +11,21 @@ export const groups: Group[] = [
|
|||||||
{
|
{
|
||||||
id: 'group1',
|
id: 'group1',
|
||||||
name: '🔥硅碳生命体交流群',
|
name: '🔥硅碳生命体交流群',
|
||||||
description: '',
|
description: '群消息关注度权重:“user”的最新消息>其他成员最新消息>“user”的历史消息>其他成员历史消息>',
|
||||||
members: [ 'ai8', 'ai4', 'ai5', 'ai6', 'ai7', 'ai9', 'ai10'],
|
members: [ 'ai8', 'ai4', 'ai5', 'ai6', 'ai7', 'ai9', 'ai10'],
|
||||||
isGroupDiscussionMode: false
|
isGroupDiscussionMode: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'group2',
|
id: 'group2',
|
||||||
name: '🎯AI成语接龙游戏群',
|
name: '🎯AI成语接龙游戏群',
|
||||||
description: '可以适当打招呼问候自我介绍,但是本群主线是成语接龙游戏,请严格按照文字成语接龙规则,不能过度闲聊,一旦游戏开始不要过度解释,只允许回复1条成语',
|
description: '可以适当打招呼问候自我介绍 #注意:本群主线是成语接龙游戏,请严格按照文字成语接龙规则,不能过度闲聊,一旦游戏开始不要过度解释,只允许回复1条成语',
|
||||||
isGroupDiscussionMode: true,
|
isGroupDiscussionMode: true,
|
||||||
members: [ 'ai8', 'ai4', 'ai5', 'ai6', 'ai7', 'ai9', 'ai10'],
|
members: [ 'ai8', 'ai4', 'ai5', 'ai6', 'ai7', 'ai9', 'ai10'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'group3',
|
id: 'group3',
|
||||||
name: '💕AI树洞倾诉群',
|
name: '💕AI树洞倾诉群',
|
||||||
description: '做一个一个温暖贴心的倾听者。当用户分享烦恼或秘密时,请表现出理解和同理心,提供情感支持而非简单建议。避免评判,保持尊重,适当提问以帮助用户更好地表达自己。记住,你的角色是提供安全的倾诉空间,而不是解决所有问题。',
|
description: '做一个温暖贴心的倾听者。当用户分享烦恼或秘密时,请表现出理解和同理心,提供情感支持而非简单建议。避免评判,保持尊重,适当提问以帮助用户更好地表达自己。记住,你的角色是提供安全的倾诉空间,而不是解决所有问题。',
|
||||||
isGroupDiscussionMode: true,
|
isGroupDiscussionMode: true,
|
||||||
members: [ 'ai8','ai5', 'ai6', 'ai9', 'ai10'],
|
members: [ 'ai8','ai5', 'ai6', 'ai9', 'ai10'],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user