search Inloggen search Registreren

Jouw profiel

Registreren Inloggen

Artikel

31
mei

GoDaddy

mei 31, 2023

1 views

Prompting 101: Writing prompts for AI

AI chatbots have become a game-changer. As digital assistants, they can help generate content, streamline service and processes, enhance experiences, drive growth, answer questions, and so much more. To unlock their full potential, it's crucial to understand the craft of prompting, speaking to the AI chatbots in a way that they give the results that we want. And our guide to writing prompts for AI is here to teach you how to do just that.<br><h2 id="writing-prompts">Writing prompts for AI</h2><br><ul><br><li>What are AI prompts?</li><br><li>5 steps for writing effective AI prompts.<br><ol><br><li>Understand the basics.</li><br><li>Know your chatbot.<br><ul><br><li>ChatGPT.</li><br><li>Google Bard.</li><br><li>Bing AI.</li><br></ul><br></li><br><li>Craft effective prompts.</li><br><li>Improve your AI prompts.</li><br><li>Practice advanced prompt engineering.</li><br></ol><br></li><br><li>Suggested uses for generative AI.</li><br><li>Ethics and responsible use.</li><br></ul><br><h2 id="what-are-ai-prompts">What are AI prompts?</h2><br>A prompt is an input, a text command or a question provided to an AI model, with the aim of generating a desired output like content or answer. It is like asking a question or giving the AI a command to get the desired answer or outcome.  Prompting is providing a cue to an AI language model, and it's essential for obtaining high-quality responses from generative AI models like ChatGPT, Google Bard and Bing AI.<br>The better the prompt, the better the results.<br>&nbsp;<br>So, what makes a good prompt? Effective prompts that are clear, specific, and tailored to the task at hand can improve the accuracy and relevance of the generated responses. Think about what you want the AI to accomplish and give it a prompt that will get you there. While it may take some extra effort to craft effective prompts, the high-quality responses that you'll receive make it worthwhile.<br>Related: AI prompts for small business owners<br><strong>Back to top.</strong><br><h2 id="five-steps-writing-ai-prompts">5 steps for writing effective AI prompts</h2><br>This guide is designed to help you learn the craft of prompting, enabling you to get the most out of these AI chatbots.<br><h2 id="understand-the-basics">1. Understand the basics</h2><br>A prompt is a message or question that you provide to the chatbot to generate a response. The purpose of a prompt is to provide a specific direction or goal for the chatbot to work towards, allowing it to produce more relevant and accurate responses.<br>In the context of chatbots, prompts serve as the input to the system, while the response generated by the chatbot is the output. By providing a clear and concise prompt, you can influence the output generated by the chatbot and obtain the information or response that you're looking for.<br>Related: How solopreneurs can lean on generative AI to scale their business<br><strong>Back to top.</strong><br><h2 id="know-your-chatbot">2. Know your chatbot</h2><br><br>When it comes to working with chatbots, it's important to understand the differences between popular systems like ChatGPT, Google Bard and Bing AI. Each system has its own unique strengths and weaknesses, and understanding these differences can help you craft more effective prompts and obtain better results.<br><h2 id="chatgpt">ChatGPT</h2><br>ChatGPT is known for its ability to generate natural-sounding responses, making it a great option for tasks like customer support or chat-based interactions. The system is trained on a massive dataset of human language, allowing it to produce responses that are fluent and contextually relevant. However, it can sometimes struggle with tasks that require a more creative or specific approach.<br>Related: Getting started with ChatGPT — A beginner’s guide to creating with AI<br><h2 id="google-bard">Google Bard</h2><br>Google Bard is designed to produce creative and engaging content. The system is trained on a large dataset of poetry and prose, allowing it to generate responses that are poetic, humorous, or emotionally evocative. This makes it a great option for tasks like content creation or social media management. However, it can sometimes produce responses that are overly verbose or irrelevant to the task at hand.<br><h2 id="bing-ai">Bing AI</h2><br>Bing AI is designed to produce more concise and specific responses, making it a great option for tasks that require a high degree of accuracy or specificity. The system is optimized for tasks like question-answering or fact-checking, and it excels at producing responses that are brief and to the point. However, it can sometimes struggle with tasks that require more complex or nuanced responses.<br>Each chatbot also has its own unique syntax and instructions, which can affect the way you craft your prompts. For example, ChatGPT may require you to provide a specific context or topic in your prompt, while Google Bard may require more creative or conversational prompts. Understanding the specific requirements of each chatbot can help you craft more effective prompts and obtain better results.<br><em><strong>Any chatbot and model can produce inaccurate or unintended results. Make sure that you check your work.</strong></em><br>By understanding the unique strengths and weaknesses of each system and crafting effective prompts accordingly, you can improve your outcomes and achieve your goals with greater speed and efficiency. Try them out and see which fits your needs best!<br>Related: The essential small business guide to generative AI<br><strong>Back to top.</strong><br><h2 id="craft-effective-prompts">3. Craft effective prompts</h2><br>Crafting effective prompts is key to getting high-quality results from chatbots like ChatGPT, Google Bard and Bing AI. Here are some tips and strategies to help you create better prompts:<br><ul><br><li aria-level="1">Talk to it like it’s intelligent. When talking to the chatbot, treat it as if you're conversating with an intelligent human, using natural language and coherent questions to obtain more accurate and useful responses.</li><br><li aria-level="1">Be clear and specific. Clear and specific prompts are crucial for guiding the chatbot to generate relevant and accurate responses. For example, if you're using a chatbot for customer support, a clear and specific prompt might be: "Please describe the issue you're experiencing in detail."</li><br><li aria-level="1">Use context and set the stage. Providing context can help the chatbot understand the purpose of the prompt and generate more relevant responses. For example, if you're using a chatbot for product recommendations, a prompt like "What are your favorite products?" may not be as effective as "Can you recommend a product that's similar to [specific product name]?"</li><br><li aria-level="1">Make it personal and specific. Include your name, product, or company name, background information, topic, highlights, tone, format (like a list or blog), and length.</li><br><li aria-level="1">Define the role and expertise. Tell the AI to assume the identity of a profession (like a copywriter, marketer, developer, coach, professor, or HR).</li><br><li aria-level="1">Set the style. Choose a style such as academic, instructive, journalistic, critical, creative, conversational, or professional.</li><br><li aria-level="1">Set the tone. Opt for a tone like confident, witty, or dramatic.</li><br><li aria-level="1">Use the right format and tone. Tailoring your prompt's format and tone to match your goal is essential for getting the desired response. For example, if you're using a chatbot for professional purposes, maintaining a formal tone might be more effective: "Kindly suggest some strategies to increase website traffic for a small business." On the other hand, if you're seeking creative ideas, adopting a more casual tone could yield better results: "Hey, what are some fun ways to promote a small business on social media?"</li><br><li aria-level="1">Experiment with question phrasing. Rephrasing questions and testing multiple variations can help you find the best possible prompt. For example, instead of asking "How can we improve our product?" you might try "What features would you like to see added to our product?" or "What are your biggest pain points when using our product?"</li><br></ul><br>Poorly written prompt example: "Tell me about marketing."<br>Strong prompt example: "Act as a master marketer, and in a professional tone, explain three essential digital marketing strategies that a small business should implement to increase their online visibility and drive sales. Please write a 200-word explanation with 3 bullet points following."<br><h2>Prompt template:</h2><br><ul><br><li aria-level="1">Role: Specify the role you want the chatbot to assume, such as a business strategist, educator, or marketing expert.</li><br><li aria-level="1">Objective: Indicate the intent of the content to be generated, e.g., blog article, social media update, product overview, FAQ, or ask a question.</li><br><li aria-level="1">Details: Include relevant information like the business, brand, or product name.</li><br><li aria-level="1">Background: Offer a concise background of the business or brand, highlighting its primary product or service offerings, target customers, and unique selling propositions.</li><br><li aria-level="1">Content subject: Define the central topic or theme of the content to be generated.</li><br><li aria-level="1">Context and objectives: Supply context, particular goals for the role, and company details to help the chatbot grasp your expectations, e.g., "As a specialist in ecommerce and collaborating with 'Business Y', a top online marketplace, offer advice for enhancing the user experience of their website."</li><br><li aria-level="1">Writing style: Indicate the preferred style for the content, e.g., formal, casual, convincing, educational, etc.</li><br><li aria-level="1">Structure: Mention any specific format or organization, e.g., bullet points, paragraphs, Q&amp;A, etc.</li><br><li aria-level="1">Supplementary details: Incorporate any other pertinent information or context that may support The chatbot in producing the content, such as particular examples or directions.</li><br><li aria-level="1">Voice: Indicate if you’d like it to be in a certain style like Shakespeare.</li><br></ul><br>Pro tip: After creating your text, run the prompt: Act as a plagiarism checker and analyze this text for potential plagiarism, then suggest rewrites or modifications to ensure originality, and retain similar format, tone and length: [paste generated text]. Once the text is output, re-read and revise it to ensure that it speaks to your needs.<br><strong>Back to top.</strong><br><h2 id="improve-ai-prompts">4. Improve your AI prompts</h2><br><br>Ready to build on what we’ve discussed so far? Here are some further steps to take to improve on your prompt writing:<br><ul><br><li aria-level="1">Offer the AI step-by-step instructions. Breaking down complex queries into simpler steps can help you get better results and more accurate responses.</li><br><li aria-level="1">Identify main ideas: Find the most important parts of your question.</li><br></ul><br>Example: A business owner wants to improve their online presence to drive sales. Main ideas: online presence, drive sales.<br><ul><br><li aria-level="1">Simplify your question. Turn your complex question into simpler, specific questions about each main idea.</li><br></ul><br>Example: What makes a strong online presence? How does a better online presence drive sales?<br><ul><br><li aria-level="1">Ask the chatbot. Enter the simple questions one by one for more focused answers.</li><br><li aria-level="1">Utilize prompt chains. Break down complex queries into a series of connected, simpler questions to obtain better results and more accurate responses.</li><br><li aria-level="1">Write shorter questions. Break down your complex question into smaller specific questions and order them in a logical order. Ask the chatbot these simpler questions one by one, using the answers to build a comprehensive response.<br /><br>Example: Improving Customer Service Complex question: "How can I improve customer service at my online store?"</li><br></ul><br><h2>Prompt chain:</h2><br><ul><br><li aria-level="1">What are the common pain points customers face when shopping online?<br /><br>[allow to answer, then type in the next]</li><br><li aria-level="1">What tools or processes can be implemented to address these pain points?<br /><br>[allow to answer, then type in the next]</li><br><li aria-level="1">How can the store proactively communicate with customers to improve their shopping experience?</li><br></ul><br>Pro tip: One way to achieve longer text is a simple prompt chain. After text is generated, type in “tell me more…”<br>Here are some further prompt descriptions that can enhance the chatbot's output:<br><ul><br><li aria-level="1">Linguistic and cultural context: Indicate the language and cultural background related to the discussion or subject, assisting the chatbot in producing more precise and pertinent responses.</li><br><li aria-level="1">Emotion and sentiment: Point out the desired emotional tone or sentiment you want to express in your conversation or subject, such as joy, sorrow, frustration, or astonishment.</li><br><li aria-level="1">Imagery and sensory details: Offer visual or sensory details to aid the chatbot in creating more vivid and captivating responses, like describing a setting or an item.</li><br><li aria-level="1">Actionable steps: Incorporate a call to action in your prompt, prompting the chatbot to create responses that inspire or convince the reader to act.</li><br><li aria-level="1">Brand character and identity: Determine the brand character and identity you wish to portray in your conversation or subject, like approachable, authoritative, or lighthearted.</li><br><li aria-level="1">Sector or niche-specific terminology: Supply sector or niche-specific terminology, helping the chatbot to produce responses customized for a particular audience or subject.</li><br><li aria-level="1">Historical or cultural allusions: Add historical or cultural allusions to assist the chatbot in creating responses that are both pertinent and informative.</li><br><li aria-level="1">Humor or amusement factor: Specify if you'd like the chatbot to produce responses with a humorous or entertaining aspect to engage readers.</li><br></ul><br><h2>Intermediate prompt writing tip</h2><br>Use this prompt to quickly and effectively "tune" your prompts. Copy and paste or type this before starting a chat:<br>I'd like you to act as my prompt assistant. Your mission is to help me create the most effective prompt for my requirements, which will be used by you, The chatbot. To achieve this, we'll follow these steps:<br><ul><br><li>Your initial response should be to inquire about the topic of the prompt. I'll provide my input, and we'll refine it through subsequent iterations by going through the following steps.</li><br><li>Based on my input, you'll produce 3 sections: a) refined prompt (supply an improved version of the prompt that is clear, concise, and easy for you to understand), b) recommendations (suggest what details could be added to the prompt for improvement), and c) inquiries (ask relevant questions related to any extra information needed from me to enhance the prompt).</li><br><li>We'll continue this iterative process, with me giving more information and you updating the Refined Prompt section until it's perfect.</li><br></ul><br>Keep refining until you're satisfied, then simply copy and paste the improved prompt into a new chat. Witness the transformation!<br><strong>Back to top.</strong><br><h2 id="practice-advanced-prompt-engineering">5. Practice advanced prompt engineering</h2><br>From here, you can further level up your prompt writing skills with these more-advanced tips:<br><ul><br><li aria-level="1">System message prompts: Use system messages to set context and guide chatbots for more accurate answers.</li><br><li aria-level="1">Set the context: Describe the conversation's purpose, background information and main goal.</li><br></ul><br>Example: [System message] You are an AI assistant helping a business owner improve their online presence to drive sales.<br><ul><br><li aria-level="1">Guide the chatbot: Remind the chatbot of its purpose when dealing with complex questions.</li><br></ul><br>Example: [System message] Remember, we're focusing on strategies for businesses to enhance their online presence and drive sales.<br><ul><br><li aria-level="1">Temperature parameters: Adjust the temperature to control the type of answers chatbots give.<br><ul><br><li aria-level="2">For focused answers: Set a low temperature (e.g., 0.2-0.5) when you need specific information or a direct answer.</li><br><li aria-level="2">Example: What are the top 3 strategies for businesses to improve their online presence?<br><ul><br><li aria-level="3">For creative answers: Set a high temperature (e.g., 0.8-1.0) when looking for brainstorming ideas or multiple solutions.</li><br></ul><br></li><br></ul><br></li><br></ul><br><h2>Troubleshooting common issues</h2><br>Common issues when using chatbots include receiving irrelevant, incomplete, or overly verbose responses. To improve response quality:<br><ul><br><li aria-level="1">Reframe your question: Make it more specific or rephrase it to avoid ambiguity. Example: Instead of "How to increase sales?", ask "What are effective strategies for a small business to increase sales online?"</li><br><li aria-level="1">Break down complex queries: Divide your question into smaller, simpler parts to get more focused answers.</li><br></ul><br><strong>Back to top.</strong><br><h2 id="suggested-uses">Suggested uses for generative AI</h2><br><br>Here is a list of some ideas of the various tasks that chatbots can be used for. This list is not comprehensive, it is ultimately as long as your imagination!<br><ol><br><li aria-level="1">Idea generation and brainstorming:<br><ul><br><li aria-level="2">Generate new ideas</li><br><li aria-level="2">Combine existing concepts</li><br><li aria-level="2">Get inspired by other creators</li><br><li aria-level="2">Explore online forums or communities</li><br><li aria-level="2">Reverse-engineer popular content</li><br></ul><br></li><br><li aria-level="1">Content creation and optimization:<br><ul><br><li aria-level="2">Write compelling ad copy</li><br><li aria-level="2">Craft engaging email content</li><br><li aria-level="2">Develop creative ad concepts</li><br><li aria-level="2">Utilize social media</li><br><li aria-level="2">Optimize SEO</li><br><li aria-level="2">Improve ad visuals</li><br><li aria-level="2">Consider localization</li><br></ul><br></li><br><li aria-level="1">Editing and proofreading:<br><ul><br><li aria-level="2">Read for clarity</li><br><li aria-level="2">Rearrange sentences</li><br><li aria-level="2">Enhance word choice</li><br><li aria-level="2">Check grammar and spelling</li><br><li aria-level="2">Simplify complex sentences</li><br><li aria-level="2">Ensure consistency</li><br><li aria-level="2">Summarization</li><br><li aria-level="2">Suggest revisions and additions</li><br></ul><br></li><br><li aria-level="1">Research and analysis:<br><ul><br><li aria-level="2">Analyze ad performance</li><br><li aria-level="2">Analyze demographic data</li><br><li aria-level="2">Understand pain points</li><br><li aria-level="2">Research industry trends</li><br><li aria-level="2">Research relevant keywords</li><br></ul><br></li><br><li aria-level="1">Audience targeting and campaign management:<br><ul><br><li aria-level="2">Target specific demographics</li><br><li aria-level="2">Create tailored content</li><br><li aria-level="2">Leverage influencers</li><br><li aria-level="2">Use the appropriate tone</li><br><li aria-level="2">Tailor campaigns</li><br><li aria-level="2">Plan social media posts</li><br><li aria-level="2">A/B test messaging</li><br><li aria-level="2">Curate resonating content</li><br></ul><br></li><br><li aria-level="1">Organization and planning:<br><ul><br><li aria-level="2">Set deadlines</li><br><li aria-level="2">Develop a task list</li><br><li aria-level="2">Prioritize activities</li><br><li aria-level="2">Allocate resources</li><br><li aria-level="2">Delegate responsibilities</li><br><li aria-level="2">Set milestones</li><br><li aria-level="2">Plan for contingencies</li><br></ul><br></li><br><li aria-level="1">Feedback and improvement:<br><ul><br><li aria-level="2">Ask for feedback</li><br><li aria-level="2">Incorporate feedback</li><br><li aria-level="2">Monitor progress</li><br><li aria-level="2">Test and revise</li><br></ul><br></li><br></ol><br><strong>Back to top.</strong><br><h2 id="ethics-responsible-use">Ethics and responsible use</h2><br>Using AI chatbots responsibly and ethically is important to prevent problems like wrong information, biases and negative effects. Chatbots learn from data that might have biases, so make sure to ask questions that promote fair answers and don't support stereotypes or false information.<br>Keep private information safe by not sharing or asking for sensitive details with the chatbot. Be careful when discussing sensitive topics, legal matters or health issues, because chatbots could give incorrect or harmful advice.<br><strong>Back to top.</strong><br><h2>Conclusion</h2><br>As you practice and refine your prompting skills, remember that continuous learning and adaptation are essential. Chatbots will continue to evolve and improve, and so should your strategies for engaging with them.<br>

What's your reaction ?

Comments (0)

No reviews found