All Collections
Key Guidelines for Writing Instructions for Custom GPTs
Key Guidelines for Writing Instructions for Custom GPTs
Updated over a week ago

As you transition to writing Custom GPTs, implementing effective prompt engineering practices within your instructions is crucial to ensure your GPTs perform reliably and accurately. Here’s a concise guide to help you navigate smoothly with your Custom GPTs.

Enhancing Instructions

  1. Simplify Complex Instructions:

    • Break down multi-step instructions into simpler, more manageable steps to ensure the model can follow them accurately.

    • Use “trigger/instruction pairs”, separated by delimiters to improve reliability in following steps without merging or skipping them.

      • These look like the following:

        Trigger: User submits information
        Instruction: Analyze information for themes

        Trigger: Themes analyzed
        Instruction: Leverage themes analyzed to provide summary
        in bullet point form of the recommendations you’d give

  2. Structure for Clarity:

    • Break down second-level instructions into separate steps for better execution.

    • Use delimiters between instruction sets and for call-outs of few-shot examples to enhance clarity.

  3. Promote Attention to Detail:

    • Incorporate “take your time,” “take a deep breath,” and “check your work” techniques to encourage the model to be thorough.

    • Use “strengthening language” to highlight critical parts of the instructions, ensuring they are not overlooked.

  4. Avoid Negative Instructions:

    • Frame instructions positively to improve adherence and avoid confusion.

  5. Granular Steps:

    • Break down steps as granularly as possible, especially when multiple actions are required within a single step.

  6. Consistency and Clarity:

    • Explicitly define terms and definitions you are expecting using few-shot prompting (e.g., acceptable vs. unacceptable changes) to improve consistency in evaluations.

    • Clarify any relevant classifications with few-shot examples to reduce variability in output.

Special Care with Tools and Actions

  1. Leveraging Knowledge Files:

    • Provide explicit instructions for using knowledge files, including specifying file names.

    • Instruct the model to slow down and analyze the entire file to ensure comprehensive utilization.

  2. Specificity in Prompts for Knowledge Extraction:

    • Add specificity in prompts, particularly when extracting critical information like dates or financial information. Give specific examples through “few shot prompting”.

    • Encourage the model to thoroughly check its work and take its time when retrieving specific data from files.

  3. Examples of Good Output:

    • Provide examples of what good output looks like concerning knowledge and custom actions.

  4. Referencing Actions:

    • Always refer to actions by name and domain to enhance clarity.

    • Provide “few-shot prompting” examples with API calls where needed to ensure correct action is called.

    • Use delimiters for different action steps to ensure the correct actions are called.

  5. Explicit Tool Use Instructions:

    • Provide explicit instructions to use tools such as Browse, Knowledge, and Custom Actions throughout the instructions.

By following these guidelines, you can optimize the performance of your custom GPTs, ensuring reliable and accurate outputs.

Did this answer your question?