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

13 lines
312 B

from swarms.structs.llm_council import LLMCouncil
# Create the council
council = LLMCouncil(verbose=True, output_type="final")
# Example query
query = "What are the top five best energy stocks across nuclear, solar, gas, and other energy sources?"
# Run the council
result = council.run(query)
print(result)