Create a CometAI Prompt Template

Instructions

A Prompt Template is a reusable structure that simplifies the creation of AI-generated responses for common tasks. Users will be able to define variable placeholders - such as audience, tone, or topic - that can be quickly customized each time the prompt is used.

By using templates, users can streamline repetitive tasks like drafting emails or creating social media posts, reducing the need to rewrite similar prompts and improving workflow efficiency.

  1. Open a web browser and go to CometAI.
  2. On the right column, select + Prompt Template.

Picture of right column with + Prompt Template button highlighted

  1. The Prompt Template window will appear. Provide a name and a brief description for the template.

Picture of Prompt Template window with Name and Description highlighted

  1. Select Default Instructions from the Custom Instructions drop-down.
    • Unlike the main prompt, which is used once per execution, Custom Instructions are repeated throughout the conversation to keep responses consistent. 

Picture of Custom Instructions with Default Instructions highlighted.

  1. Scroll down to the "Prompt" text box and enter a prompt that is frequently used and detailed as needed..  Next identify the words or phrases that will be changed during every use, also known as variables. Then place brackets around each variable wherever customization is needed ( e.g. {{sender}}, {{topic}}, {{tone}}, or {{audience}} ). Featured below are examples of a basic and detailed prompts.
    • Basic Prompt:
      Respond to an email from {{sender}} regarding {{topic}} in a tone that is {{tone}} and suitable for {{audience}}.
    • Detailed Prompt:
      Write a professional email to {{recipient type}} regarding {{technical issue or topic}}. Begin with a greeting appropriate for {{formality level}}. In the first paragraph, briefly explain the context of {{issue/topic}} and its impact. In the second paragraph, outline the steps taken or recommended actions, using clear and concise language. Close with a summary and offer further assistance if needed. Use a {{tone}} tone and ensure the message is suitable for {{audience type}}.
  2. Below the "Prompt" text box is a list of variables that CometAI identified.  Clicking on each variable will provide additional features that can help customize the generated text and how the template reacts to input.
    • Optional : Identifies this variable as optional if you do not provide information.
    • Line Numbers : Adds numbers to each line.
    • Escape : Removes double symbols like quotes or new lines.
    • Truncate : Limits the number of generated text characters at the beginning.
    • Truncate from End : Limits the number of generated text characters at the end.
    • Validate with Regular Expression : Checks if the text matches the provided expression.  If it does not, then you will not be able to submit the prompt. 

Picture of additional options for identified variables.

  1. Optional: Add Conversation Tags to organize, filter, and retrieve conversations more efficiently.  Tags can be used to connect to Follow-Up Buttons in conversations.

Picture of Conversation Tags and it's text box

  1. When complete, select Save to continue and the newly created template will appear in the right-hand column.

Picture of right column with the newly created template highlighted.

  1. Select the template and a new window will open showing your custom template with text boxes for the words or phrases you had identified earlier as bracketed variables.
    • Provide additional information in each text box and click Submit when finished.

Picture of the Prompt Template window.

  1. A new conversation will begin using the selected AI model and the chosen template. CometAI will start the conversation by generating a draft that includes the template structure, leaving additional bracketed variables that it provided (e.g. [Your name] and [Your title] ).
    • To complete the draft, reply to CometAI with the specific information for each variable.
    • In the image below we identified [Your name] as Joe Smith and [Your title] as TechKnowledgy Bar Manager.

Picture of a drafted email response with additional information provided by the user.

  1. CometAI will generate a new draft and displaying information for the newly identified variables.

Picture of Generated Text based on template and user's provided information.