From c66a771119175b9b407efdaf6752bbc28df451a6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 15 Aug 2024 15:40:11 -0700 Subject: [PATCH] copy --- aider/website/_posts/2024-08-14-code-in-json.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aider/website/_posts/2024-08-14-code-in-json.md b/aider/website/_posts/2024-08-14-code-in-json.md index 2c6b6383a..5e28d3420 100644 --- a/aider/website/_posts/2024-08-14-code-in-json.md +++ b/aider/website/_posts/2024-08-14-code-in-json.md @@ -13,8 +13,9 @@ nav_exclude: true AI coding applications should avoid asking LLMs to return code as part of a structured -JSON response, -even though many LLMs have special support for returning JSON. +JSON response. +Even though many LLMs have special support for returning JSON, +using it with code often causes lower quality code generation. A variant of the aider code editing benchmark clearly demonstrates that asking for JSON-wrapped code often harms coding performance.