Update app.py
Browse files
app.py
CHANGED
@@ -87,13 +87,15 @@ def kickoff_crew(topic: str) -> dict:
|
|
87 |
cohere_api_key=cohere_api_key,
|
88 |
model="command-r-plus"
|
89 |
)
|
|
|
|
|
90 |
|
91 |
# Define Agents with Groq LLM
|
92 |
researcher = Agent(
|
93 |
role='Researcher',
|
94 |
goal='Collect detailed information on {topic}',
|
95 |
tools=[search_results, web_scrapper],
|
96 |
-
llm=
|
97 |
backstory=(
|
98 |
"As a diligent researcher, you explore the depths of the internet to "
|
99 |
"unearth crucial information and insights on the assigned topics. "
|
@@ -112,7 +114,7 @@ def kickoff_crew(topic: str) -> dict:
|
|
112 |
editor = Agent(
|
113 |
role='Editor',
|
114 |
goal='Compile and refine the information into a comprehensive report on {topic}',
|
115 |
-
llm=
|
116 |
backstory=(
|
117 |
"With a keen eye for detail and a strong command of language, you transform "
|
118 |
"raw data into polished, insightful reports that are both informative and engaging. "
|
|
|
87 |
cohere_api_key=cohere_api_key,
|
88 |
model="command-r-plus"
|
89 |
)
|
90 |
+
|
91 |
+
selected_llm = groq_llm_70b
|
92 |
|
93 |
# Define Agents with Groq LLM
|
94 |
researcher = Agent(
|
95 |
role='Researcher',
|
96 |
goal='Collect detailed information on {topic}',
|
97 |
tools=[search_results, web_scrapper],
|
98 |
+
llm=selected_llm, # Assigning the Groq LLM here
|
99 |
backstory=(
|
100 |
"As a diligent researcher, you explore the depths of the internet to "
|
101 |
"unearth crucial information and insights on the assigned topics. "
|
|
|
114 |
editor = Agent(
|
115 |
role='Editor',
|
116 |
goal='Compile and refine the information into a comprehensive report on {topic}',
|
117 |
+
llm=selected_llm, # Assigning the Groq LLM here
|
118 |
backstory=(
|
119 |
"With a keen eye for detail and a strong command of language, you transform "
|
120 |
"raw data into polished, insightful reports that are both informative and engaging. "
|