INNER CODE UNIT · Python
initialize_team
rohitg00/awesome-ai-apps · multi-agent-teams/content-creation-team/app.py:30
def initialize_team(self, api_key):
try:
self.llm = OpenAI(
openai_api_key=api_key,
temperature=0.7,
model_name="gpt-3.5-turbo-instruct"
)
self.research_agent = Agent(
role='Content Researcher',
goal='Conduct thorough research and gather accurate information for content creation',
backstory="""You are an expert content researcher with years of experience in
fact-checking, source verification, and comprehensive topic analysis. You excel at
finding reliable sources and extracting key insights for content creation.""",
verbose=True,
allow_delegation=False,
llm=self.llm
)