This commit is contained in:
Paul Gauthier 2024-08-15 15:40:11 -07:00
parent 0dacb3f540
commit c66a771119

View file

@ -13,8 +13,9 @@ nav_exclude: true
AI coding applications should avoid asking LLMs to return code as part of a structured AI coding applications should avoid asking LLMs to return code as part of a structured
JSON response, JSON response.
even though many LLMs have special support for returning JSON. 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 A variant of the aider code editing benchmark clearly demonstrates that
asking for JSON-wrapped code asking for JSON-wrapped code
often harms coding performance. often harms coding performance.