parent
b6e284b298
commit
9c4236f516
@ -1,5 +1,7 @@
|
|||||||
from swarms import DialogueSimulator, Worker
|
from swarms import DialogueSimulator, Worker
|
||||||
|
|
||||||
collab = DialogueSimulator(Worker, DialogueSimulator.select_next_speaker)
|
worker = Worker(ai_name="Optimus Prime", openai_api_key="")
|
||||||
collab.start("My name is Plinus and I am a worker", "How are you?")
|
|
||||||
|
collab = DialogueSimulator(worker, DialogueSimulator.select_next_speaker)
|
||||||
|
|
||||||
|
collab.start("My name is Plinus and I am a worker", "How are you?")
|
Loading…
Reference in new issue