MAIDR Documentation - v3.39.0
    Preparing search index...

    Function formatSystemPrompt

    • Formats the system prompt by combining base prompt with custom instructions.

      Parameters

      • customInstruction: string

        Additional custom instructions to append

      • expertiseLevel: "custom" | "basic" | "intermediate" | "advanced"

        The expertise level to determine base prompt

      Returns string

      The formatted system prompt string