diff --git a/README.md b/README.md index 5e7986b1..d053d7ec 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=( @@ -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=( @@ -756,7 +756,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. @@ -858,7 +858,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 @@ -1173,7 +1173,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( 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. diff --git a/requirements.txt b/requirements.txt index 42570057..9ab55ebe 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