From c4d76cde8f6477474a69a33ad9b50d1fde8c179c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Sat, 22 Jun 2024 19:49:50 -0300 Subject: [PATCH] updating docs --- docs/core-concepts/Crews.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/core-concepts/Crews.md b/docs/core-concepts/Crews.md index 9266450ba..54fe8a0e2 100644 --- a/docs/core-concepts/Crews.md +++ b/docs/core-concepts/Crews.md @@ -138,16 +138,19 @@ result = my_crew.kickoff() print(result) # Example of using kickoff_for_each -results = my_crew.kickoff_for_each() +inputs_array = [{'topic': 'AI in healthcare'}, {'topic': 'AI in finance'}] +results = my_crew.kickoff_for_each(inputs=inputs_array) for result in results: print(result) # Example of using kickoff_async -async_result = my_crew.kickoff_async() +inputs = {'topic': 'AI in healthcare'} +async_result = my_crew.kickoff_async(inputs=inputs) print(async_result) # Example of using kickoff_for_each_async -async_results = my_crew.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) ```