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.
20 lines
372 B
20 lines
372 B
|
|
from langchain.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 = "What are the biggest risks facing humanity?"
|
|
|
|
god_mode.print_responses(task) |