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/example.py

17 lines
315 B

11 months ago
from swarms import Agent, OpenAIChat
## Initialize the workflow
agent = Agent(
llm=OpenAIChat(),
max_loops="auto",
autosave=True,
11 months ago
dashboard=False,
streaming_on=True,
verbose=True,
)
# Run the workflow on a task
agent(
"Find a chick fil a equivalent in san francisco in hayes valley"
)