Spaces:
Sleeping
Sleeping
Update phase2_agents.py
Browse files- phase2_agents.py +2 -2
phase2_agents.py
CHANGED
|
@@ -28,7 +28,7 @@ def get_industry_trends(industry: str) -> dict:
|
|
| 28 |
""" Fetches the latest AI advancements, trends, and emerging technologies in a given industry. """
|
| 29 |
query = f"Find recent AI advancements in the {industry} sector, including major breakthroughs and adoption trends."
|
| 30 |
response = industry_trends_agent.print_response(query)
|
| 31 |
-
return {"industry": industry, "trends": response}
|
| 32 |
|
| 33 |
|
| 34 |
##################################
|
|
@@ -47,4 +47,4 @@ def get_ai_use_cases(industry: str) -> dict:
|
|
| 47 |
""" Identifies key AI use cases, automation improvements, and cost-saving innovations for an industry. """
|
| 48 |
query = f"Identify the most impactful AI use cases in the {industry} sector. Include real-world examples and benefits."
|
| 49 |
response = ai_use_case_agent.print_response(query)
|
| 50 |
-
return {"industry": industry, "use_cases": response}
|
|
|
|
| 28 |
""" Fetches the latest AI advancements, trends, and emerging technologies in a given industry. """
|
| 29 |
query = f"Find recent AI advancements in the {industry} sector, including major breakthroughs and adoption trends."
|
| 30 |
response = industry_trends_agent.print_response(query)
|
| 31 |
+
return {"industry": industry, "trends": response.content}
|
| 32 |
|
| 33 |
|
| 34 |
##################################
|
|
|
|
| 47 |
""" Identifies key AI use cases, automation improvements, and cost-saving innovations for an industry. """
|
| 48 |
query = f"Identify the most impactful AI use cases in the {industry} sector. Include real-world examples and benefits."
|
| 49 |
response = ai_use_case_agent.print_response(query)
|
| 50 |
+
return {"industry": industry, "use_cases": response.content}
|