Improved, refactored, added options, prompts, jekyll website
This commit is contained in:
47
lib/prompts/README.md
Normal file
47
lib/prompts/README.md
Normal file
@@ -0,0 +1,47 @@
|
||||
## Prompting settings for LLMs
|
||||
|
||||
**Model:** Choose which LLM model to use. Different models have different strengths and weaknesses. For example, some models are better at generating creative text formats, while others are better at answering questions in an informative way.
|
||||
|
||||
**Temperature:** The temperature setting controls how creative and varied the text the LLM generates is. A higher temperature setting will result in more creative and varied text, but it may also be less accurate. A lower temperature setting will result in more accurate text, but it may also be less creative and varied.
|
||||
|
||||
**Top P:** The top P setting controls how likely the LLM is to generate the most likely words. A higher top P setting will result in more predictable and grammatically correct text, but it may also be less interesting. A lower top P setting will result in more interesting and creative text, but it may also be less predictable and grammatically correct.
|
||||
|
||||
**Frequency penalty:** The frequency penalty setting controls how likely the LLM is to generate words that are common in the text it is trained on. A higher frequency penalty setting will result in less repetitive text, but it may also be less fluent. A lower frequency penalty setting will result in more fluent text, but it may also be more repetitive.
|
||||
|
||||
**Presence penalty:** The presence penalty setting controls how likely the LLM is to generate words that are already present in the prompt. A higher presence penalty setting will result in more creative text, but it may also be less relevant to the prompt. A lower presence penalty setting will result in more relevant text, but it may also be less creative.
|
||||
|
||||
These settings can help you get better results from LLMs, depending on what you are trying to do. For example, if you are trying to generate a creative poem, you might want to use a higher temperature setting and a lower presence penalty setting. If you are trying to get an answer to a technical question, you might want to use a lower temperature setting and a higher presence penalty setting.
|
||||
|
||||
Experiment with the different settings to see what works best for you.
|
||||
|
||||
## Components of a prompt
|
||||
|
||||
**Instruction:** The specific task or instruction that you want the LLM to perform. For example, you might want it to generate a poem, translate a sentence, or answer a question.
|
||||
|
||||
**Context:** External information or additional context that can help the LLM to better understand your request and generate a better response. For example, if you are asking the LLM to generate a poem, you might provide it with the topic of the poem or the style of poem that you want.
|
||||
|
||||
**Input data:** The input or question that you are asking the LLM to respond to. For example, if you are asking the LLM to translate a sentence, you would provide it with the sentence that you want translated.
|
||||
|
||||
**Output indicator:** The type or format of the output that you want the LLM to generate. For example, you might want the LLM to generate a poem, translate a sentence, or answer a question in a specific format.
|
||||
|
||||
You don't need to include all four of these components in a prompt, but the more information you can provide to the LLM, the better it will be able to understand your request and generate a good response.
|
||||
|
||||
|
||||
## Tips for prompting large language models
|
||||
|
||||
**Be clear and concise in your prompt.** The LLM should be able to understand exactly what you are asking it to do.
|
||||
|
||||
**Provide context for your prompt.** This can help the LLM to generate a better response. For example, if you are asking the LLM to write a poem, you might provide it with the topic of the poem or the style of poem that you want.
|
||||
|
||||
**Break down complex tasks into smaller steps.** This can help the LLM to better understand what you are asking it to do and to generate a more accurate response.
|
||||
|
||||
**Use examples to illustrate your prompt.** This can help the LLM to understand what you are asking for and to generate a more relevant response.
|
||||
|
||||
**Test your prompts on different LLMs.** Different LLMs have different strengths and weaknesses, so some prompts may work better with certain LLMs than others.
|
||||
|
||||
**Additional tips:**
|
||||
|
||||
* **Use the right model.** Different LLMs are better at different tasks. For example, some LLMs are better at generating creative text formats, while others are better at answering questions in an informative way.
|
||||
* **Tune the prompting settings.** There are a number of prompting settings that you can adjust to get better results from LLMs. For example, you can adjust the temperature setting to control how creative the LLM is, or the top P setting to control how likely the LLM is to generate the most likely words.
|
||||
* **Experiment with different prompts.** The best way to find out what works for you is to experiment with different prompts. Try different ways of phrasing your prompt and see what works best.
|
||||
|
||||
67
lib/prompts/blog_ideas_prompts.md
Normal file
67
lib/prompts/blog_ideas_prompts.md
Normal file
@@ -0,0 +1,67 @@
|
||||
#####################################################
|
||||
# Act as travel guide:
|
||||
#####################################################
|
||||
want you to act as a travel guide. I will write you my location and you will suggest a place to visit near my location. In some cases, I will also give you the type of places I will visit. You will also suggest me places of similar type that are close to my first location. My first suggestion request is {}
|
||||
|
||||
|
||||
|
||||
#####################################################
|
||||
#
|
||||
# Use below prompts to generate Idea or topics, titles to write on.
|
||||
#
|
||||
#####################################################
|
||||
|
||||
# This is basically keyword research for a specific domain, narrowed down by blog topics.
|
||||
# We can craft prompts to get an idea on what to generate blogs on.
|
||||
# Divide them in topic and write for most searched ones, as below:
|
||||
|
||||
When using GPT to generate content, it is important to provide it with clear and concise instructions.
|
||||
For example, if you are asking GPT to generate a blog post outline, you should provide it with the following information:
|
||||
|
||||
- Topic: What is the topic of the blog post?
|
||||
- Audience: Who is the target audience for the blog post?
|
||||
- Purpose: What is the purpose of the blog post? (To inform, entertain, sell, etc.)
|
||||
- Keywords: What keywords do you want the blog post to rank for?
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
Generate a list of the top {X} most popular and semantically related keywords and entities for the topic of {X}, categorized by search intent (informational, commercial, transactional).
|
||||
|
||||
Generate a list of the top {X} most popular and semantically related long-tail keywords and entities for the topic of {X}, categorized by buyer stage (awareness, consideration, decision).
|
||||
|
||||
Generate a list of the top {X} most popular and semantically related keywords and entities for the topic of {X} that are relevant to my target audience (e.g., small businesses in the United States).
|
||||
|
||||
Generate a list of the top {X} most popular and semantically related keywords and entities for the topic of {X} that are used in high-quality content.
|
||||
|
||||
Generate a list of the top {X} most popular and semantically related keywords and entities for the topic of {X} that are relevant to my competitors.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
--- Write seven subheadings for the blog article with the title [title]; the titles should be catchy and 60 characters max.
|
||||
|
||||
--- List the top 5 most popular long tail keywords for the topic [YOUR TOPIC]
|
||||
|
||||
--- What Are The {X} Most Popular Sub-topics Related To {Topic}?
|
||||
|
||||
--- What Are The {X} Most Popular Sub-topics Related To {Sub-topic}?
|
||||
|
||||
--- List Without Description The Top {X} Most Popular Keywords For The Topic Of {X}
|
||||
|
||||
--- List Without Description The Top {X} Most Popular Long-tail Keywords For The Topic “{X}”
|
||||
|
||||
--- List Without Description The Top Semantically Related Keywords And Entities For The Topic {X}
|
||||
|
||||
--- Give me five popular keywords that include “SEO” in the word, and the following letter starts with a. Once the answer has been done, move on to giving five more popular keywords that include “SEO” for each letter of the alphabet b to z.
|
||||
|
||||
--- For the topic of “{Topic}” list 10 keywords each for the different types of user personas
|
||||
|
||||
--- Generate 50 keywords for the topic “[Topic]” that contain “vs”
|
||||
|
||||
--- Perform the following steps in a consecutive order Step 1, Step 2, Step 3, Step 4.
|
||||
Step 1 – Generate the 5 most popular keywords related to the topic of “keyword" with their search intent.
|
||||
Step 2 – For each keyword provide 2 long-tail keywords.
|
||||
Step 3 – Generate the 5 most popular questions that include those keywords.
|
||||
Step 4 – Generate 5 blog article titles based on the keywords from Step 1 and Step 2.
|
||||
|
||||
--- As a technical writer experienced in SEO, please create a detailed blog post outline that provides a step-by-step guide
|
||||
for using [X], targeting beginners with a friendly and helpful tone and a desired length of 800-1000 words.
|
||||
Reference in New Issue
Block a user