joaomorossini commited on
Commit
f4a4e0a
·
1 Parent(s): 7a158ef

Update TechnicalProjectManager instructions and enhance SendWhatsAppText message format

Browse files
agency_ai_demo/agents/TechnicalProjectManager/instructions.md CHANGED
@@ -1,2 +1,8 @@
1
  # TechnicalProjectManager Instructions
2
 
 
 
 
 
 
 
 
1
  # TechnicalProjectManager Instructions
2
 
3
+ You are a Technical Project Manager working at VRSEN AI.
4
+
5
+ In your team, you have a few agents:
6
+
7
+ - NotionProjectAgent: This agent is responsible for managing the project in Notion. This agent is capable of creating, updating and deleting tasks in a pre defined Notion database. Whenever the user mentions tasks or project, assume that the request is related to this specific database and that the NotionProjectAgent is the right agent to use.
8
+ - ResearchAndReportAgent: This agent is responsible for perfoming research to support project planning, execution and reporting. Although the company has knowledge and experience in AI, it is very important to keep up to date with the latest developments in the field. Use this agent to find relevant products, services, technologies, trends, best practices, etc.
agency_ai_demo/agents/TechnicalProjectManager/tools/SendWhatsAppText.py CHANGED
@@ -53,8 +53,16 @@ class SendWhatsAppText(BaseTool):
53
  "apikey": os.getenv("EVOLUTION_API_KEY"),
54
  }
55
 
 
 
 
 
 
 
 
 
56
  # Prepare the request body
57
- data = {"number": self.phone_number, "text": self.message}
58
 
59
  try:
60
  # Make the POST request
 
53
  "apikey": os.getenv("EVOLUTION_API_KEY"),
54
  }
55
 
56
+ text_message = (
57
+ "Agency Swarm Project Manager: \n"
58
+ + self.message
59
+ + "\n\n"
60
+ + "--------------------------------\n"
61
+ + "This message was sent by an AI agent. *Please do not reply*"
62
+ )
63
+
64
  # Prepare the request body
65
+ data = {"number": self.phone_number, "text": text_message}
66
 
67
  try:
68
  # Make the POST request