Update crew.py
Browse files
crew.py
CHANGED
@@ -340,8 +340,7 @@ def run_crew(question, file_path):
|
|
340 |
|
341 |
document_analysis_agent = Agent(
|
342 |
role="Document Analysis Agent",
|
343 |
-
goal="Given a question and document file, analyze the document and answer the question: {question}
|
344 |
-
"If the question refers to a file, ignore this part, the file data are provided here:",
|
345 |
backstory="As an expert document analysis assistant, you analyze the document to answer the question.",
|
346 |
allow_delegation=False,
|
347 |
llm=AGENT_MODEL,
|
|
|
340 |
|
341 |
document_analysis_agent = Agent(
|
342 |
role="Document Analysis Agent",
|
343 |
+
goal="Given a question and document file, analyze the document and answer the question: {question}",
|
|
|
344 |
backstory="As an expert document analysis assistant, you analyze the document to answer the question.",
|
345 |
allow_delegation=False,
|
346 |
llm=AGENT_MODEL,
|