CryptoScoutv1 commited on
Commit
52983e1
·
verified ·
1 Parent(s): eb5a66d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -35,7 +35,7 @@ def create_crewai_crypto_setup(crypto_symbol):
35
  research_agent = Agent(
36
  role="Crypto Analysis Expert",
37
  goal=f"""
38
- Perform market analysis on cryptocurrency, your job is search, research and generate a report based on the clients prompts.
39
  NOTE - Make sure the report is clear, concise and professional with actionable advice and provide any relavant metrics / information.
40
  Ensure that you focus your search and research on the cryptocurrency symbol/name provided in the prompt along with the scope of or details the client wants.
41
 
@@ -45,7 +45,7 @@ def create_crewai_crypto_setup(crypto_symbol):
45
  """,
46
  backstory="Expert in technical analysis, market sentiment, and investment strategy for cryptocurrencies.",
47
  verbose=True,
48
- allow_delegation=False,
49
  tools=[duckduckgo_search_tool],
50
  llm=llm,
51
  )
@@ -94,11 +94,14 @@ def create_crewai_crypto_setup(crypto_symbol):
94
 
95
  Summary_t3 = Task(
96
  description=f""""
97
- Organize the data into a report format that focuses on the clients prompt. Focus on the clients prompt and remove irelavant information.
98
  Make sure to perform quality control on the final output, double check any current price using the search tool.
 
99
  ** NOTE **
100
- - Any current price or marketcap data should be converted to appprox values.
101
  - Remove any disclaimers or warnings regarding trade risk.
 
 
102
  """,
103
  agent=research_agent,
104
  )
 
35
  research_agent = Agent(
36
  role="Crypto Analysis Expert",
37
  goal=f"""
38
+ Perform market analysis on cryptocurrency, your job is search, research and generate a report based on the clients prompt.
39
  NOTE - Make sure the report is clear, concise and professional with actionable advice and provide any relavant metrics / information.
40
  Ensure that you focus your search and research on the cryptocurrency symbol/name provided in the prompt along with the scope of or details the client wants.
41
 
 
45
  """,
46
  backstory="Expert in technical analysis, market sentiment, and investment strategy for cryptocurrencies.",
47
  verbose=True,
48
+ allow_delegation=True,
49
  tools=[duckduckgo_search_tool],
50
  llm=llm,
51
  )
 
94
 
95
  Summary_t3 = Task(
96
  description=f""""
97
+ Organize the data into a report format that focuses on the clients prompt.
98
  Make sure to perform quality control on the final output, double check any current price using the search tool.
99
+
100
  ** NOTE **
101
+ - Any current price or marketcap data should be converted to appprox numbers.
102
  - Remove any disclaimers or warnings regarding trade risk.
103
+ - Remove irrelevant information.
104
+ - Use search tool if needed.
105
  """,
106
  agent=research_agent,
107
  )