Spaces:
Running
Running
Diego Carpintero
commited on
Commit
·
254da27
1
Parent(s):
1c86f38
rename agent
Browse files- config/agents.yaml +3 -3
- minerva.py +3 -3
config/agents.yaml
CHANGED
@@ -6,9 +6,9 @@ ocr_agent:
|
|
6 |
3. Do not perform any analysis on the extracted text
|
7 |
4. Reply with the extracted text
|
8 |
|
9 |
-
|
10 |
assignment: >
|
11 |
-
You are a
|
12 |
1. Check the extracted text for any URLs
|
13 |
2. Verify the legitimacy of the URLs using your registered function
|
14 |
|
@@ -16,7 +16,7 @@ content_agent:
|
|
16 |
assignment: >
|
17 |
You are a content analysis specialist. Your role is to:
|
18 |
1. Analyze text for common scam patterns
|
19 |
-
2.
|
20 |
3. Identify urgency indicators, threats, or pressure tactics
|
21 |
5. Check for inconsistencies in messaging
|
22 |
6. Evaluate legitimacy of any claims or offers
|
|
|
6 |
3. Do not perform any analysis on the extracted text
|
7 |
4. Reply with the extracted text
|
8 |
|
9 |
+
link_checker_agent:
|
10 |
assignment: >
|
11 |
+
You are a Link checker. Your role is to:
|
12 |
1. Check the extracted text for any URLs
|
13 |
2. Verify the legitimacy of the URLs using your registered function
|
14 |
|
|
|
16 |
assignment: >
|
17 |
You are a content analysis specialist. Your role is to:
|
18 |
1. Analyze text for common scam patterns
|
19 |
+
2. If available, analyze the results of the URL check: look for any flag related to Malware, Phishing, and Social Engineering.
|
20 |
3. Identify urgency indicators, threats, or pressure tactics
|
21 |
5. Check for inconsistencies in messaging
|
22 |
6. Evaluate legitimacy of any claims or offers
|
minerva.py
CHANGED
@@ -68,9 +68,9 @@ class Minerva:
|
|
68 |
))
|
69 |
|
70 |
agents.append(AssistantAgent(
|
71 |
-
name="
|
72 |
-
description="Checks if a
|
73 |
-
system_message=self.config['
|
74 |
model_client=self.model,
|
75 |
tools=[url_checker_tool]
|
76 |
))
|
|
|
68 |
))
|
69 |
|
70 |
agents.append(AssistantAgent(
|
71 |
+
name="Link_Checker",
|
72 |
+
description="Checks if a Link is safe",
|
73 |
+
system_message=self.config['link_checker_agent']['assignment'],
|
74 |
model_client=self.model,
|
75 |
tools=[url_checker_tool]
|
76 |
))
|