-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,164 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
""" | ||
Swarm Flow | ||
Topic selection agent -> draft agent -> review agent -> distribution agent | ||
Topic Selection Agent: | ||
- Generate 10 topics on gaining mental clarity using Taosim and Christian meditation | ||
Draft Agent: | ||
- Write a 100% unique, creative and in human-like style article of a minimum of 5,000 words using headings and sub-headings. | ||
Review Agent: | ||
- Refine the article to meet PositiveMed’s stringent publication standards. | ||
Distribution Agent: | ||
- Social Media posts for the article. | ||
# TODO | ||
- Add shorter and better topic generator prompt | ||
- Optimize writer prompt to create longer and more enjoyeable blogs | ||
- Use Local Models like Storywriter | ||
""" | ||
from swarms.models import OpenAIChat | ||
from termcolor import colored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
""" | ||
Autonomous swarm that optimizes UI autonomously | ||
GPT4Vision ->> GPT4 ->> UI | ||
GPT4Vision ->> GPT4 ->> UI Code | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from swarms.models.openai_chat import ChatOpenAI | ||
|
||
model = ChatOpenAI() | ||
|
||
print(model("Hello, my name is", 5)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,3 @@ | |
results = dalle3.process_batch_concurrently(tasks) | ||
|
||
# print(results) | ||
|
||
|
||
|
Oops, something went wrong.