Update app.py
Browse files
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
|
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=
|
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.
|
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
|
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 |
)
|