"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateDynamicVariables = updateDynamicVariables;
function updateDynamicVariables(prompt, variables) {
    const keys = Object.keys(variables);
    let finalPrompt = prompt;
    keys.map(k => {
        const replacementKey = `{{${k}}}`;
        finalPrompt = finalPrompt.replace(replacementKey, variables[k]);
    });
    return finalPrompt;
}
