You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/asb/asb_research.py

18 lines
342 B

from swarms.structs.auto_swarm_builder import AutoSwarmBuilder
from dotenv import load_dotenv
load_dotenv()
swarm = AutoSwarmBuilder(
name="My Swarm",
description="My Swarm Description",
verbose=True,
max_loops=1,
)
result = swarm.run(
task="Build a swarm to write a research paper on the topic of AI"
)
print(result)