Anatomy of a Prompt

Anatomy of a Prompt

A well-structured prompt is crucial for obtaining precise and relevant responses from AI assistants. The structure typically consists of three main parts:

  1. Context
  2. Instruction
  3. Output
ℹ️

Additionally, an optional fourth part called Example can be used for more specific completions.

Context

  • Defines the AI’s persona or role
  • Sets the knowledge domain and expertise level
  • Typically placed at the beginning of the prompt
  • Can be stored in “Custom Instructions” for persistent use

Example:

Context
You are an HR expert with a Ph.D. in Industrial and Organizational Psychology,
experienced in personnel selection techniques and AI's impact on HR decisions.

Instruction

  • Specifies the task or request
  • Follows the Context, either in the same paragraph or after a line break
  • Should be specific and detailed

Example:

Instruction
Your task is to draft an onboarding email for new employees at OpenAI,
listing our values and providing meeting details with the HR head.

Output

  • Usually placed at the end of the prompt
  • Explicitly states the desired format or type of response
  • Can include emphasis through repetition

Example:

Output
Deliver the letter in Microsoft Word format, with your output ready to be copied
and pasted into a new Word document, maintaining a defined format and structure.

Example (Optional)

  • Provides a template or example for the AI to base its response on
  • Useful for achieving a specific style or format

Example:

Example (Optional)
Write an email signature disclaimer based on this **Example:** [example text]

Best Practices

  • Be specific and detailed in your instructions
  • Use emphasis (repetition) for important points
  • Iterate and refine your prompts for better results
  • Consider using all parts of the prompt structure for complex tasks

What’s next?

Efficient file management is crucial for leveraging the full potential of your AI assistants. The File Management section allows you to upload, organize, and manage all the files relevant to your HR tasks and AI assistants. This centralized location ensures that your documents are easily accessible for various tasks such as Q&A, document generation, and more.

In the following sections, we will guide you through the process of accessing the file management system, uploading files, organizing them, and utilizing them effectively with your AI assistants. Whether you need to manage resumes, onboarding documents, or any other HR-related files, understanding how to use this feature will enhance your productivity and streamline your HR processes. Let’s get started!