Former-commit-id: be28965418
huggingface
Kye 2 years ago
parent 2e9b31db33
commit 82d3981293

@ -111,13 +111,13 @@ Download via Github, and install requirements. Simple example by:
* or create a new file: * or create a new file:
```python ```python
from swarms.swarms import Swarms from swarms.swarms import HierarchicalSwarm
# Retrieve your API key from the environment or replace with your actual key # 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 # Initialize Swarms with your API key
swarm = Swarms(openai_api_key=api_key) swarm = HierarchicalSwarm(openai_api_key=api_key)
# Define an objective # Define an objective
objective = """ objective = """

Loading…
Cancel
Save