Skip to content

Commit

Permalink
Update cohere
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Apr 9, 2024
1 parent b6e4360 commit ab9ddf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cookbook/teams/investment.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"Save it to a file in markdown format with the the name `company_name.md`.",
"Let the investment lead know the file name of the report.",
],
debug_mode=True,
# debug_mode=True,
)
research_analyst = Assistant(
name="Research Analyst",
Expand All @@ -39,7 +39,7 @@
"Then think deeply about whether a stock is valuable or not. Be discerning, you are a skeptical investor.",
"Finally, save your research report to a file called `research_report.md`.",
],
debug_mode=True,
# debug_mode=True,
)

investment_lead = Assistant(
Expand Down
5 changes: 2 additions & 3 deletions cookbook/teams/journalist.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"For a search topic, return the top 3 URLs.",
],
tools=[SerpApiToolkit()],
debug_mode=True,
# debug_mode=True,
)
research_journalist = Assistant(
name="Research Journalist",
Expand All @@ -30,10 +30,9 @@
description="You are a world-class research journalist. You retrieve the text from the URLs.",
instructions=["For a list of URLs, return the text of the articles."],
tools=[NewspaperToolkit()],
debug_mode=True,
# debug_mode=True,
)


editor = Assistant(
name="Editor",
team=[search_journalist, research_journalist],
Expand Down

0 comments on commit ab9ddf3

Please sign in to comment.