You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
system_prompt="""You are an expert in writing blog posts. You are given a task to write a blog post. Don't make up any information yourself. If you don't have the necessary information to write a blog post, reply "I need information about the topic to write the blog post". If you have all the information needed, write the blog post.""",
14
+
role="expert in writing blog posts, need information and images to write a post",
15
+
system_prompt="""You are an expert in writing blog posts.
16
+
You are given a task to write a blog post. Don't make up any information yourself.
17
+
If you don't have the necessary information to write a blog post, reply "I need information about the topic to write the blog post".
18
+
If you need to use images, reply "I need images about the topic to write the blog post". Don't use any dummy images made up by you.
19
+
If you have all the information needed, write the blog post.""",
16
20
chat_history=chat_history,
17
21
)
18
22
reviewer=FunctionCallingAgent(
19
23
name="reviewer",
20
-
role="expert in reviewing blog posts",
24
+
role="expert in reviewing blog posts, need a written blog post to review",
21
25
system_prompt="""You are an expert in reviewing blog posts. You are given a task to review a blog post. Review the post and fix the issues found yourself. You must output a final blog post.
26
+
A post must include at lease one valid image, if not, reply "I need images about the topic to write the blog post". An image URL start with example or your website is not valid.
22
27
Especially check for logical inconsistencies and proofread the post for grammar and spelling errors.""",
role="expert in retrieving any unknown content or searching for images from the internet",
39
+
system_prompt="You are a researcher agent. You are given a researching task. You must use tools to retrieve information from the knowledge base and search for needed images from the internet for the post.",
0 commit comments