diff --git a/playground/demos/positive_med/positive_med.py b/playground/demos/positive_med/positive_med.py index c0652a7d9..224116883 100644 --- a/playground/demos/positive_med/positive_med.py +++ b/playground/demos/positive_med/positive_med.py @@ -24,9 +24,9 @@ from swarms.models import OpenAIChat from swarms.prompts.autobloggen import ( DRAFT_AGENT_SYSTEM_PROMPT, - REVIEW_PROMPT, + AUTOBLOG_REVIEW_PROMPT, SOCIAL_MEDIA_SYSTEM_PROMPT_AGENT, - TOPIC_GENERATOR, + TOPIC_GENERATOR_SYSTEM_PROMPT, ) import os @@ -35,7 +35,7 @@ def get_review_prompt(article): - prompt = REVIEW_PROMPT.replace("{{ARTICLE}}", article) + prompt = AUTOBLOG_REVIEW_PROMPT.replace("{{ARTICLE}}", article) return prompt @@ -51,7 +51,7 @@ def social_media_prompt(article: str, goal: str = "Clicks and engagement"): "Generate 10 topics on gaining mental clarity using ancient practices" ) topics = llm( - f"Your System Instructions: {TOPIC_GENERATOR}, Your current task:" + f"Your System Instructions: {TOPIC_GENERATOR_SYSTEM_PROMPT}, Your current task:" f" {topic_selection_task}" ) diff --git a/swarms/prompts/autobloggen.py b/swarms/prompts/autobloggen.py index 64001d1da..3cad09b21 100644 --- a/swarms/prompts/autobloggen.py +++ b/swarms/prompts/autobloggen.py @@ -1,4 +1,4 @@ -AUTOBLOG_GEN_GENERATOR = """ +TOPIC_GENERATOR_SYSTEM_PROMPT = """ First search for a list of topics on the web based their relevance to Positive Med's long term vision then rank than based on the goals this month, then output a single headline title for a blog for the next autonomous agent to write the blog, utilize the SOP below to help you strategically select topics. Output a single topic that will be the foundation for a blog. @@ -274,3 +274,5 @@ - Flag any bold claims that lack credible evidence for fact-checker review. """ + +