crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

Is it possible to get the results of the intermediary steps?

Open fkesheh opened this issue 1 year ago • 0 comments

Let's suppose a sequence of tasks like this one:


# Define Tasks
task_read = Task(
    description='Read the provided arXiv article and understand its content. The articleUrl is https://arxiv.org/pdf/2205.15023.pdf',
    agent=read_article_agent
)

task_summary = Task(
    description='Summarize the article in a comprehensive manner.',
    agent=summary_agent
)

task_conclusion = Task(
    description='Explain the conclusions of the article.',
    agent=conclusion_agent
)

task_analysis = Task(
    description='Analyze the practical implications of the article.',
    agent=analysis_agent
)

task_tweet = Task(
    description='Create a tweet summarizing the essence of the article.',
    agent=tweet_creator_agent
)

It would be useful if I could get each step output in an array, so I can have the the summary, tweet, conclusions, etc.

fkesheh avatar Jan 17 '24 05:01 fkesheh