example py api

NewTools
Kye 2 years ago
parent c1d183bb56
commit c82f6b0372

@ -2,10 +2,10 @@ from swarms import Swarms
# Retrieve your API key from the environment or replace with your actual key
api_key = "sksdsds"
# api_key = "sksdsds"
# Initialize Swarms with your API key
swarm = Swarms(openai_api_key=api_key)
swarm = Swarms()
# Define an objective
objective = """

Loading…
Cancel
Save