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/playground/godmode.py

20 lines
370 B

from swarms.models import Anthropic, GooglePalm, OpenAIChat
from swarms.swarms import GodMode
claude = Anthropic(anthropic_api_key="")
palm = GooglePalm(google_api_key="")
gpt = OpenAIChat(openai_api_key="")
# Usage
llms = [
claude,
palm,
gpt
]
god_mode = GodMode(llms)
task = f"What are the biggest risks facing humanity?"
god_mode.print_responses(task)