pull/55/head
Kye 1 year ago
parent 00460ccf96
commit f2f5f79dc7

@ -9,15 +9,3 @@ node = Worker(
task = "What were the winning boston marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times."
response = node.run(task)
print(response)
# from swarms import Workflow
# from swarms.tools.autogpt import ChatOpenAI
# workflow = Workflow(ChatOpenAI)
# workflow.add("What's the weather in miami")
# workflow.add("Provide details for {{ parent_output }}")
# workflow.add("Summarize the above information: {{ parent_output}}")
# workflow.run()

@ -0,0 +1,11 @@
from swarms import Workflow
from swarms.tools.autogpt import ChatOpenAI
workflow = Workflow(ChatOpenAI)
workflow.add("What's the weather in miami")
workflow.add("Provide details for {{ parent_output }}")
workflow.add("Summarize the above information: {{ parent_output}}")
workflow.run()
Loading…
Cancel
Save