Spaces:
Running
Running
Diego Carpintero
commited on
Commit
•
1057d18
1
Parent(s):
edfeb78
refactor
Browse files- minerva.py +3 -4
minerva.py
CHANGED
@@ -15,13 +15,12 @@ from tools import Tools
|
|
15 |
|
16 |
class Minerva:
|
17 |
"""
|
18 |
-
AI Guardian for Scam Protection using
|
19 |
-
to identify scam attempts and provide personalized scam prevention.
|
20 |
"""
|
21 |
|
22 |
def __init__(self, config_path: str = "config/agents.yaml"):
|
23 |
"""
|
24 |
-
Initialize Minerva with
|
25 |
"""
|
26 |
self.load_environment()
|
27 |
self.model = self.initialize_model()
|
@@ -47,7 +46,7 @@ class Minerva:
|
|
47 |
)
|
48 |
|
49 |
def create_agents(self) -> List[AssistantAgent]:
|
50 |
-
"""Create all required agents with their specialized roles"""
|
51 |
|
52 |
ocr_tool = FunctionTool(
|
53 |
self.tools.ocr,
|
|
|
15 |
|
16 |
class Minerva:
|
17 |
"""
|
18 |
+
AI Guardian for Scam Protection using an Agentic Workflow
|
|
|
19 |
"""
|
20 |
|
21 |
def __init__(self, config_path: str = "config/agents.yaml"):
|
22 |
"""
|
23 |
+
Initialize Minerva with agents and tools
|
24 |
"""
|
25 |
self.load_environment()
|
26 |
self.model = self.initialize_model()
|
|
|
46 |
)
|
47 |
|
48 |
def create_agents(self) -> List[AssistantAgent]:
|
49 |
+
"""Create all required agents with their specialized roles and tools"""
|
50 |
|
51 |
ocr_tool = FunctionTool(
|
52 |
self.tools.ocr,
|