diff --git a/alwrity.py b/alwrity.py index d7f37377..96b94e5a 100644 --- a/alwrity.py +++ b/alwrity.py @@ -301,11 +301,11 @@ def main(): """, unsafe_allow_html=True) # Export the paths and file names. Dont want alwrity to be chatty and prompt for inputs. - os.environ["SEARCH_SAVE_FILE"] = os.path.join(os.getcwd(), "lib", "workspace", "web_research_report", + os.environ["SEARCH_SAVE_FILE"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_web_research", f"web_research_report_{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}") - os.environ["IMG_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "generated_content") - os.environ["CONTENT_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "generated_content") - os.environ["PROMPTS_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "prompts") + os.environ["IMG_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_content") + os.environ["CONTENT_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_content") + os.environ["PROMPTS_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_prompts") os.environ["ALWRITY_CONFIG"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_config", "main_config.json") # Check API keys and LLM environment settings diff --git a/lib/workspace/alwrity_config/README.md b/lib/workspace/alwrity_config/README.md new file mode 100644 index 00000000..e6892190 --- /dev/null +++ b/lib/workspace/alwrity_config/README.md @@ -0,0 +1,2 @@ +Alwrity main config file. All the values from the UI sidebar are saved in this file. +The programs read these values from this file, depending on their logic. diff --git a/lib/workspace/alwrity_content/README.md b/lib/workspace/alwrity_content/README.md new file mode 100644 index 00000000..661d18fa --- /dev/null +++ b/lib/workspace/alwrity_content/README.md @@ -0,0 +1,2 @@ +Alwrity will be place all final content drafts in this folder, like blog content, articles, texts and images generated. +Change location in alwrity.py or environment variable SEARCH_SAVE_FILE diff --git a/lib/workspace/prompts/README.md b/lib/workspace/alwrity_prompts/README.md similarity index 100% rename from lib/workspace/prompts/README.md rename to lib/workspace/alwrity_prompts/README.md diff --git a/lib/workspace/prompts/long_form_ai_writer.prompts b/lib/workspace/alwrity_prompts/long_form_ai_writer.prompts similarity index 100% rename from lib/workspace/prompts/long_form_ai_writer.prompts rename to lib/workspace/alwrity_prompts/long_form_ai_writer.prompts diff --git a/lib/workspace/alwrity_web_research/README.md b/lib/workspace/alwrity_web_research/README.md new file mode 100644 index 00000000..2151c804 --- /dev/null +++ b/lib/workspace/alwrity_web_research/README.md @@ -0,0 +1,3 @@ +Alwrity web research reports will be saved in this folder. +You can change this by modifying SEARCH_SAVE_FILE environment variable, after running alwrity.py from the command prompt. +Better to change in the alwrity.py file itself, line no: 308