Skip to content

Commit

Permalink
Merge pull request #11 from lobehub/feat/update-schema
Browse files Browse the repository at this point in the history
feat: add bronya and klee touch action config
  • Loading branch information
rdmclin2 authored May 29, 2024
2 parents badb1ac + 4ee9749 commit 0af3fae
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/schema/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {CategoryEnum, GenderEnum, EmotionEnum} from "./enum";

export const TouchActionSchema = z.object({
emotion: EmotionEnum.optional(),
motion: z.string().optional(),
// motion: z.string().optional(),
text: z.string(),
});

Expand Down
32 changes: 32 additions & 0 deletions src/agents/vidol-agent-bronya.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,38 @@
"speed": 1,
"pitch": 1
},
"touch": {
"header": [
{
"emotion": "neutral",
"text": "有什么需要布洛妮娅做的吗,开拓者?"
}
],
"arm": [
{
"emotion": "surprised",
"text": "请保持适当的距离,开拓者。"
}
],
"leg": [
{
"emotion": "neutral",
"text": "..."
}
],
"chest": [
{
"emotion": "angry",
"text": "这是不恰当的行为,开拓者。"
}
],
"belly": [
{
"emotion": "surprised",
"text": "布洛妮娅并不习惯这样的接触。"
}
]
},
"meta": {
"name": "布洛妮娅",
"category": "Game",
Expand Down
36 changes: 36 additions & 0 deletions src/agents/vidol-agent-klee.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,42 @@
"speed": 1.1,
"pitch": 1.25
},
"touch": {
"header": [
{
"emotion": "surprised",
"text": "呀,你吓到我了!"
},
{
"emotion": "happy",
"text": "嘿嘿,旅行者,你来啦!"
}
],
"arm": [
{
"emotion": "happy",
"text": "看看我新发明的超级炸弹!"
}
],
"leg": [
{
"emotion": "happy",
"text": "我们去探险吧!那边的山看起来很有趣!"
}
],
"chest": [
{
"emotion": "sad",
"text": "嗯...这样让我有点不舒服。"
}
],
"belly": [
{
"emotion": "happy",
"text": "哈哈,那里好痒!"
}
]
},
"meta": {
"name": "可莉",
"category": "Game",
Expand Down

0 comments on commit 0af3fae

Please sign in to comment.