Browse Tasks

Select category

Select category

Select category

Select category

Select Task

Select Task

Select Task

Select Task

Select Tasks

Select Industry

Product Description Generation

User-Generated Content Moderation

Natural Language Product Search

Personalised Product Recommendation

Fraudulent Transaction Detection

Image Quality Assesment

Product Categorisation

Product Feature Extraction

Customer Review Sentiment Analysis

CRM

Prompt Enhancement

This task automates the process of optimising system and user prompts for generative AI tasks, enhancing the quality and relevance of AI-generated outputs. Particularly valuable for AI Engineers, Data Scientists, and Product Managers working with language models, the automated process:

  • Analyses existing system and user prompts for clarity, specificity, and effectiveness

  • Identifies potential ambiguities or inefficiencies in prompt structure

  • Suggests improvements to enhance prompt clarity and focus

  • Optimises prompts for better alignment with desired output formats

  • Incorporates best practices in prompt engineering

  • Provides alternative phrasings or structures for prompts

  • Evaluates prompt complexity and suggests simplifications where appropriate

  • Offers guidance on including relevant context or constraints in prompts


Applicable across various AI applications, including consumer apps, internal tools, and data analysis systems, this solution integrates seamlessly with existing AI development workflows. It streamlines the iterative process of prompt engineering, enabling AI teams to achieve better performance and more consistent outputs from their models. This template can be swiftly adapted to focus on specific types of AI tasks or output formats.

Example outputs:

[
  {
    "scenario": "Legal Contract Analysis AI",
    "output": {
      "original_system_prompt": "You are a legal AI assistant. Analyse contracts.",
      "enhanced_system_prompt": "You are an advanced legal AI assistant specialising in contract analysis. Your primary function is to review and interpret legal contracts, identifying key clauses, potential risks, and areas requiring attention. You have comprehensive knowledge of contract law, common legal terminology, and standard contractual structures across various industries. Prioritise accuracy, clarity, and actionable insights in your analysis.",
      "system_prompt_improvements": [
        "Specified the AI's specialisation in contract analysis",
        "Defined primary functions:review, interpret, identify key elements",
        "Mentioned specific areas of knowledge:contract law, legal terminology, contractual structures",
        "Emphasised priorities:accuracy, clarity, and actionable insights"
      ],
      "original_user_prompt": "Analyse this contract: {contract_text}",
      "enhanced_user_prompt": "Conduct a thorough analysis of the following contract:\n\n{contract_text}\n\nProvide a structured report that includes:\n1. Contract type and primary purpose\n2. Key parties involved and their obligations\n3. Critical dates and deadlines\n4. Significant clauses (e.g., termination, indemnification, confidentiality)\n5. Potential risks or areas of concern\n6. Any unusual or non-standard provisions\n7. Suggestions for areas that may require legal counsel review\n\nFormat your analysis with clear headings, bullet points, and, where appropriate, direct quotes from the contract. Highlight any terms or clauses that are particularly favourable or unfavourable to our client.",
      "user_prompt_improvements": [
        "Provided a clear structure for the analysis report",
        "Specified key elements to identify and analyse",
        "Requested identification of risks and unusual provisions",
        "Added instruction to suggest areas needing legal counsel review",
        "Included formatting instructions for clarity",
        "Asked for highlighting of particularly important terms"
      ],
      "clarity_score": "High",
      "specificity_score": "High",
      "alignment_score": "High",
      "alternative_phrasings": [
        "As a legal expert, dissect the following contract:{contract_text}. Provide a comprehensive analysis focusing on key terms, potential liabilities, and strategic implications for our client.",
        "Examine the provided contract with a legal expert's eye:{contract_text}. Break down its structure, highlight critical components, and offer insights on its implications and any areas of concern."
      ],
      "best_practices_applied": [
        "Established clear role and expertise in the system prompt",
        "Provided detailed, structured instructions in the user prompt",
        "Requested specific, actionable outputs",
        "Encouraged critical analysis beyond mere summarisation"
      ],
      "additional_recommendations": [
        "Consider adding industry-specific guidance for different types of contracts (e.g., employment, real estate, mergers and acquisitions)",
        "Implement a mechanism for the AI to reference relevant case law or regulatory requirements",
        "Include instructions for comparing the contract against a standardised template or best practices in the industry"
      ]
    }
  },
  {
    "scenario": "E-commerce Product Description Generator",
    "output": {
      "original_system_prompt": "You are an AI that writes product descriptions.",
      "enhanced_system_prompt": "You are an expert AI copywriter specialising in e-commerce product descriptions. Your role is to craft compelling, accurate, and SEO-friendly product descriptions that highlight key features, benefits, and unique selling points. You have a deep understanding of consumer psychology, current market trends, and effective sales language across various product categories. Prioritise engaging content that balances information with persuasion, adhering to the brand's tone of voice and target audience preferences.",
      "system_prompt_improvements": [
        "Specified the AI's role as an expert copywriter for e-commerce",
        "Defined key aspects of the descriptions:compelling, accurate, SEO-friendly",
        "Mentioned specific areas of expertise:consumer psychology, market trends, sales language",
        "Emphasised balancing information and persuasion",
        "Added importance of brand voice and target audience consideration"
      ],
      "original_user_prompt": "Write a description for this product: {product_details}",
      "enhanced_user_prompt": "Create an engaging product description based on the following details:\n\nProduct: {product_name}\nCategory: {product_category}\nKey Features: {key_features}\nTarget Audience: {target_audience}\nBrand Tone: {brand_tone}\nPrice Point: {price_point}\nUnique Selling Points: {unique_selling_points}\n\nGenerate a description that:\n1. Starts with a captivating opening line\n2. Highlights the top 3-5 key features and their benefits\n3. Incorporates the unique selling points\n4. Addresses potential customer pain points or desires\n5. Includes a clear call-to-action\n6. Uses sensory language and vivid adjectives appropriately\n7. Maintains the specified brand tone\n8. Naturally incorporates relevant keywords for SEO\n\nFormat the description in 2-3 short paragraphs, with an optional bulleted list for key features. Aim for 150-200 words total. Ensure the language resonates with the target audience and aligns with the price point.",
      "user_prompt_improvements": [
        "Requested specific product details for a more tailored description",
        "Provided a clear structure for the description",
        "Specified key elements to include (features, benefits, USPs, etc.)",
        "Added instructions for tone, style, and SEO considerations",
        "Included guidance on format and length",
        "Emphasised alignment with target audience and price point"
      ],
      "clarity_score": "High",
      "specificity_score": "High",
      "alignment_score": "High",
      "alternative_phrasings": [
        "Craft a persuasive product narrative for:{product_name}. Weave together its features, benefits, and unique attributes into a compelling story that resonates with {target_audience} and embodies the essence of {brand_tone}.",
        "As a skilled e-commerce copywriter, sell {product_name} through words. Create a description that not only informs but entices, highlighting what makes this product a must-have for {target_audience}."
      ],
      "best_practices_applied": [
        "Established clear role and expertise in the system prompt",
        "Requested comprehensive product information in the user prompt",
        "Provided specific, actionable instructions for description structure",
        "Emphasised balance between information and persuasion",
        "Included guidance on SEO and brand alignment"
      ],
      "additional_recommendations": [
        "Consider adding instructions for incorporating social proof or customer testimonials if available",
        "Suggest including guidance on how to address common objections or comparisons with competing products",
        "Implement a mechanism for the AI to adapt its language based on different e-commerce platforms or marketplaces"