CryptoScoutv1 commited on
Commit
a535fe4
·
verified ·
1 Parent(s): 7c10474

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
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"Perform in-depth analysis on cryptocurrency - {crypto_symbol}, focusing on market outlook, investment strategies, technical/trade signals, and risks.",
 
 
 
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=[WebSearchTools().forecast_search, WebSearchTools().process_search_results],
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=[WebSearchTools().pricetargets_search, WebSearchTools().process_search_results, duckduckgo_search_tool],
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=[WebSearchTools().technicalsignals_search, WebSearchTools().process_search_results],
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