Update README.md

pull/529/head
Kye Gomez 6 months ago committed by GitHub
parent 2d43838c3b
commit c3fc06ed43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -927,7 +927,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. [Docs Available:](https://swarms.apac.ai/en/latest/swarms/structs/agent_rearrange/)
```python
from swarms import Agent, AgentRearrange, rearrange, Anthropic
from swarms import Agent, AgentRearrange, Anthropic
# Initialize the director agent
@ -990,16 +990,6 @@ output = agent_system.run(
)
print(output)
# Using rearrange function
output = rearrange(
agents,
flow,
"Create a format to express and communicate swarms of llms in a structured manner for youtube",
)
print(output)
```
## `HierarhicalSwarm`

Loading…
Cancel
Save