diff --git a/playground/worker_auto.py b/playground/worker_auto.py new file mode 100644 index 00000000..3b7e0c16 --- /dev/null +++ b/playground/worker_auto.py @@ -0,0 +1,15 @@ +from swarms import worker_node + +# Your OpenAI API key +api_key = "sksdsds" + +# Initialize a WorkerNode with your API key +node = worker_node(api_key) + +# Define an objective +objective = "Please make a web GUI for using HTTP API server..." + +# Run the task +task = node.run(objective) + +print(task)