long-form, AI social, copywriter, prompt config
This commit is contained in:
27
lib/workspace/prompts/README.md
Normal file
27
lib/workspace/prompts/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Alwrity Prompts Directory
|
||||
|
||||
Welcome to the Alwrity Prompts directory! This folder contains the LLM prompts used by Alwrity AI writers.
|
||||
By editing these prompts, you can customize the output of the AI to better suit your specific needs.
|
||||
|
||||
## Overview
|
||||
|
||||
1. **Purpose**: This directory provides an easy way to modify prompts for your use cases without hard-coding them into the main code.
|
||||
2. **Intuitive Naming**: Each prompt file is named intuitively to help you identify which one to edit. If you're unsure, refer to the log messages when Alwrity executes.
|
||||
|
||||
## Instructions
|
||||
|
||||
### Important Guidelines
|
||||
|
||||
- **Do Not Modify Variables**: Do not change the `{}` strings and other variable names inside the prompts. These placeholders are crucial for the AI to generate the correct output.
|
||||
- **Do Not Rename Files**: Keep the file names unchanged to ensure the system can locate and use them correctly.
|
||||
- **Maintain YAML Structure**: Follow the YAML file structure to avoid errors. Incorrect formatting can cause the AI to malfunction.
|
||||
|
||||
### How to Edit Prompts
|
||||
|
||||
1. **Open the YAML File**: Locate and open the prompt file you wish to edit. For example, `long_form.prompts.yaml`.
|
||||
|
||||
2. **Modify Prompt Content**: Update the text within the prompts as needed. Be careful to retain the overall YAML structure and placeholders.
|
||||
|
||||
3. **Save Changes**: After making your edits, save the file.
|
||||
|
||||
**Different language models may require different prompting strategies. The quality of the content generated by the AI is directly influenced by the quality of the prompts you provide.**
|
||||
86
lib/workspace/prompts/long_form_ai_writer.prompts
Normal file
86
lib/workspace/prompts/long_form_ai_writer.prompts
Normal file
@@ -0,0 +1,86 @@
|
||||
writing_guidelines: |
|
||||
As an expert content writer and web researcher, demonstrate your world-class {content_type} content writing skills.
|
||||
Follow these writing guidelines:
|
||||
1. Write in {content_language} language.
|
||||
2. Ensure your content appeals to the target audience of {target_audience}.
|
||||
3. Maintain a consistent tone of {content_tone} throughout.
|
||||
4. Ensure originality and human-like content.
|
||||
5. Use simple {content_language} words to appeal to all readers.
|
||||
6. Format your content using {output_format}.
|
||||
7. Avoid words like: Unleash, ultimate, uncover, discover, elevate, revolutionizing, unveiling, harnessing, dive, delve into, embrace.
|
||||
Remember, your main goal is to write as much as you can. Expanding content is good; summarizing is bad.
|
||||
8). Always use the given web research results, in your writing.
|
||||
|
||||
|
||||
|
||||
content_title: |
|
||||
As an expert {content_language} content writer specializing in SEO writing, your task is to create a blog title following these guidelines:
|
||||
1. Write a blog title for the given keywords: {content_keywords}.
|
||||
2. Ensure the title appeals to the target audience of {target_audience}.
|
||||
3. Review the provided web research results for {content_keywords}. Ensure your title competes effectively against them.
|
||||
4. Avoid words like: Unleash, ultimate, uncover, discover, elevate, revolutionizing, unveiling, harnessing, dive, delve into, embrace.
|
||||
Web research results:
|
||||
"""{{web_research_result}}"""
|
||||
|
||||
|
||||
|
||||
content_outline: |
|
||||
As an expert {content_language} content outliner specializing in SEO-optimized content, create a detailed content outline for the given title based on the provided context.
|
||||
Title: {{content_title}}
|
||||
Instructions:
|
||||
1. Include most of the topics from the given web research results as context.
|
||||
2. Ensure the outline appeals to the target audience of {target_audience}.
|
||||
Web research results:
|
||||
"""{{web_research_result}}"""
|
||||
|
||||
|
||||
|
||||
starting_prompt: |
|
||||
As an expert {content_language} content writer specializing in SEO-optimized content, begin writing the content for the given title and outline.
|
||||
|
||||
Title:
|
||||
"""{{content_title}}"""
|
||||
|
||||
Outline:
|
||||
"""{{content_outline}}"""
|
||||
|
||||
Relevant web research results:
|
||||
"""{{web_research_result}}"""
|
||||
|
||||
------------
|
||||
|
||||
First, silently review the content outline and title. Consider how to begin writing your content.
|
||||
Start by writing the very beginning of the outline. You are not expected to finish the entire content now.
|
||||
Your writing should be detailed, only scratching the surface of the first bullet point of your outline.
|
||||
Write a minimum of 700 words.
|
||||
|
||||
"""{{writing_guidelines}}"""
|
||||
|
||||
|
||||
|
||||
continuation_prompt: |
|
||||
As an expert {content_language} content writer and web researcher specializing in SEO-optimized content, continue writing the content for the given title and outline.
|
||||
|
||||
Title:
|
||||
"""{{content_title}}"""
|
||||
|
||||
Outline:
|
||||
"""{{content_outline}}"""
|
||||
|
||||
Relevant web research results:
|
||||
"""{{web_research_result}}"""
|
||||
|
||||
===========
|
||||
|
||||
You've begun writing the content. Continue from where you left off.
|
||||
Here's what you've written so far:
|
||||
"""{{content_text}}"""
|
||||
|
||||
=====
|
||||
First, silently review the content outline and what you've written so far.
|
||||
Identify the next part of your outline to write.
|
||||
Continue from where you left off, focusing only on the next parts of the outline.
|
||||
You are not expected to finish the entire content now.
|
||||
Write a minimum of 700 words. Once the content is completely finished, write IAMDONE. Remember, do NOT write entire sections right now.
|
||||
|
||||
"""{{writing_guidelines}}"""
|
||||
Reference in New Issue
Block a user