crew.kickoff_async_for_each(input_array) - is there a way to get the input array in each async_result? #1300
Unanswered
jai-bhatia-dm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
In the example below, is there a way to get the input used to generate each async_result? This will help speed up workflow where in the input can be easily linked back to the output of the crew. I was not able to find any way other than asking the crew to include fields that help identify the input (prone to failure at times!)
Example of using kickoff_for_each_async
inputs_array = [{'topic': 'AI in healthcare'}, {'topic': 'AI in finance'}]
async_results = my_crew.kickoff_for_each_async(inputs=inputs_array)
for async_result in async_results:
print(async_result)
Beta Was this translation helpful? Give feedback.
All reactions