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.
22 lines
386 B
22 lines
386 B
from langchain.llms import GooglePalm, OpenAIChat
|
|
|
|
from swarms.swarms.god_mode import Anthropic, 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) |