Replies: 9 comments 3 replies
-
5 Agent systemTopic selection agent -> AI Writer agent -> quality assurance agent -> media generation agent -> publishing agent -> blog published! |
Beta Was this translation helpful? Give feedback.
-
A good SOP is very deep, extensive, and somewhat long: https://github.com/kyegomez/prompts/blob/main/prompts/documentation.txt |
Beta Was this translation helpful? Give feedback.
-
Topic Selection Agent prompt
|
Beta Was this translation helpful? Give feedback.
-
Writer AgentWrite a 5,000+ word long blog article on {topic}, for positivemed.com, their vision is: {VISION} in a healthy and conversational and friendly manner, imagine if Mary Poppins we're writing, be nice and reference research papers and other data where you pull from. You don't have a word limit, you can write as you wish.
|
Beta Was this translation helpful? Give feedback.
-
Generate topics for PositiveMed.com:
Use this framework to generate a list of potential topics that cater to PositiveMed's audience while staying true to its brand ethos. |
Beta Was this translation helpful? Give feedback.
-
PIPELINE draft = """# MISSION
Your mission is to draft a professional and compelling Blog Post for the following topic:
{{TOPIC}}
BE VERY CREATIVE, FOCUSED, INFORMATIVE AND ANALYTICAL.
Try to adopt a more neutral tone that focuses on presenting information and analysis without excessive embellishment.
Understand the purpose and functionality of the topic in the context of our theme: {{THEME}}
# STEP 1: Provide an overview and introduction
Open with a compelling hook - some kind of problem, assertion, or story entry point.
# STEP 2: Write the body of the blog post
Organize your main points and supporting information. Make use of well-organized sections with clear and concise headings that guide the reader through the content.
Ensure the content flows well and makes the reader wanting more. Use simple language to make concepts more direct and clear.
# STEP 3: Conclude the narrative, helping the reader to see the bigger picture.
Make them reflect on how the topic influences, integrates, and innovates within the theme. Evoke curiosity and a desire to explore the topic further, creating a lasting impression that encourages the reader to engage with the content.
# GENERAL PRINCIPLES
Aim for the story style Blog post rather than the emoji filled lists. Make sure you have a centrally organizing narrative or throughline, and make sure you end with either a call to action or a clear and concise point. What is the key takeaway?"""
review ="""# MISSION
You are responsible for refining an article to meet PositiveMed’s stringent publication standards.
Your role involves content analysis, editorial precision, expert validation, legal verification, and overall quality assurance.
# ContentReview:
- Provide constructive feedback on outline and drafts content
- Collect input on strengths to leverage and areas needing improvement.
# Editor Review:
- Evaluate initial drafts for errors, gaps that require additional research.
- Provide guidance on better organizing structure and flow.
- Assess tone, voice and brand alignment.
# Expert Review:
- Ask medical experts related to article topic to validate accuracy of information.
- Verify advice follows ethical guidelines accepted by the medical community.
- Request quotes that lend credibility and reinforce key points.
# Legal Review:
- Confirm content meets regulatory standards for health claims and liability risks.
- Address any recommended edits to mitigate brand reputation risk.
# Quality Checklist: Scrutinize final draft against PositiveMed's standards:
- Medical accuracy - error-free facts/statistics, supported claims
- Logical flow - smooth transitions, complementary sections
- Reader value - insightful analysis beyond fluffy content
- Brand alignment - uplifting tone, inclusive messaging
- Strong conclusion - memorable takeaways, relevant next steps/resources for readers
### ARTICLE TO REVIEW ###
{{ARTICLE}}"""
def getDraftPrompt(topic, theme):
prompt = draft.replace("{{TOPIC}}", topic).replace("{{THEME}}", theme)
return prompt
def getReviewPrompt(article):
prompt = draft.replace("{{ARTICLE}}", article)
return prompt from swarms.models.openai_models import OpenAIChat
import PosMedPrompts
openai = OpenAIChat(openai_api_key="sk-j5YK1mKNgbLDVkiiPk5txY0WIDi")
draft = openai(PosMedPrompts.getDraftPrompt("The importance of mental health", "Pyschology"))
review = openai(PosMedPrompts.getReviewPrompt(draft))
print(draft)
print(review) |
Beta Was this translation helpful? Give feedback.
-
New agent system: [Added Research Agent]
|
Beta Was this translation helpful? Give feedback.
-
And, Nima just said this: “And the 6th one is integration with Facebook. Social media in general. “ We need to finish the demo tonight so we can show it to him on monday and sign the deal, do you understand? |
Beta Was this translation helpful? Give feedback.
-
Prototype IterationTopic selection agent -> draft agent -> review agent -> distribution agent Topic Selection Agent:
Draft Agent:
Review Agent:
Distribution Agent:
TODO
|
Beta Was this translation helpful? Give feedback.
-
Positive Med
CUSTOMER: positivemed.com
Service Name: AutoBlogGen by Swarm Corp
Demo: A sequential 5 agent pipeline that sources topics -> writes the blog -> analyzes the blog for grammatical issues -> generates images -> then publishses it automatically!
Beta Was this translation helpful? Give feedback.
All reactions