"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatInstructPrompt = exports.formatBasicPrompt = exports.formatChatMLPrompt = void 0;
const outdent_1 = require("outdent");
function formatChatMLPrompt(system, prompt) {
    return `<|im_start|>system\n${system}<|im_end|>\n<|im_start|>user\n${prompt}<|im_end|>\n<|im_start|>assistant\n`;
}
exports.formatChatMLPrompt = formatChatMLPrompt;
function formatBasicPrompt(system, prompt) {
    return (0, outdent_1.outdent) `
    Instructions: 
    ${system}

    ${prompt}`;
}
exports.formatBasicPrompt = formatBasicPrompt;
function formatInstructPrompt(system, prompt) {
    return (0, outdent_1.outdent) `
  <s>[INST] Instructions:\n${system}\n${prompt} [/INST]`;
}
exports.formatInstructPrompt = formatInstructPrompt;
