Prompts

Creating and Editing Prompts

Creating well-structured prompts is crucial for ensuring accurate AI outputs. In Datograde, you can create new prompts, edit existing ones, and manage their versions to refine performance.


Creating a New Prompt

  1. Navigate to the Prompts section and click New Prompt.

  2. In the Prompt Editor, fill out the following fields:

    • Name: A descriptive name for your prompt (e.g., "Summarize Transcript").
    • Tags: Add relevant tags to categorize the prompt (e.g., draft, summarization).
    • Instructions: Write the core instructions the AI should follow. For example:
      Summarize the following interview transcript in 3-5 sentences, highlighting key insights and action items.
    • Expected Input: Define the input format (e.g., "A JSON object containing a transcript string").
    • Expected Output: Specify the desired output format (e.g., "A string summarizing the transcript").
  3. Use the Preview panel to test your prompt with a sample input.

  4. Click Save to save your prompt.


Editing an Existing Prompt

  1. Select a prompt from the Prompts Dashboard.
  2. Click Edit to open the Prompt Editor.
  3. Make changes to:
    • Instructions to refine the AI behavior.
    • Input/output expectations to ensure clarity.
  4. Save your changes as a new version, preserving the history of previous versions.

Version Control

  1. Each edit to a prompt creates a new version.
  2. Use the Version History tab to:
    • Compare versions and roll back to a previous version if needed.
    • Review comments and activity logs associated with each version.

Tips for Writing Effective Prompts

  • Be Clear and Specific: Ambiguity in instructions can lead to inconsistent outputs.
  • Use Constraints: Specify limits on the length, format, or tone of the output.
  • Provide Context: If the input is complex, include example formats or clarifications in the instructions.

Next Steps

On this page