dist / lenses / creative.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreativeLens = void 0;
class CreativeLens {
llmClient;
id = "creative";
label = "🎨 Kreatywna perspektywa";
description = "Proponuje nieszablonowe podejścia i innowacyjne pomysły";
icon = "🎨";
constructor(llmClient) {
this.llmClient = llmClient;
}
async generate(originalPrompt, temperature) {
const systemPrompt = `You are a creative brainstorming assistant.
Reimagine the user's input with a focus on innovation, originality, and unconventional approaches.
Propose 3 distinct, creative variations.`;
return await this.llmClient.call({
systemPrompt,
userPrompt: originalPrompt,
temperature: Math.min(temperature + 0.2, 1.0),
});
}
}
exports.CreativeLens = CreativeLens;