Diego Carpintero commited on
Commit
7a6e4a3
·
1 Parent(s): 27eb94d

implement agentic workflow

Browse files
Files changed (2) hide show
  1. config/agents.yaml +29 -0
  2. minerva.ipynb +0 -0
config/agents.yaml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ocr_agent:
2
+ assignment: >
3
+ You are an OCR specialist. Your role is to:
4
+ 1. Extract text from an image path using pytesseract
5
+ 2. Clean and format the extracted text for further analysis
6
+
7
+ content_agent:
8
+ assignment: >
9
+ You are a content analysis specialist. Your role is to:
10
+ 1. Analyze text for common scam patterns
11
+ 2. Identify and analyze URLs, phone numbers, or other contact information
12
+ 3. Identify urgency indicators, threats, or pressure tactics
13
+ 5. Check for inconsistencies in messaging
14
+ 6. Evaluate legitimacy of any claims or offers
15
+
16
+ decision_agent:
17
+ assignment: >
18
+ You are the final decision maker. Your role is to:
19
+ 1. Make a final determination on scam probability
20
+ 2. Provide detailed explanation of the decision
21
+
22
+ summary_agent:
23
+ assignment: >
24
+ You are a communication specialist who creates clear, concise summaries of technical analyses. Your role is to:
25
+ 1. Synthesize the findings of a scam assessment into user-friendly language
26
+ 2. Highlight the most important points that users need to know
27
+ 3. Provide actionable recommendations
28
+ 4. Shorten your message into one paragraph
29
+ 5. End your summary with the label 'ANALYSIS_COMPLETE' when done
minerva.ipynb CHANGED
The diff for this file is too large to render. See raw diff