INNER CODE UNIT · JavaScript

buildCriticPrompt

meursyphus/flitter · dev/llm-playground/app.js:47

function buildCriticPrompt(testCase) {
  return [
    "You are the context-aware critic for the Flitter chart LLM pack.",
    "Review the reader output against the linked documents and the checklist.",
    "",
    "Pack links:",
    ...testCase.pack.map((item) => `- ${item}`),
    "- /llm/critic-checklist.md",
    "",
    "Original task prompt:",
    testCase.prompt,
    "",
    "Review focus:",
    ...testCase.criticFocus.map((item) => `- ${item}`),
    "",
    "Reader output:",
    "<<PASTE READER OUTPUT HERE>>",
    "",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…