Spaces:
Runtime error
Runtime error
File size: 372 Bytes
4962437 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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) |