From 067cdab2ee4934dd7766f5444d1c9dacd5da49b9 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 4 Jul 2023 13:53:14 -0400 Subject: [PATCH] clean up --- README.md | 4 ++-- .../Agora-Banner-blend.png | Bin swarms.png => images/swarms.png | Bin swarms_example.py => playground/swarms_example.py | 2 +- worker_example.py | 7 ------- 5 files changed, 3 insertions(+), 10 deletions(-) rename Agora-Banner-blend.png => images/Agora-Banner-blend.png (100%) rename swarms.png => images/swarms.png (100%) rename swarms_example.py => playground/swarms_example.py (82%) delete mode 100644 worker_example.py diff --git a/README.md b/README.md index 30ae90d5..88c7272c 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Agora -![Agora banner](Agora-Banner-blend.png) +![Agora banner](images/Agora-Banner-blend.png) [Swarms is brought to you by Agora, the open source AI research organization. Join Agora and Help create swarms and or recieve support to advance Humanity. ](https://discord.gg/qUtxnK2NMf) # Swarming Language Models (Swarms) -![Swarming banner](swarms.png) +![Swarming banner](images/swarms.png) [![Share on Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Share%20%40kyegomez/swarms)](https://twitter.com/intent/tweet?text=Check%20out%20this%20amazing%20AI%20project:%20&url=https%3A%2F%2Fgithub.com%2Fkyegomez%2Fswarms) diff --git a/Agora-Banner-blend.png b/images/Agora-Banner-blend.png similarity index 100% rename from Agora-Banner-blend.png rename to images/Agora-Banner-blend.png diff --git a/swarms.png b/images/swarms.png similarity index 100% rename from swarms.png rename to images/swarms.png diff --git a/swarms_example.py b/playground/swarms_example.py similarity index 82% rename from swarms_example.py rename to playground/swarms_example.py index eec6ba34..f3a9c99a 100644 --- a/swarms_example.py +++ b/playground/swarms_example.py @@ -2,7 +2,7 @@ from swarms import Swarms import os # Retrieve your API key from the environment or replace with your actual key -api_key = os.getenv("OPENAI_API_KEY") +api_key = "" # Initialize Swarms with your API key swarm = Swarms(api_key) diff --git a/worker_example.py b/worker_example.py deleted file mode 100644 index 75a8404c..00000000 --- a/worker_example.py +++ /dev/null @@ -1,7 +0,0 @@ -from swarms import worker_node - -#cretae an agent -worker_node.create_agent(ai_name="Workerx", ai_role="Assistant", human_in_the_loop=True, search_kwargs={"k": 8}) - -#use the agent to perform a task -worker_node.run_agent("Find 20 potential customers for a Swarms based AI Agent automation infrastructure")