Type
Prompt engineering involves crafting prompts that guide AI to produce the desired output. Effective prompts enhance the ability of the AI tool to generate succinct and relevant responses of high quality.
Prompts guide AI tools by providing questions, commands, or statements to generate output with the desired structure, tone, and relevance. Proficient prompt writing is essential to maximize the use of AI Assistant for Acrobat.
Common types of prompts
Here's a list of common types of prompts with examples of how each can be effectively used to achieve specific outcomes with generative AI tools:
|
Example |
---|---|
Classification of the text |
Categorize this document, analysis, blog, report, or review under a specific category, such as marketing or finance and so on. |
Sentiment analysis |
Is this product or feature review positive or negative? |
Summarization |
Summarize this analyst report in a few paragraphs. |
Rewriting content |
Review these instructions and provide them in simple language for beginners. |
Information extraction |
Find strategic drivers for the company. |
Comparison |
Compare the performance per quarter and showcase the growth percentage across the last two quarters. |
A well-crafted prompt for AI Assistant for Acrobat integrates specific tasks, relevant context, clear expectations, and formatting guidelines to guide the AI to generate the desired outcome.
Here are components of a prompt used to guide AI Assistant for Acrobat to generate precise output:
Component |
Example |
---|---|
The task is the first component of the prompt. It should provide clear directions to the AI Assistant for Acrobat. |
Create a product feedback summary. |
The context is the second component of the prompt, supplying the necessary information for the AI Assistant for Acrobat to respond appropriately. |
Based on recent customer reviews. |
(Optional) Highlight expectations to convey response goals. |
The summary should identify key themes, overall sentiment, and any recurring issues or praises. |
(Optional) Specify a format for the output. |
Format the summary to be concise, and present the information in a clear, easy-to-understand manner suitable for a marketing team meeting. |
When crafting a prompt, think of it as directing a helpful assistant—the more specific, the more consistent the outputs. Embrace experimentation in prompt engineering by varying questions and adding context.
To generate the most informative and useful responses, clearly define your goals, provide relevant context, use clear and concise language, employ examples, outline steps, and build on prior interactions. A prompt includes the following information:
- The topic.
- Keywords or phrases associated with the topic.
- The tone of the response.
- The target audience.
Below are key considerations and approaches for crafting effective prompts to quickly generate relevant insights.
Be intentional with your prompts
To craft effective prompts, first understand your task and then clearly specify the desired outcome:
-
Understand your task
Start by clearly understanding your task and its goals. Decide if you need a summary, specific information extraction, or content creation, as this will directly influence your prompt.
-
Specify the desired outcome
Ensure your prompt clearly specifies the desired outcome. For example, if you need a brief summary, state the requirement explicitly, like "Summarize the three main points in under 150 words." If a different format like a table or bulleted list is needed, make that clear, such as "Format the output as a bulleted list."
Examples
|
Keep it simple
To enhance clarity and focus in your interactions, keep your prompts simple and break down complex questions into manageable parts:
-
Use clear language
Use clear, concise language in your prompts and avoid complex sentences or technical jargon unless needed to clarify your intent.
Example: Extract all statistics related to renewable energy from the document and present them in a bulleted list.
-
Break down complex questions
Split complex or multifaceted questions into simpler, individual prompts to keep each interaction focused and clear.
Examples:
- First, provide an overview of the current global renewable energy landscape. <Type this after you get a response to the above request>
- Next, analyze the top three renewable energy trends in 2024. <Type this after you get a response to the above request>
- Finally, predict potential shifts in these trends over the next five years.
Communicate constraints
Specify constraints clearly when communicating. If your request has limitations, like a word count or a focus on specific sections or themes, stating these upfront helps tailor the response accordingly.
Example: Summarize the Methodology section of this paper in 150 words or fewer. |
Customize prompts
Tailor prompts to fit your needs. Specify the output's tone, style, and audience, as this context adds depth and improves response quality. Experiment with various lengths, tones, and voices as desired.
Examples:
|
Define desired output format
Specify the desired output format. Clearly indicate if a particular format like paragraphs, bullet points, lists, tables, JSON, or XML adds value. Also, define the style and tone, ranging from formal to casual or persuasive, to align the output with your goals.
Format strategies:
- Clearly define the needed format, such as bullet points, paragraphs, JSON, or XML.
- Choose a format suited to the output's use, like data integration or readability.
- For structured formats, specify essential fields or elements.
- Experiment with different prompts and outputs to refine the response.
Examples:
|
Improve results with few-shot learning
Few-shot learning enables AI models to predict accurately with few examples, focusing on generalization over memorization. Include examples to direct the AI Assistant for Acrobat's approach. This method is particularly useful for creating creative, analytical outputs or structuring detailed responses.
Examples:
|
Guide with chain-of-thought prompting
Chain-of-thought prompting directs the AI Assistant for Acrobat through sequential reasoning, mimicking human logic to solve problems or answer questions. This method breaks tasks into logical steps, improving AI responses. Effective prompting tips:
- Outline steps - Present each step as a question or statement leading to the next part of the process. Use cues like "Let’s think step by step," "Consider each aspect one by one," or "Firstly, secondly, finally" to signal logical connections.
- Logical flow - Ensure prompts lead the AI Assistant for Acrobat logically toward the solution.
- Transparency - Prompt the AI Assistant for Acrobat to show its reasoning, creating a clear path to the final decision.
Example:
Given a customer [complaint] about the issues in the installation steps of the build. First, identify possible reasons for the issues based on our [installation steps]. Next, outline appropriate reasons we can offer the customer, including steps they have to do to remove the software. Lastly, draft a final response incorporating these elements. |
Expand responses using prompt chaining
Prompt chaining involves an iterative process of prompts and responses, where each new prompt builds upon the AI Assistant for Acrobat's previous response. This method is ideal for creative tasks like narrative generation or brainstorming, allowing ideas to evolve gradually. Unlike chain-of-thought prompting, which offers detailed single-response reasoning, prompt chaining is dynamic and involves multiple interactions over time.
Example:
|
Check for accuracy
Occasionally, the AI Assistant for Acrobat may make mistakes. Always double-check its responses for accuracy, grammar, and style.
Iterate and improve
Use previous responses as a foundation for further interactions with AI Assistant for Acrobat, enhancing its effectiveness over time. Refine prompts to better guide the AI, adding context, clarifying objectives, or asking more specific questions if needed. Crafting effective prompts is a skill that improves with practice, so embrace failures as learning experiences and keep experimenting.
- Vagueness. When prompting, use clear language to receive better-quality responses.
- Requesting inappropriate or unethical content. You are responsible for the content and consequences of your prompts. Always respect local laws, rules, others' rights, and terms of service when using the AI Assistant for Acrobat.
- Slang, jargon, or informal language. Using informal language may lead to low-quality, inappropriate, or unprofessional responses from the AI Assistant for Acrobat.
- Conflicting instructions. Prompts containing conflicting information can confuse the AI Assistant for Acrobat, resulting in lower-quality responses.
- Overcomplicating prompts. Simplify your prompts to ensure clarity for the AI Assistant for Acrobat, focusing on tasks the AI can handle effectively.
- Assuming prior knowledge. Don't assume that the AI Assistant for Acrobat knows what is provided in the prompt, as this can lead to inaccuracies. Always provide context and set clear expectations.
Here are key practices for responsible AI use:
-
Fairness
AI prompts should treat all individuals impartially, without bias based on gender, race, sexual orientation, or religion. Ensure your prompts are free from discriminatory language or assumptions.
Example: Analyze these resumes and rank the candidates based on their qualifications in terms of the number of years in [field], ensuring the analysis is free from gender, race, or age biases.
-
Inclusiveness
AI systems should embrace diversity and inclusivity. Incorporate inclusive design practices in prompts to avoid unintentional exclusion of any group.
-
Accountability
Human oversight is essential in AI development. Ensure accountability by overseeing and governing AI processes and taking responsibility for the inputs and outputs generated.
For more information, see Adobe’s commitment to AI ethics.