From c9a39ea09e0772e26ff420cfadb2582519139346 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Thu, 22 May 2025 12:14:00 -0700 Subject: [PATCH] fix: Escape curly braces in conceptualizer prompt JSON example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The JSON example in the prompt was causing template formatting errors because curly braces weren't escaped. This was being interpreted as template variables by Python's .format() method, causing KeyError: '\n "concepts"'. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- prompts/cominds/conceptualizer.co | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/prompts/cominds/conceptualizer.co b/prompts/cominds/conceptualizer.co index d094b47..979791d 100644 --- a/prompts/cominds/conceptualizer.co +++ b/prompts/cominds/conceptualizer.co @@ -31,22 +31,22 @@ For each concept, specify the relationship type: Example output: ```json -{ +{{ "concepts": [ - { + {{ "text": "distributed systems", "relationship": "DESCRIBES" - }, - { + }}, + {{ "text": "network effects", "relationship": "MENTIONS" - }, - { + }}, + {{ "text": "centralization", "relationship": "CRITIQUES" - } + }} ] -} +}} ``` ## Guidelines -- 2.51.2