From aa50847b4481489ab21b17c655c2cad3bca0c783 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 18:26:34 -0600 Subject: [PATCH 1/7] Correct comment in README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 364ad470..51199288 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ memory = ChromaDB( docs_folder="docs", ) -# Initializing the agent with the Gemini instance and other parameters +# Initializing the agent with the OpenAI instance and other parameters agent = Agent( agent_name="Covid-19-Chat", agent_description=( From d21c20221ab2916814433b4adad9ed31f7095ef9 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 18:27:59 -0600 Subject: [PATCH 2/7] comment corrected, readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 51199288..37d9f884 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ def search_api(query: str): # Add your logic here return query -# Initializing the agent with the Gemini instance and other parameters +# Initializing the agent with the OpenAi instance and other parameters agent = Agent( agent_name="Covid-19-Chat", agent_description=( From 5fa9c74e341f703ea1e0606c639a1f305a98d089 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 18:44:41 -0600 Subject: [PATCH 3/7] typo Blocklist -> Blockslist --- README.md | 2 +- docs/swarms/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37d9f884..d956493b 100644 --- a/README.md +++ b/README.md @@ -770,7 +770,7 @@ print(f"Task result: {task.result}") -### `BlockList` +### `Blockslist` - Modularity and Flexibility: BlocksList allows users to create custom swarms by adding or removing different classes or functions as blocks. This means users can easily tailor the functionality of their swarm to suit their specific needs. - Ease of Management: With methods to add, remove, update, and retrieve blocks, BlocksList provides a straightforward way to manage the components of a swarm. This makes it easier to maintain and update the swarm over time. diff --git a/docs/swarms/index.md b/docs/swarms/index.md index c3d45d86..f4aa91f4 100644 --- a/docs/swarms/index.md +++ b/docs/swarms/index.md @@ -763,7 +763,7 @@ print(f"Task result: {task.result}") -### `BlockList` +### `BlocksList` - Modularity and Flexibility: BlocksList allows users to create custom swarms by adding or removing different classes or functions as blocks. This means users can easily tailor the functionality of their swarm to suit their specific needs. - Ease of Management: With methods to add, remove, update, and retrieve blocks, BlocksList provides a straightforward way to manage the components of a swarm. This makes it easier to maintain and update the swarm over time. From 44c202d06677cc409849685ffb76bf87980b7097 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 18:47:28 -0600 Subject: [PATCH 4/7] typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d956493b..b612e144 100644 --- a/README.md +++ b/README.md @@ -872,7 +872,7 @@ print(inference) ## Majority Voting -Multiple-agents will evaluate an idea based off of an parsing or evaluation function. From papers like "[More agents is all you need](https://arxiv.org/pdf/2402.05120.pdf) +Multiple-agents will evaluate an idea based off of an parsing or evaluation function. From papers like "[More agents is all you need"](https://arxiv.org/pdf/2402.05120.pdf) ```python from swarms import Agent, MajorityVoting, ChromaDB, Anthropic From cbec10343196c77aa5e940ae1c2e0f34145ab908 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 18:56:19 -0600 Subject: [PATCH 5/7] trailing comma code in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b612e144..a1ccec72 100644 --- a/README.md +++ b/README.md @@ -1187,7 +1187,7 @@ autoswarm.run("Analyze these financial data and give me a summary") Inspired by Einops and einsum, this orchestration techniques enables you to map out the relationships between various agents. For example you specify linear and sequential relationships like `a -> a1 -> a2 -> a3` or concurrent relationships where the first agent will send a message to 3 agents all at once: `a -> a1, a2, a3`. You can customize your workflow to mix sequential and concurrent relationships ```python -from swarms import Agent, Anthropic, AgentRearrange, +from swarms import Agent, Anthropic, AgentRearrange ## Initialize the workflow agent = Agent( From 93402465e768e541a2b8a7c3c5be33304a1a67bd Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 22:01:29 -0600 Subject: [PATCH 6/7] Removed NonLinearWorkflow from swarms structs init --- swarms/structs/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/swarms/structs/__init__.py b/swarms/structs/__init__.py index 6da5bfdb..781b2a44 100644 --- a/swarms/structs/__init__.py +++ b/swarms/structs/__init__.py @@ -109,7 +109,6 @@ __all__ = [ "MultiAgentCollaboration", "MultiProcessWorkflow", "MultiThreadedWorkflow", - "NonlinearWorkflow", "Plan", "RecursiveWorkflow", "Artifact", From 9b2cd7e1de1cf74f38005227f5ccf5d0c2a2fb34 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 2 May 2024 22:11:19 -0600 Subject: [PATCH 7/7] fixed requirements --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9c5ed8d9..fc123b81 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -python>=3.9,<4.0 + torch>=2.1.1,<3.0 transformers>=4.39.0,<5.0.0 asyncio>=3.4.3,<4.0 @@ -19,6 +19,7 @@ accelerate==0.28.0 opencv-python>=4.9.0.80,<4.10.0 PyYAML docstring_parser==0.16 +openai # Lint dependencies black>=23.1.0,<24.0.0