From 3c73261c7c4f7deb7498a42954e535d40a1506d2 Mon Sep 17 00:00:00 2001 From: Kye Gomez Date: Sat, 15 Jun 2024 14:35:32 -0700 Subject: [PATCH] [CLEANUP] --- docs/community/ecosystem.md | 70 ------------------- docs/mkdocs.yml | 6 +- docs/swarms/framework/index.md | 0 .../structs/search_arena/search_agents.py | 4 +- 4 files changed, 4 insertions(+), 76 deletions(-) delete mode 100644 docs/community/ecosystem.md create mode 100644 docs/swarms/framework/index.md diff --git a/docs/community/ecosystem.md b/docs/community/ecosystem.md deleted file mode 100644 index 18750f3b..00000000 --- a/docs/community/ecosystem.md +++ /dev/null @@ -1,70 +0,0 @@ - -# Swarm Ecosystem - -Welcome to the Swarm Ecosystem, a comprehensive suite of tools and frameworks designed to empower developers to orhestrate swarms of autonomous agents for a variety of applications. Dive into our ecosystem below: - -| Project | Description | Link | -| ------- | ----------- | ---- | -| **Swarms Framework** | A Python-based framework that enables the creation, deployment, and scaling of reliable swarms of autonomous agents aimed at automating complex workflows. | [Swarms Framework](https://github.com/kyegomez/swarms) | -| **Swarms Cloud** | A cloud-based service offering Swarms-as-a-Service with guaranteed 100% uptime, cutting-edge performance, and enterprise-grade reliability for seamless scaling and management of swarms. | [Swarms Cloud](https://github.com/kyegomez/swarms-core) | -| **Swarms Core** | Provides backend utilities focusing on concurrency, multi-threading, and advanced execution strategies, developed in Rust for maximum efficiency and performance. | [Swarms Core](https://github.com/kyegomez/swarms-core) | -| **Swarm Foundation Models** | A dedicated repository for the creation, optimization, and training of groundbreaking swarming models. Features innovative models like PSO with transformers, ant colony optimizations, and more, aiming to surpass traditional architectures like Transformers and SSMs. Open for community contributions and ideas. | [Swarm Foundation Models](https://github.com/kyegomez/swarms-pytorch) | -| **Swarm Platform** | The Swarms dashboard Platform | [Swarm Platform](https://swarms.world/) | -| **Swarms JS** | Swarms Framework in JS. Orchestrate any agents and enable multi-agent collaboration between various agents! | [Swarm JS](https://github.com/kyegomez/swarms-js) | - - - ----- - -## 🫶 Contributions: - -The easiest way to contribute is to pick any issue with the `good first issue` tag 💪. Read the Contributing guidelines [here](/CONTRIBUTING.md). Bug Report? [File here](https://github.com/swarms/gateway/issues) | Feature Request? [File here](https://github.com/swarms/gateway/issues) - -Swarms is an open-source project, and contributions are VERY welcome. If you want to contribute, you can create new features, fix bugs, or improve the infrastructure. Please refer to the [CONTRIBUTING.md](https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md) and our [contributing board](https://github.com/users/kyegomez/projects/1) to participate in Roadmap discussions! - - - - - - - - - - - - - - - - - - - - ----- - -## Community - -Join our growing community around the world, for real-time support, ideas, and discussions on Swarms 😊 - -- View our official [Blog](https://swarms.apac.ai) -- Chat live with us on [Discord](https://discord.gg/kS3rwKs3ZC) -- Follow us on [Twitter](https://twitter.com/kyegomez) -- Connect with us on [LinkedIn](https://www.linkedin.com/company/the-swarm-corporation) -- Visit us on [YouTube](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) -- [Join the Swarms community on Discord!](https://discord.gg/AJazBmhKnr) -- Join our Swarms Community Gathering every Thursday at 1pm NYC Time to unlock the potential of autonomous agents in automating your daily tasks [Sign up here](https://lu.ma/5p2jnc2v) - ---- - -## Discovery Call -Book a discovery call to learn how Swarms can lower your operating costs by 40% with swarms of autonomous agents in lightspeed. [Click here to book a time that works for you!](https://calendly.com/swarm-corp/30min?month=2023-11) - - - -## Accelerate Backlog -Help us accelerate our backlog by supporting us financially! Note, we're an open source corporation and so all the revenue we generate is through donations at the moment ;) - - - ---- \ No newline at end of file diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index be3af263..4d676c79 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -95,7 +95,7 @@ nav: - Contributing: "contributing.md" - Multi-Agent Repository Template: "swarms/install/multi_agent_template.md" - Framework: - - Overview: "swarms/index.md" + - Overview: "swarms/framework/index.md" - Models: - Overview: "swarms/models/index.md" - How to Create A Custom Language Model: "swarms/models/custom_model.md" @@ -134,6 +134,7 @@ nav: - GPT4VisionAPI: "swarms/models/gpt4v.md" - GPT4o: "swarms/models/gpt4o.md" - Agents: + - Agent: "swarms/structs/agent.md" - Overview: "swarms/structs/diy_your_own_agent.md" - Tools: - Functions, Pydantic BaseModels, and More: "swarms/tools/main.md" @@ -142,12 +143,11 @@ nav: - ShortTermMemory: "swarms/memory/short_term_memory.md" - Structs: - Foundational Structures: - - Agent: "swarms/structs/agent.md" - BaseStructure: "swarms/structs/basestructure.md" - Task: "swarms/structs/task.md" - YamlModel: "swarms/structs/yaml_model.md" - - BaseWorkflow: "swarms/structs/baseworkflow.md" - Workflows: + - BaseWorkflow: "swarms/structs/baseworkflow.md" - ConcurrentWorkflow: "swarms/structs/concurrentworkflow.md" - SequentialWorkflow: "swarms/structs/sequential_workflow.md" - Multi Agent Architectures: diff --git a/docs/swarms/framework/index.md b/docs/swarms/framework/index.md new file mode 100644 index 00000000..e69de29b diff --git a/playground/structs/search_arena/search_agents.py b/playground/structs/search_arena/search_agents.py index 4b8363a2..7d0c9fd3 100644 --- a/playground/structs/search_arena/search_agents.py +++ b/playground/structs/search_arena/search_agents.py @@ -303,9 +303,7 @@ class YouSearchAgent: if not isinstance(task, str): raise TypeError("Task must be a string") - headers = { - "X-API-Key": os.getenv("YOU_API_KEY") - } + headers = {"X-API-Key": os.getenv("YOU_API_KEY")} params = {"query": task} try: