mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
feat: Add figures and captions to blog post on code in JSON
This commit is contained in:
parent
a2882f4104
commit
2bb75dc11f
1 changed files with 5 additions and 0 deletions
|
@ -152,6 +152,8 @@ function createStripedCanvas(isStrict) {
|
|||
}
|
||||
</script>
|
||||
|
||||
> Figure 1: Benchmark scores of models using either plain markdown text or JSON to return code.
|
||||
> Models produce better code when they return it as plain markdown text, as compared to wrapping it in JSON for a tool function call.
|
||||
|
||||
## Abstract
|
||||
|
||||
|
@ -421,6 +423,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
});
|
||||
</script>
|
||||
|
||||
> Figure 2: Number of `SyntaxError` and `IndentationError` errors found in model generated code.
|
||||
> Models tend to make more syntactic errors when asked to wrap code in JSON.
|
||||
|
||||
|
||||
## Conclusions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue