From 3183211242beb17f6815020dea8af85f11198e56 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 26 Sep 2023 10:21:32 -0400 Subject: [PATCH] clean up Former-commit-id: 89d34fe0de1ac5003027210e0af56f74a3dfe6a5 --- example_godmode.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/example_godmode.py b/example_godmode.py index 4f319957..2525cab2 100644 --- a/example_godmode.py +++ b/example_godmode.py @@ -1,5 +1,10 @@ from swarms import GodMode -god_mode = GodMode(num_workers=3, openai_api_key="", ai_name="Optimus Prime") -task = "What were the winning Boston Marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times." +# Usage +llms = [Anthropic(model="", anthropic_api_key="my-api-key") for _ in range(5)] + +god_mode = GodMode(llms) + +task = f"{anthropic.HUMAN_PROMPT} What are the biggest risks facing humanity?{anthropic.AI_PROMPT}" + god_mode.print_responses(task) \ No newline at end of file