From 7c328b5009cd81ef0b4fd5ea7567e1f488b0189a 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: b64bed4a6fcdb179be2cb86b32482272f8f87b02 --- 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