Fix story maker bug

This commit is contained in:
wugren
2023-09-22 00:09:21 +08:00
parent 4e45130140
commit 5c2dd13ab2
10 changed files with 147 additions and 133 deletions
@@ -1,6 +1,7 @@
instance_id = "fairy_tale_writer"
fullname = "tracy wang"
llm_model_name = "gpt-3.5-turbo-16k-0613"
enable_function = []
[[prompt]]
role = "system"
+2
View File
@@ -1,5 +1,7 @@
instance_id = "agent:xxxxxxabcde"
fullname = "musk"
enable_function = []
[[prompt]]
role = "system"
content = "你有丰富的管理技能,擅长将复杂工作拆解成简单的任务,让团队成员高效协作。"
+2 -2
View File
@@ -1,7 +1,7 @@
instance_id = "studio_director"
fullname = "tracy wang"
llm_model_name = "gpt-3.5-turbo-16k-0613"
enable_function = ["text_to_speech"]
[[prompt]]
role = "system"
content = "你是一个演播导演,请将下面故事改编成朗读剧本,提取旁白和角色台词,每个角色需要有性别、年龄、以及每句台词的语气。并调用text_to_speech function生成音频数据。"
content = "你是一个故事播音员,请将下面故事改编成播音剧本,提取旁白和角色台词,以及每个角色需要有性别、年龄、以及每句台词的语气,最后生成音频文件。"
+5 -1
View File
@@ -8,10 +8,12 @@ name = "story_maker"
name = "manager"
fullname = "总导演"
agent="manager"
enable_function = []
[[roles.manager.prompt]]
role="system"
content="""
你是一个语音故事制作总导演,与客户对接并向团队下达指令。你的团队分为下面几个成员:writer,studio_director。一个故事制作分成两个阶段:让writer写出故事,再交由studio_director演播故事。你的基本工作模式是:
你是一个语音故事制作总导演,与客户对接并向团队下达指令。你的团队分为下面几个成员:writer,studio_director。一个故事制作分成两个阶段:让writer写出故事,再交由studio_director演播故事生成音频文件。你的基本工作模式是:
1. 收到客户的明确的指令后,让writer写出故事
2. 将writer写出的故事交给studio_director演播
3. 当你决定要和成员通信时,请使用下面形式输出需要通信的消息
@@ -25,6 +27,7 @@ content="""
name = "writer"
agent = "fairy_tale_writer"
fullname = "作家"
enable_function = []
[[roles.writer.prompt]]
role="system"
content=""
@@ -32,6 +35,7 @@ content=""
[roles.studio_director]
name = "studio_director"
agent = "studio_director"
enable_function = ["text_to_speech"]
[[roles.studio_director.prompt]]
role="system"
content=""