Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ class ProjectScopingTool(Tool):
|
|
15 |
"""
|
16 |
Handles project scoping by collecting key details such as type, domain, budget, and timeline.
|
17 |
"""
|
18 |
-
def __init__
|
|
|
19 |
self.project_details = {
|
20 |
"type": None,
|
21 |
"domain"
|
@@ -112,11 +113,11 @@ class MeetingPreparationTool(Tool):
|
|
112 |
return json.dumps(agendas.get(project_stage, "No agenda found for this stage"), indent=2)
|
113 |
|
114 |
# Instantiate tools
|
115 |
-
scoping_tool = ProjectScopingTool()
|
116 |
-
tech_arch_tool = TechnicalArchitectureTool()
|
117 |
-
cost_tool = CostEstimationTool()
|
118 |
-
deploy_tool = DeploymentTool()
|
119 |
-
meeting_tool = MeetingPreparationTool()
|
120 |
|
121 |
# Define the agent
|
122 |
tools = [
|
|
|
15 |
"""
|
16 |
Handles project scoping by collecting key details such as type, domain, budget, and timeline.
|
17 |
"""
|
18 |
+
def __init__
|
19 |
+
(self):
|
20 |
self.project_details = {
|
21 |
"type": None,
|
22 |
"domain"
|
|
|
113 |
return json.dumps(agendas.get(project_stage, "No agenda found for this stage"), indent=2)
|
114 |
|
115 |
# Instantiate tools
|
116 |
+
scoping_tool = ProjectScopingTool(description ="Handles project scoping by collecting key details such as type, domain, budget, and timeline.")
|
117 |
+
tech_arch_tool = TechnicalArchitectureTool(description="Determines the appropriate technical architecture based on the project type.")
|
118 |
+
cost_tool = CostEstimationTool(description="Estimates the cost based on the architecture complexity and timeline.")
|
119 |
+
deploy_tool = DeploymentTool(description="Suggests a deployment strategy based on best practices.")
|
120 |
+
meeting_tool = MeetingPreparationTool(description=" Provides meeting agendas depending on the project stage.")
|
121 |
|
122 |
# Define the agent
|
123 |
tools = [
|