Simon Willison

llm 0.37.3

Read the original on Simon Willison →

The release of llm 0.37.3 is a bug‑fix update that addresses an issue caused by the latest Homebrew package of SQLite (3.54.1). The new SQLite version changed the behavior of JSON functions, causing LLM’s logging code to break; the fix involves wrapping the JSON array in a json() call. The update restores correct functionality for LLM’s JSON handling.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Simon Willison.

Simon Willison
Sep 11

github-to-sqlite 2.9.1

The article announces the release of github-to-sqlite version 2.9.1. It includes a fix that ensures compatibility with sqlite-utils 4.x. The update is relevant for users integrating GitHub data into SQLite databases.

Simon Willison
Nov 8

parse_number() as a SQLite extension: C vs Rust

Simon Willison investigated adding a `parse_number()` function to SQLite as a C extension versus a Rust extension. He compared performance, code complexity, and binary size, finding the Rust version (321 KB or 298 KB) was faster than the 14 KB C version, but a custom C implementation could match or beat Rust’s speed. The study included benchmark results over 2 million rows for mixed, integer‑only, and decimal‑only data sets.

Towards Data Science
Aug 31

Your LLM Can Return Perfect JSON and Still Be Wrong

The article discusses insights gained from a deeper examination of Structured Outputs when dealing with messy, incomplete data. It highlights that even when a large language model returns perfectly formatted JSON, the content can still be incorrect. The author reflects on the implications of this observation for data science practices.

By Benjamin Nweke