Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,10 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
| 37 |
|
| 38 |
research_agent = Agent(
|
| 39 |
role="Crypto Analysis Expert",
|
| 40 |
-
goal=f"
|
|
|
|
|
|
|
|
|
|
| 41 |
backstory="Expert in technical analysis, market sentiment, and investment strategy for cryptocurrencies.",
|
| 42 |
verbose=True,
|
| 43 |
allow_delegation=False,
|
|
@@ -49,7 +52,7 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
| 49 |
# Task 1: Market Outlook
|
| 50 |
market_outlook_t0 = Task(
|
| 51 |
description=f"Research cryptocurrency - {crypto_symbol} focus on 2024 and beyond price trends, including timeline of price targets, price action, and short, medium, long term predictions.",
|
| 52 |
-
tools=[
|
| 53 |
agent=research_agent,
|
| 54 |
)
|
| 55 |
# Task 1: Market Outlook
|
|
@@ -64,7 +67,7 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
| 64 |
investment_strategies_t2 = Task(
|
| 65 |
description=f"Using the search tools avaliable, develop investment strategies for {crypto_symbol}, including price levels to buy/sell/hold based on current market analysis and or recent support and resistance level.",
|
| 66 |
expected_output="Summary of important information and data focusing on any numbers or metrics. Final Ouput strictly equal to or less than 550 chars.",
|
| 67 |
-
tools=[
|
| 68 |
agent=research_agent,
|
| 69 |
)
|
| 70 |
|
|
@@ -75,7 +78,7 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
| 75 |
and type of indicator like moving averages, RSI, MACD, or other related signars if present during search.
|
| 76 |
note - Use only the crypto symbol to perfom your search""",
|
| 77 |
expected_output="Summary of information highlighting metrics or numbers if present. Final Ouput strictly equal to or less than 600 chars.",
|
| 78 |
-
tools=[
|
| 79 |
agent=research_agent,
|
| 80 |
)
|
| 81 |
|
|
|
|
| 37 |
|
| 38 |
research_agent = Agent(
|
| 39 |
role="Crypto Analysis Expert",
|
| 40 |
+
goal=f"""
|
| 41 |
+
Perform in-depth market analysis on cryptocurrency - {crypto_symbol}, focusing on market outlook, investment strategies, technical/trade signals, and risks.
|
| 42 |
+
Note: Always use the process tool after the search to get futher data.
|
| 43 |
+
""",
|
| 44 |
backstory="Expert in technical analysis, market sentiment, and investment strategy for cryptocurrencies.",
|
| 45 |
verbose=True,
|
| 46 |
allow_delegation=False,
|
|
|
|
| 52 |
# Task 1: Market Outlook
|
| 53 |
market_outlook_t0 = Task(
|
| 54 |
description=f"Research cryptocurrency - {crypto_symbol} focus on 2024 and beyond price trends, including timeline of price targets, price action, and short, medium, long term predictions.",
|
| 55 |
+
tools=[search.forecast_search, process],
|
| 56 |
agent=research_agent,
|
| 57 |
)
|
| 58 |
# Task 1: Market Outlook
|
|
|
|
| 67 |
investment_strategies_t2 = Task(
|
| 68 |
description=f"Using the search tools avaliable, develop investment strategies for {crypto_symbol}, including price levels to buy/sell/hold based on current market analysis and or recent support and resistance level.",
|
| 69 |
expected_output="Summary of important information and data focusing on any numbers or metrics. Final Ouput strictly equal to or less than 550 chars.",
|
| 70 |
+
tools=[search.pricetargets_search, process],
|
| 71 |
agent=research_agent,
|
| 72 |
)
|
| 73 |
|
|
|
|
| 78 |
and type of indicator like moving averages, RSI, MACD, or other related signars if present during search.
|
| 79 |
note - Use only the crypto symbol to perfom your search""",
|
| 80 |
expected_output="Summary of information highlighting metrics or numbers if present. Final Ouput strictly equal to or less than 600 chars.",
|
| 81 |
+
tools=[search.technicalsignals_search, process],
|
| 82 |
agent=research_agent,
|
| 83 |
)
|
| 84 |
|