Simon Willison’s Weblog

Subscribe

Sunday, 17th November 2024

Release llm 0.18 — Access large language models from the command-line

LLM 0.18. New release of LLM. The big new feature is asynchronous model support - you can now use supported models in async Python code like this:

import llm

model = llm.get_async_model("gpt-4o")
async for chunk in model.prompt(
    "Five surprising names for a pet pelican"
):
    print(chunk, end="", flush=True)

Also new in this release: support for sending audio attachments to OpenAI's gpt-4o-audio-preview model.

# 8:40 pm / async, projects, python, ai, generative-ai, llms, llm

Release llm-claude-3 0.9 — LLM plugin for interacting with the Claude 3 family of models
Saturday, 16th November 2024
Monday, 18th November 2024