diff --git a/mmi.py b/mmi.py index 85df7938..794ec79f 100644 --- a/mmi.py +++ b/mmi.py @@ -1,5 +1,7 @@ from swarms import DialogueSimulator, Worker -collab = DialogueSimulator(Worker, DialogueSimulator.select_next_speaker) -collab.start("My name is Plinus and I am a worker", "How are you?") +worker = Worker(ai_name="Optimus Prime", openai_api_key="") +collab = DialogueSimulator(worker, DialogueSimulator.select_next_speaker) + +collab.start("My name is Plinus and I am a worker", "How are you?") \ No newline at end of file