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

13 lines
408 B

from swarms import SelfConsistencyAgent
agent = SelfConsistencyAgent(
max_loops=1,
model_name="gpt-4o-mini",
system_prompt="You are a helpful assistant that can answer questions and help with tasks.",
description="You are a helpful assistant that can answer questions and help with tasks.",
)
agent.run(
"Create a comprehensive proof for the The Birch and Swinnerton-Dyer Conjecture"
)