updating docs

This commit is contained in:
João Moura
2024-06-22 19:49:50 -03:00
parent 9c44fd8c4a
commit c4d76cde8f

View File

@@ -138,16 +138,19 @@ result = my_crew.kickoff()
print(result) print(result)
# Example of using kickoff_for_each # 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: for result in results:
print(result) print(result)
# Example of using kickoff_async # 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) print(async_result)
# Example of using kickoff_for_each_async # 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: for async_result in async_results:
print(async_result) print(async_result)
``` ```