pull/68/head^2
Kye 1 year ago
parent e479aa4259
commit b7ba69db42

@ -183,8 +183,6 @@ For documentation, go here, [swarms.apac.ai](https://swarms.apac.ai)
## Contribute
We're always looking for contributors to help us improve and expand this project. If you're interested, please check out our [Contributing Guidelines](C0NTRIBUTING.md).
### Optimization Priorities
1. **Reliability**: Increase the reliability of the swarm - obtaining the desired output with a basic and un-detailed input.
@ -195,17 +193,6 @@ We're always looking for contributors to help us improve and expand this project
Our goal is to continuously improve Swarms by following this roadmap, while also being adaptable to new needs and opportunities as they arise.
---
# Demos
![Swarms Demo](images/Screenshot_48.png)
## Swarm Video Demo {Click for more}
[![Watch the swarm video](https://img.youtube.com/vi/Br62cDMYXgc/maxresdefault.jpg)](https://youtu.be/Br62cDMYXgc)
---
# Contact
For enterprise and production ready deployments, allow us to discover more about you and your story, [book a call with us here](https://www.apac.ai/Setup-Call)

@ -1,7 +1,8 @@
from swarms.models import OpenAIChat
from swarms import Worker
from swarms.prompts import PRODUCT_AGENT_PROMPT
api_key = ""
api_key = "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"
llm = OpenAIChat(
openai_api_key=api_key,
@ -12,12 +13,12 @@ node = Worker(
llm=llm,
ai_name="Optimus Prime",
openai_api_key=api_key,
ai_role="Worker in a swarm",
ai_role=PRODUCT_AGENT_PROMPT,
external_tools=None,
human_in_the_loop=False,
temperature=0.5,
)
task = "What were the winning boston marathon times for the past 5 years (ending in 2022)? Generate a table of the year, name, country of origin, and times."
task = "Create an entirely new board game around riddles for physics"
response = node.run(task)
print(response)

@ -0,0 +1,15 @@
Error in sys.excepthook:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/humbug/report.py", line 505, in _hook
self.error_report(error=exception_instance, tags=tags, publish=publish)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/humbug/report.py", line 247, in error_report
traceback.format_exception(
TypeError: format_exception() got an unexpected keyword argument 'etype'
Original exception was:
Traceback (most recent call last):
File "/Users/defalt/Desktop/Athena/research/swarms/example.py", line 3, in <module>
from swarms.prompts import PRODUCT_AGENT_PROMPT
File "/Users/defalt/Desktop/Athena/research/swarms/swarms/prompts/__init__.py", line 3, in <module>
from swarms.prompts.growth_agent_prompt import GROWTH_AGENT_PROMPT
ImportError: cannot import name 'GROWTH_AGENT_PROMPT' from 'swarms.prompts.growth_agent_prompt' (/Users/defalt/Desktop/Athena/research/swarms/swarms/prompts/growth_agent_prompt.py)

@ -1,6 +1,6 @@
from swarms.prompts.code_interpreter import CODE_INTERPRETER
from swarms.prompts.fianance_agent_prompt import FINANCE_AGENT_PROMPT
from swarms.prompts.operations_agent_prompt import OPERATIONS_AGENT_PROMPT
from swarms.prompts.legal_agent_prompt import LEGAL_AGENT_PROMPT
from swarms.prompts.finance_agent_prompt import FINANCE_AGENT_PROMPT
from swarms.prompts.growth_agent_prompt import GROWTH_AGENT_PROMPT
from swarms.prompts.product_agent_prompt import PRODUCT_AGENT_PROMPT
from swarms.prompts.legal_agent_prompt import LEGAL_AGENT_PROMPT
from swarms.prompts.operations_agent_prompt import OPERATIONS_AGENT_PROMPT
from swarms.prompts.product_agent_prompt import PRODUCT_AGENT_PROMPT

Loading…
Cancel
Save