From 14570d1c5f95714494f815cbc5d144cad0a89fb5 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:37:34 -0800 Subject: [PATCH 1/4] Update and rename blog_gen.py to blog_gen --- playground/demos/{blog_gen/blog_gen.py => autotemp/blog_gen} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename playground/demos/{blog_gen/blog_gen.py => autotemp/blog_gen} (99%) diff --git a/playground/demos/blog_gen/blog_gen.py b/playground/demos/autotemp/blog_gen similarity index 99% rename from playground/demos/blog_gen/blog_gen.py rename to playground/demos/autotemp/blog_gen index 84ab240d8..85079f70a 100644 --- a/playground/demos/blog_gen/blog_gen.py +++ b/playground/demos/autotemp/blog_gen @@ -1,7 +1,7 @@ import os from termcolor import colored from swarms.models import OpenAIChat -from swarms.models.autotemp import AutoTemp +from autotemp import AutoTemp from swarms.structs import SequentialWorkflow From cd82fa67bb81db3a94540fdb807f0d17714a7dfd Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:37:56 -0800 Subject: [PATCH 2/4] Rename blog_gen to blog_gen.py --- playground/demos/autotemp/{blog_gen => blog_gen.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename playground/demos/autotemp/{blog_gen => blog_gen.py} (100%) diff --git a/playground/demos/autotemp/blog_gen b/playground/demos/autotemp/blog_gen.py similarity index 100% rename from playground/demos/autotemp/blog_gen rename to playground/demos/autotemp/blog_gen.py From 66b9ba090b42ac47266fbd39d6671344ae6e4243 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:38:31 -0800 Subject: [PATCH 3/4] Update and rename blog_gen_example.py to blog_gen_example.py --- playground/demos/{blog_gen => autotemp}/blog_gen_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename playground/demos/{blog_gen => autotemp}/blog_gen_example.py (92%) diff --git a/playground/demos/blog_gen/blog_gen_example.py b/playground/demos/autotemp/blog_gen_example.py similarity index 92% rename from playground/demos/blog_gen/blog_gen_example.py rename to playground/demos/autotemp/blog_gen_example.py index 7cf955358..2c2f1e24e 100644 --- a/playground/demos/blog_gen/blog_gen_example.py +++ b/playground/demos/autotemp/blog_gen_example.py @@ -1,5 +1,5 @@ import os -from swarms.swarms.blog_gen import BlogGen +from blog_gen import BlogGen def main(): From ad3e8e79f6754efc5cb3b024400bbf3d88301132 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:38:59 -0800 Subject: [PATCH 4/4] Update autotemp_example.py --- playground/demos/autotemp/autotemp_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/demos/autotemp/autotemp_example.py b/playground/demos/autotemp/autotemp_example.py index 9047268d7..c5f86416a 100644 --- a/playground/demos/autotemp/autotemp_example.py +++ b/playground/demos/autotemp/autotemp_example.py @@ -1,5 +1,5 @@ from swarms.models import OpenAIChat -from swarms.models.autotemp import AutoTemp +from autotemp import AutoTemp # Your OpenAI API key api_key = ""