parent
ecbb1a11b4
commit
4402367944
@ -0,0 +1,8 @@
|
|||||||
|
from swarms import swarm
|
||||||
|
|
||||||
|
# Use the function
|
||||||
|
api_key = "APIKEY"
|
||||||
|
objective = "What is the capital of the UK?"
|
||||||
|
result = swarm(api_key, objective)
|
||||||
|
print(result) # Prints: "The capital of the UK is London."
|
||||||
|
|
@ -1 +1 @@
|
|||||||
from swarms.swarms import Swarms
|
from swarms.swarms import Swarms, swarm
|
Loading…
Reference in new issue