Update README.md

Fix the 'SyntaxError: invalid syntax. Perhaps you forgot a comma?' error in this code
This commit is contained in:
LiuYongFeng
2023-12-22 11:35:06 +08:00
committed by GitHub
parent 2bd15411da
commit c01abc9567

View File

@@ -38,7 +38,7 @@ researcher = Agent(
role='Researcher', role='Researcher',
goal='Discover new insights', goal='Discover new insights',
backstory="You're a world class researcher working on a major data science company", backstory="You're a world class researcher working on a major data science company",
verbose=True verbose=True,
allow_delegation=False allow_delegation=False
# llm=OpenAI(temperature=0.7, model_name="gpt-4"). It uses langchain.chat_models, default is GPT4 # llm=OpenAI(temperature=0.7, model_name="gpt-4"). It uses langchain.chat_models, default is GPT4
) )
@@ -46,7 +46,7 @@ writer = Agent(
role='Writer', role='Writer',
goal='Create engaging content', goal='Create engaging content',
backstory="You're a famous technical writer, specialized on writing data related content", backstory="You're a famous technical writer, specialized on writing data related content",
verbose=True verbose=True,
allow_delegation=False allow_delegation=False
) )