Datalayer VS Code Extension - v0.0.17
    Preparing search index...
    • Selects and generates the appropriate prompt based on content type.

      Parameters

      • contentType: "code" | "prose"

        Whether to generate a code or prose completion prompt.

      • vars: { language?: string; prefix: string; suffix: string }

        Context variables including optional language and surrounding text.

        • Optionallanguage?: string

          Programming language for code completions.

        • prefix: string

          Text before the cursor position.

        • suffix: string

          Text after the cursor position.

      Returns string

      Formatted prompt string for the language model.