Creating effective prompts is key to generating high-quality content with NextGenAiAssistant. However, as a user, you are not required to craft full, technical prompts. Instead, your input is seamlessly appended to the module’s predefined base prompt. This approach ensures that the AI receives consistent instructions, while allowing you to customize the generated content with minimal effort.
This guide will walk you through how to craft concise and impactful prompts for various use cases without worrying about technical details like formatting or output structures.
What is a User Prompt?
A user prompt in NextGenAiAssistant is a simple, concise instruction added to the base prompt. It allows you to specify additional details or preferences about the content you want the AI to generate. For example:
- Adjusting the tone or style of the content.
- Providing context like word count or a specific focus.
The base prompt, which includes the AI’s core instructions (e.g., output format, required data fields), is handled entirely by the module. This ensures that every request follows a standardized structure.
Best Practices for Writing User Prompts
- Focus on What Matters:
- Instead of crafting detailed technical prompts, focus on the specific content you want. For example:
- “Make the description suitable for a luxury audience.”
- “Include a focus on eco-friendly materials.”
- Instead of crafting detailed technical prompts, focus on the specific content you want. For example:
- Be Concise:
- Keep your prompt short and to the point. Avoid lengthy explanations, as the base prompt already provides the AI with essential details.
- Add Context:
- Specify any preferences or extra details that the base prompt might not cover. For example:
- “Use an engaging tone for young professionals.”
- “Highlight sustainability and durability.”
- Specify any preferences or extra details that the base prompt might not cover. For example:
- Avoid Technical Instructions:
- Do not include technical requirements like “return JSON” or “include metadata.” The base prompt automatically handles formatting and structure.
- Test and Refine:
- Try different variations of your prompts to see what produces the best results. Adjust your input based on the AI’s output.
User Prompt Examples
1. Product Descriptions
- User Prompt:
“Focus on durability and modern design.” - Base Prompt (Handled by the Module):
“Generate a product description in {language_name} based on product info from the assistant file. Return the description as ‘description’ and always return ‘id’.” - AI Output:
“This cutting-edge laptop is built to last, featuring a sleek, modern design that complements its high durability. Perfect for both work and leisure.”
2. SEO Metadata
- User Prompt:
“Make it appealing for eco-conscious consumers.” - Base Prompt (Handled by the Module):
“Generate SEO metadata, including a meta title, meta description, and meta keywords, for the product {product_name} in {language_name} based on product info from the assistant file.” - AI Output:
Meta Title: “Eco-Friendly Water Bottle – Sustainable and Durable”
Meta Description: “Explore our eco-friendly water bottle, designed for sustainability and durability. Perfect for environmentally conscious lifestyles.”
3. Translations
- User Prompt:
“Use a professional tone.” - Base Prompt (Handled by the Module):
“Translate the product description of {product_name} to {language_name} based on product info from the assistant file.” - AI Output (French):
“Cette bouteille d’eau réutilisable est idéale pour les professionnels soucieux de l’environnement. Sa conception élégante et durable garantit une utilisation optimale.”
4. Adjusting Focus
- User Prompt:
“Include details about energy efficiency.” - Base Prompt (Handled by the Module):
“Generate a category description in {language_name} based on category data from the assistant file. Return the description as ‘description’ and always return ‘id’.” - AI Output:
“Our range of appliances combines cutting-edge technology with outstanding energy efficiency. Designed for eco-conscious homeowners, these products reduce environmental impact while saving on energy costs.”
What Not to Include in User Prompts
- Formatting Instructions:
- Avoid specifying output formats (e.g., “return JSON”). The module automatically ensures that outputs are formatted correctly.
- Core Instructions:
- Don’t restate basic requirements like “write a product description” or “translate this to French.” These are already included in the base prompt.
- Unnecessary Details:
- Avoid redundant or overly detailed explanations, as they may confuse the AI or make the prompt overly complex.
Tips for Effective User Prompts
- Be Specific: Provide clear preferences without overloading the prompt.
Example: “Highlight features that appeal to tech enthusiasts.” - Use Keywords: Keywords like “luxury,” “budget-friendly,” or “family-oriented” help set the tone.
Example: “Emphasize affordability and family use.” - Adapt to the Context: Tailor your prompt to the target audience or purpose of the content.
Example: “Write in a formal tone for a corporate audience.”
By focusing on concise, impactful instructions and letting the module handle the technical details, you can generate high-quality content that meets your specific needs.