From e523bafc9bc82d450a1d2fa201f6373c3265c9b9 Mon Sep 17 00:00:00 2001 From: KS Jannette Date: Wed, 11 Feb 2026 14:46:56 -0500 Subject: [PATCH] cleanup --- backend/services/clustering.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/clustering.service.js b/backend/services/clustering.service.js index 40ffd17..c73ab2d 100644 --- a/backend/services/clustering.service.js +++ b/backend/services/clustering.service.js @@ -12,11 +12,11 @@ const buildPrompt = (notes) => { Below is a JSON array of sticky notes. Each note has an "id" and a "text" field. Analyze the "text" field of every note and group them into meaningful thematic clusters. -Return ONLY a valid JSON array with this exact structure — no markdown, no explanation, no extra text: +For each cluster, return ONLY a valid JSON array with the below exact structure — no markdown, no explanation, no extra text - where the value for the "label" key is a name you create to describe the cluster's theme and the value for the "noteIds" key is an array containing the Ids of the notes that fit into that cluster theme. [ { - "label": "Short descriptive theme name", + "label": "Short descriptive theme name for cluster", "noteIds": ["note_001", "note_002"] } ]