Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def run_crew_ai(query):
|
|
| 24 |
researcher = Agent(
|
| 25 |
role='Researcher',
|
| 26 |
goal='Identify new and relevant cryptocurrencies based on user criteria using the internet tool',
|
| 27 |
-
backstory='As a Researcher, I am skilled in navigating the vast ocean of online information to discover emerging and promising cryptocurrencies.',
|
| 28 |
tools=[search_tool],
|
| 29 |
verbose=False,
|
| 30 |
allow_delegation=False,
|
|
@@ -33,7 +33,7 @@ def run_crew_ai(query):
|
|
| 33 |
|
| 34 |
info_gatherer = Agent(
|
| 35 |
role='Information Gatherer',
|
| 36 |
-
goal='Collect detailed information about the identified cryptocurrency using the search tool.',
|
| 37 |
backstory='My role as an Information Gatherer is to meticulously compile all relevant data about cryptocurrencies to aid in informed decision-making.',
|
| 38 |
tools=[search_tool],
|
| 39 |
verbose=False,
|
|
@@ -43,10 +43,10 @@ def run_crew_ai(query):
|
|
| 43 |
|
| 44 |
formatter = Agent(
|
| 45 |
role='Formatter',
|
| 46 |
-
goal='Structure all gathered information into a clear, concise format.',
|
| 47 |
backstory='As a Formatter, I excel in organizing complex information into a structured and easily understandable format for the end-user.',
|
| 48 |
verbose=False,
|
| 49 |
-
allow_delegation=
|
| 50 |
llm=llm2
|
| 51 |
)
|
| 52 |
|
|
|
|
| 24 |
researcher = Agent(
|
| 25 |
role='Researcher',
|
| 26 |
goal='Identify new and relevant cryptocurrencies based on user criteria using the internet tool',
|
| 27 |
+
backstory='As a Researcher, I am skilled in navigating the vast ocean of online information to discover emerging and promising cryptocurrencies..',
|
| 28 |
tools=[search_tool],
|
| 29 |
verbose=False,
|
| 30 |
allow_delegation=False,
|
|
|
|
| 33 |
|
| 34 |
info_gatherer = Agent(
|
| 35 |
role='Information Gatherer',
|
| 36 |
+
goal='Collect detailed information about the identified cryptocurrency using the search tool, Structure the query in your search to find the needed information and keep searching.',
|
| 37 |
backstory='My role as an Information Gatherer is to meticulously compile all relevant data about cryptocurrencies to aid in informed decision-making.',
|
| 38 |
tools=[search_tool],
|
| 39 |
verbose=False,
|
|
|
|
| 43 |
|
| 44 |
formatter = Agent(
|
| 45 |
role='Formatter',
|
| 46 |
+
goal='Structure all gathered information into a clear, concise format, if information is missing from the final format I will pass the task back to the info_gather agent.',
|
| 47 |
backstory='As a Formatter, I excel in organizing complex information into a structured and easily understandable format for the end-user.',
|
| 48 |
verbose=False,
|
| 49 |
+
allow_delegation=True,
|
| 50 |
llm=llm2
|
| 51 |
)
|
| 52 |
|