I am trying to use the full_output attribute of crew to include output from all my tasks in the final output but I am only receiving the last task output.
from crewai import Agent,Crew,Process,Task,LLM
from crewai.project import CrewBase, agent, crew, task
from src.types import Summaries, ActionItems, FollowUps, Ideas
@CrewBase
class Insights:
agents_config = 'config/agents.yaml'
tasks_config = 'config/tasks.yaml'
@agent
def meeting_summarizer(self) -> Agent:
return Agent(
config=self.agents_config['meeting_summarizer'],
verbose=True
)
@agent
def meeting_note_taker(self ) -> Agent:
return Agent(
config=self.agents_config['meeting_note_taker'],
verbose=True
)
@agent
def meeting_analyzer(self ) -> Agent:
return Agent(
config=self.agents_config['meeting_analyzer'],
verbose=True,
)
@agent
def meeting_follower(self ) -> Agent:
return Agent(
config=self.agents_config['meeting_follower'],
verbose=True
)
@agent
def meeting_ideas(self) -> Agent:
return Agent(
config=self.agents_config['meeting_ideas'],
verbose=True
)
@task
def summarize_meeting(self) -> Task:
return Task(
config=self.tasks_config['summarize_meeting'],
output_json=Summaries,
)
@task
def analyze_notes(self) -> Task:
return Task(
config=self.tasks_config['analyze_notes'],
)
@task
def analyze_action_items(self) -> Task:
return Task(
config=self.tasks_config['analyze_action_items'],
output_json=ActionItems,
)
@task
def analyze_followup(self) -> Task:
return Task(
config=self.tasks_config['analyze_followup'],
output_json=FollowUps,
)
@task
def analyze_ideas(self) -> Task:
return Task(
config=self.tasks_config['analyze_ideas'],
output_json=Ideas,
)
@crew
def crew(self) -> Crew:
return Crew(
agents=self.agents,
tasks=self.tasks,
process=Process.sequential,
full_output=True,
memory=True,
verbose=True,
output_log_file="log.txt",
embedder={
"provider": "ollama",
"config": {
"model": "nomic-embed-text"
}
},
cache=False
)
Please find attached screenshot which shows full_output as unexpected argument