LLM 0.32a0 is a major backwards-compatible refactor

Simon Willison Blog
Generative AI

I just released LLM 0.32a0, an alpha release of my LLM Python library and CLI tool for accessing LLMs, with some consequential changes that I've been working towards for quite a while. Previous versions of LLM modeled the world in terms of prompts and responses. Send the model a text prompt, get back a text response. import llm model = llm. get_model ( "gpt-5.5" ) response = model. prompt ( "Capital of France?" ) print ( response. text ) This made sense when I started working on the library back in April 2023.