You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
632 B
26 lines
632 B
"""
|
|
Analytical Research Example
|
|
|
|
Use the Analytical Fairy's strengths for research-heavy tasks.
|
|
The orchestrator will delegate analysis work appropriately.
|
|
"""
|
|
|
|
from fairy_swarm import FairySwarm
|
|
|
|
swarm = FairySwarm(
|
|
name="Research Team",
|
|
model_name="gpt-4o-mini",
|
|
max_loops=2,
|
|
verbose=True,
|
|
)
|
|
|
|
result = swarm.run(
|
|
"Research and design an information dashboard for tracking:\n"
|
|
"1. Key performance metrics with charts\n"
|
|
"2. Data tables with sorting capabilities\n"
|
|
"3. Filter controls and search functionality\n"
|
|
"Include recommendations for data visualization best practices."
|
|
)
|
|
|
|
print(result)
|