Spaces:
Sleeping
Sleeping
Update phase2_agents.py
Browse files- phase2_agents.py +2 -2
phase2_agents.py
CHANGED
|
@@ -27,7 +27,7 @@ industry_trends_agent = Agent(
|
|
| 27 |
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.
|
| 31 |
return {"industry": industry, "trends": response.content}
|
| 32 |
|
| 33 |
|
|
@@ -46,5 +46,5 @@ ai_use_case_agent = Agent(
|
|
| 46 |
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.
|
| 50 |
return {"industry": industry, "use_cases": response.content}
|
|
|
|
| 27 |
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.run(query)
|
| 31 |
return {"industry": industry, "trends": response.content}
|
| 32 |
|
| 33 |
|
|
|
|
| 46 |
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.run(query)
|
| 50 |
return {"industry": industry, "use_cases": response.content}
|