New audio fashions from OpenAI, however how a lot can we depend on them?
In this text:
-
New audio fashions from OpenAI, however how a lot can we depend on them?
Plus 11 hyperlinks and a couple of quotations
Thanks for studying Simon Willison’s Newsletter! Subscribe at no cost to obtain new posts and assist my work.
New audio fashions from OpenAI, however how a lot can we depend on them? – 2025-03-20
OpenAI introduced a number of new audio-related API options right this moment, for each text-to-speech and speech-to-text. They’re very promising new fashions, however they seem to endure from the ever-present threat of unintentional (or malicious) instruction following.
gpt-4o-mini-tts
gpt-4o-mini-tts is a model new text-to-speech mannequin with "higher steerability". OpenAI launched a pleasant new playground interface for this at OpenAI.fm – you’ll be able to decide from 11 base voices, apply directions like "High-energy, eccentric, and barely unhinged" and get it to learn out a script (with elective further stage instructions in parenthesis). It can then present the equal API code in Python, JavaScript or curl. You can share hyperlinks to your experiments, this is an instance.
Note how a part of my script there seems like this:
(Whisper this bit:)
Footsteps echoed behind her, sluggish and deliberate. She turned, coronary heart racing, however noticed solely shadows.
While enjoyable and handy, the truth that you’ll be able to insert stage instructions within the script itself looks like an anti-pattern to me – it means you’ll be able to’t safely use this for arbitrary textual content as a result of there is a threat that a few of that textual content might unintentionally be handled as additional directions to the mannequin.
In my very own experiments I’ve already seen this occur: typically the mannequin follows my "Whisper this bit" instruction accurately, different instances it says the phrase "Whisper" out loud however does not communicate the phrases "this bit". The outcomes seem non-deterministic, and may additionally range with completely different base voices.
gpt-4o-mini-tts prices $0.60/million tokens, which OpenAI estimate as round 1.5 cents per minute.
gpt-4o-transcribe and gpt-4o-mini-transcribe
gpt-4o-transcribe and gpt-4o-mini-transcribe are two new speech-to-text fashions, serving an identical objective to whisper however constructed on prime of GPT-4o and setting a "new state-of-the-art benchmark". These can be utilized by way of OpenAI’s v1/audio/transcriptions API, as different choices to `whisper-1. The API remains to be restricted to a 25MB audio file (MP3, WAV or a number of different codecs).
Any time an LLM-based mannequin is used for audio transcription (or OCR) I fear about unintentional instruction following – is there a threat that content material that appears like an instruction within the spoken or scanned textual content won’t be included within the ensuing transcript?
In a touch upon Hacker News OpenAI’s Jeff Harris stated this, relating to how these new fashions differ from gpt-4o-audio-preview:
It’s a barely higher mannequin for TTS. With further coaching specializing in studying the script precisely as written.
e.g. the audio-preview mannequin when given instruction to talk "What is the capital of Italy" would typically communicate "Rome". This mannequin ought to be a lot better in that regard
"a lot better in that regard" sounds to me like there’s nonetheless a threat of this occurring, so for some delicate purposes it could make sense to stay with whisper or different conventional text-to-speech approaches.
On Twitter Jeff added:
yep constancy to transcript is the large chunk of labor to show an audio mannequin into TTS mannequin. nonetheless doable, however ought to be fairly uncommon
gpt-4o-transcribe is an estimated 0.6 cents per minute, and gpt-4o-mini-transcribe is 0.3 cents per minute.
Mixing information and directions stays the cardinal sin of LLMs
If these issues look acquainted to you that is as a result of they’re variants of the foundation trigger behind immediate injection. LLM architectures encourage mixing directions and information in the identical stream of tokens, however meaning there are at all times dangers that tokens from information (which frequently comes from untrusted sources) could also be misinterpreted as directions to the mannequin.
How a lot of an affect this has on the utility of those new fashions stays to be seen. Maybe the brand new coaching is so strong that these points will not truly trigger issues for real-world purposes?
I stay skeptical. I anticipate we’ll see demos of those flaws in motion in comparatively quick order.
Link 2025-03-19 OpenAI platform: o1-pro:
OpenAI have a brand new most-expensive mannequin: o1-pro can now be accessed via their API at a hefty $150/million tokens for enter and $600/million tokens for output. That’s 10x the worth of their o1 and o1-preview fashions and a full 1,000x instances costlier than their least expensive mannequin, gpt-4o-mini!
Aside from that it has principally the identical options as o1: a 200,000 token context window, 100,000 max output tokens, Sep 30 2023 data closing date and it helps operate calling, structured outputs and picture inputs.
o1-pro does not assist streaming, and most importantly for builders is the primary OpenAI mannequin to solely be obtainable by way of their new Responses API. This means instruments which can be constructed in opposition to their Chat Completions API (like my very own LLM) need to do a complete lot extra work to assist the brand new mannequin – my problem for that’s right here.
Since LLM does not assist this new mannequin but I needed to make do with curl:
curl https://api.openai.com/v1/responses
-H "Content-Type: software/json"
-H "Authorization: Bearer $(llm keys get openai)"
-d '{
"mannequin": "o1-pro",
"enter": "Generate an SVG of a pelican using a bicycle"
}'
Here’s the complete JSON I obtained again – 81 enter tokens and 1552 output tokens for a whole value of 94.335 cents.
I took a threat and added "reasoning": {"effort": "excessive"} to see if I might get a greater pelican with extra reasoning:
curl https://api.openai.com/v1/responses
-H "Content-Type: software/json"
-H "Authorization: Bearer $(llm keys get openai)"
-d '{
"mannequin": "o1-pro",
"enter": "Generate an SVG of a pelican using a bicycle",
"reasoning": {"effort": "excessive"}
}'
Surprisingly that used much less output tokens – 1459 in comparison with 1552 earlier (value: 88.755 cents) – producing this JSON which rendered as a barely higher pelican:
It was cheaper as a result of whereas it spent 960 reasoning tokens versus 704 for the earlier pelican it omitted the explanatory textual content across the SVG, saving on whole output.
Quote 2025-03-20
I’ve disabled the pending geoblock of the UK as a result of I now assume the dangers of the Online Safety Act to this web site are low sufficient to alter methods to solely geoblock if straight threatened by the regulator. […]
It just isn’t doable for a pastime web site to adjust to the Online Safety Act. The OSA is written to censor big industrial websites with skilled authorized groups, and even understanding one’s obligations below the laws is a gigantic undertaking requiring costly authorized recommendation.
The legislation is 250 pages and the necessary "steering" from Ofcom is greater than 3,000 pages of dense, cross-referenced UK-flavoured legalese. To discover all of the steering you may need to begin right here, click on via to every of the 36 pages listed, and increase every web page’s collapsible sections which may have hyperlinks to different pages and paperwork. (Though I am unable to make certain that results in all their steering, and be aware you may need to test again usually for deliberate updates.)
Link 2025-03-20 Claude can now search the online:
Claude 3.7 Sonnet on the paid plan now has an internet search instrument that may be turned on as a world setting.
This was sorely wanted. ChatGPT, Gemini and Grok all had this means already, and regardless of Anthropic’s wonderful mannequin high quality it was one of many huge remaining causes to maintain different fashions in each day rotation.
For the second that is purely a product characteristic – it is obtainable via their client purposes however there is no indication of whether or not or not will probably be coming to the Anthropic API. OpenAI launched the most recent model of net search of their API final week.
Surprisingly there are not any particulars on the way it works below the hood. Is this a partnership with somebody like Bing, or is it Anthropic’s personal proprietary index populated by their very own crawlers?
I feel it could be their very own infrastructure, however I’ve been unable to substantiate that.
Update: it is confirmed as Brave Search.
Their assist web site provides some inconclusive hints.
Does Anthropic crawl information from the online, and the way can web site homeowners block the crawler? talks about their ClaudeBot crawler however the language signifies it is used for coaching information, with no point out of an internet search index.
Blocking and Removing Content from Claude seems somewhat extra related, and has a heading "Blocking or eradicating web sites from Claude net search" which incorporates this eyebrow-raising tip:
Removing content material out of your web site is the easiest way to make sure that it will not seem in Claude outputs when Claude searches the online.
And then this bit, which does point out "our companions":
The noindex robots meta tag is a rule that tells our companions to not index your content material in order that they don’t ship it to us in response to your net search question. Your content material can nonetheless be linked to and visited via different net pages, or straight visited by customers with a hyperlink, however the content material won’t seem in Claude outputs that use net search.
Both of these paperwork had been final up to date "over per week in the past", so it is not clear to me in the event that they mirror the brand new state of the world given right this moment’s characteristic launch or not.
I obtained this pleasant response making an attempt out Claude search the place it mistook my latest Squadron automata for a software program undertaking:
Link 2025-03-21 Anthropic Trust Center: Brave Search added as a subprocessor:
Yesterday I used to be making an attempt to determine if Anthropic has rolled their very own search index for Claude’s new net search characteristic or in the event that they had been working with a companion. Here’s affirmation that they’re utilizing Brave Search:
Anthropic’s subprocessor checklist. As of March 19, 2025, we now have made the next modifications:
Subprocessors added:
Brave Search (extra data)
That "extra data" hyperlinks to the assistance web page for his or her new net search characteristic.
I confirmed this myself by prompting Claude to "Search for pelican details" – it ran a seek for "Interesting pelican details" and the ten outcomes it confirmed as citations had been a precise match for that search on Brave.
And additional proof: when you poke at it a bit Claude will reveal the definition of its web_search operate which seems like this – be aware the BraveSearchParams property:
{
"description": "Search the online",
"title": "web_search",
"parameters": {
"additionalProperties": false,
"properties": {
"question": {
"description": "Search question",
"title": "Query",
"sort": "string"
}
},
"required": [
"query"
],
"title": "BraveSearchParams",
"sort": "object"
}
}
Link 2025-03-21 The "assume" instrument: Enabling Claude to cease and assume in advanced instrument use conditions:
Fascinating new immediate engineering trick from Anthropic. They use their commonplace instrument calling mechanism to outline a instrument known as "assume" that appears one thing like this:
{
"title": "assume",
"description": "Use the instrument to consider one thing. It won't get hold of new info or change the database, however simply append the thought to the log. Use it when advanced reasoning or some cache reminiscence is required.",
"input_schema": {
"sort": "object",
"properties": {
"thought": {
"sort": "string",
"description": "A thought to consider."
}
},
"required": ["thought"]
}
}
This instrument does nothing in any respect.
LLM instruments (like web_search) often contain some sort of implementation – the mannequin requests a instrument execution, then an exterior harness goes away and executes the desired instrument and feeds the outcome again into the dialog.
The "assume" instrument is a no-op – there isn’t a implementation, it simply permits the mannequin to make use of its current coaching when it comes to when-to-use-a-tool to cease and dump some further ideas into the context.
This works utterly independently of the brand new "pondering" mechanism launched in Claude 3.7 Sonnet.
Anthropic’s benchmarks present spectacular enhancements from enabling this instrument. I totally anticipate that fashions from different suppliers would profit from the identical trick.
Link 2025-03-22 simonw/ollama-models-atom-feed:
I setup a GitHub Actions + GitHub Pages Atom feed of scraped latest fashions information from the Ollama newest fashions web page – Ollama stays one of many best methods to run fashions on a laptop computer so a brand new mannequin launch from them is price listening to about.
I constructed the scraper by pasting instance HTML into Claude and asking for a Python script to transform it to Atom – this is the script we wrote collectively.
Quote 2025-03-23
If you’re new to tech, taking [career] recommendation on what works for somebody with a 20-year profession is more likely to be about as efficient as taking profession recommendation from a stockbroker or firefighter or nurse. There’ll be just a few issues that generalize, however most recommendation gained’t.
Further, even recommendation folks with lengthy careers on what labored for them once they had been getting began is unlikely to be recommendation that works right this moment. The tech trade of 15 or 20 years in the past was, once more, dramatically completely different from tech right this moment.
Link 2025-03-23 Next.js and the corrupt middleware: the authorizing artifact:
Good, detailed write-up of the Next.js vulnerability CVE-2025-29927 by Allam Rachid, one of many researchers who recognized the difficulty.
The vulnerability is finest illustrated by this code snippet:
const subreq = params.request.headers['x-middleware-subrequest'];
const subrequests = typeof subreq === 'string' ? subreq.cut up(':') : [];
// ...
for (const middleware of this.middleware || []) {
// ...
if (subrequests.consists of(middlewareInfo.title)) {
outcome = {
response: NextResponse.subsequent(),
waitUntil: Promise.resolve(),
};
proceed;
}
}
This was a part of Next.js internals used to assist keep away from making use of middleware recursively to requests which can be re-dispatched via the framework.
Unfortunately it additionally meant that attackers might ship a x-middleware-subrequest HTTP header with a colon-separated checklist of middleware names to skip. If a web site used middleware to use an authentication gate (as urged within the Next.js documentation) an attacker might bypass that authentication utilizing this trick.
The vulnerability has been mounted in Next.js 15.2.3 – this is the official launch announcement speaking about the issue.
Link 2025-03-23 Semantic Diffusion:
I realized about this time period right this moment whereas complaining about how the definition of "vibe coding" is already being distorted to imply "any time an LLM writes code" versus the meant which means of "code I wrote with an LLM with out even reviewing what it wrote".
I posted this salty be aware:
Feels like I’m dropping the battle on this one, I hold seeing folks use "vibe coding" to imply any time an LLM is used to jot down code
I’m notably annoyed as a result of for just a few superb moments we had the prospect at having ONE piece of AI-related terminology with a transparent, extensively accepted definition!
But it seems folks could not be trusted to learn all the best way to the tip of Andrej’s tweet, so now we’re again to yet one more time period the place completely different folks assume it means various things
Martin Fowler coined Semantic Diffusion in 2006 with this very clear definition:
Semantic diffusion happens when you’ve got a phrase that’s coined by an individual or group, typically with a reasonably good definition, however then will get unfold via the broader group in a manner that weakens that definition. This weakening dangers dropping the definition totally – and with it any usefulness to the time period.
What’s occurring with vibe coding proper now’s such a transparent instance of this impact in motion! I’ve seen the identical factor occur to my very own coinage immediate injection over the previous couple of years.
This sort of dillution of which means is irritating, however does seem like inevitable. As Martin Fowler factors out it is most certainly to occur to fashionable phrases – the extra fashionable a time period is the upper the prospect a sport of phone will ensue the place misunderstandings flourish because the chain continues to develop.
Andrej Karpathy, who coined vibe coding, posted this simply now in reply to my article:
Good put up! It will take a while to decide on definitions. Personally I exploit "vibe coding" after I really feel like this canine. My iOS app final evening being instance. But I discover that in follow I not often go full out vibe coding, and extra typically I nonetheless take a look at the code, I add complexity slowly and I attempt to study over time how the items work, to ask clarifying questions and so on.
I like that vibe coding has an official illustrative GIF now!
Link 2025-03-24 deepseek-ai/DeepSeek-V3-0324:
Chinese AI lab DeepSeek simply launched the most recent model of their monumental DeepSeek v3 mannequin, baking the discharge date into the title DeepSeek-V3-0324.
The license is MIT (that is new – earlier DeepSeek v3 had a customized license), the README is empty and the discharge provides up a to a complete of 641 GB of recordsdata, principally of the shape model-00035-of-000163.safetensors.
The mannequin solely got here out just a few hours in the past and MLX developer Awni Hannun already has it operating at >20 tokens/second on a 512GB M3 Ultra Mac Studio ($9,499 of ostensibly consumer-grade {hardware}) by way of mlx-lm and this mlx-community/DeepSeek-V3-0324-4bit 4bit quantization, which reduces the on-disk measurement to 352 GB.
I feel meaning you probably have that machine you’ll be able to run it with my llm-mlx plugin like this, however I’ve not tried myself!
llm mlx download-model mlx-community/DeepSeek-V3-0324-4bit
llm chat -m mlx-community/DeepSeek-V3-0324-4bit
The new mannequin can also be listed on OpenRouter. You can strive a chat at openrouter.ai/chat?fashions=deepseek/deepseek-chat-v3-0324:free.
Here’s what the chat interface gave me for "Generate an SVG of a pelican using a bicycle":
I’ve two API keys with OpenRouter – one in all them labored with the mannequin, the opposite gave me a No endpoints discovered matching your information coverage error – I feel as a result of I had a setting on that key disallowing fashions from coaching on my exercise. The key that labored was a free key with no connected billing credentials.
For my working API key the llm-openrouter plugin let me run a immediate like this:
llm set up llm-openrouter
llm keys set openrouter
# Paste key right here
llm -m openrouter/deepseek/deepseek-chat-v3-0324:free "finest truth a couple of pelican"
Here’s that "finest truth" – the terminal output included Markdown and an emoji combo, right here that is rendered.
One of essentially the most fascinating details about pelicans is their distinctive throat pouch, known as a gular sac, which might maintain as much as 3 gallons (11 liters) of water—thrice greater than their abdomen!
Here’s why it’s wonderful:
Fishing Tool: They use it like a internet to scoop up fish, then drain the water earlier than swallowing.
Cooling Mechanism: On scorching days, pelicans flutter the pouch to remain cool by evaporating water.
Built-in "Shopping Cart": Some species even use it to hold meals again to their chicks.
Bonus truth: Pelicans typically fish cooperatively, herding fish into shallow water for a simple catch.
Would you want extra cool pelican details? 🐦🌊
In placing this put up collectively I obtained Claude to construct me this new instrument for locating the whole on-disk measurement of a Hugging Face repository, which is out there of their API however not at present displayed on their web site.
Update: Here’s a notable unbiased benchmark from Paul Gauthier:
DeepSeek’s new V3 scored 55% on aider’s polyglot benchmark, considerably bettering over the prior model. It’s the #2 non-thinking/reasoning mannequin, behind solely Sonnet 3.7. V3 is aggressive with pondering fashions like R1 & o3-mini.
Link 2025-03-24 Qwen2.5-VL-32B: Smarter and Lighter:
The second huge open weight LLM launch from China right this moment – the primary being DeepSeek v3-0324.
Qwen’s earlier imaginative and prescient mannequin was Qwen2.5 VL, launched in January in 3B, 7B and 72B sizes.
Today’s Apache 2.0 licensed launch is a 32B mannequin, which is rapidly changing into my private favorite mannequin measurement – giant sufficient to have GPT-4-class capabilities, however sufficiently small that on my 64GB Mack there’s nonetheless sufficient RAM for me to run different memory-hungry purposes like Firefox and VS Code.
Qwen declare that the brand new mannequin (when in comparison with their earlier 2.5 VL household) can "align extra carefully with human preferences", is best at "mathematical reasoning" and offers "enhanced accuracy and detailed evaluation in duties akin to picture parsing, content material recognition, and visible logic deduction".
They additionally supply some presumably fastidiously chosen benchmark outcomes exhibiting it out-performing Gemma 3-27B, Mistral Small 3.1 24B and GPT-4o-0513 (there have been two more moderen GPT-4o releases since that one, 2024-08-16 and 2024-11-20).
As common, Prince Canuma had MLX variations of the fashions dwell inside hours of the discharge, in 4 bit, 6 bit, 8 bit, and bf16 variants.
I ran the 4bit model (a 18GB mannequin obtain) utilizing uv and Prince’s mlx-vlm like this:
uv run --with 'numpy<2' --with mlx-vlm
python -m mlx_vlm.generate
--model mlx-community/Qwen2.5-VL-32B-Instruct-4bit
--max-tokens 1000
--temperature 0.0
--prompt "Describe this picture."
--image Mpaboundrycdfw-1.png
Here’s the picture:
And this is the ensuing description, which I discovered to be very spectacular:
This picture seems to be a map highlighting particular areas alongside the shoreline, probably in California, primarily based on the geographical options and place names. Here is an in depth description of the picture:
Geographic Features:
The map exhibits a piece of the shoreline, with land on the best and the ocean on the left.
The land space consists of elements of SanMateo County, as famous within the top-right nook.
The shoreline options a number of named places, together with:
Point Montara
Pillar Point
Kings Rock
VicenteCreek
DennistonCreek
State Beach
Highlighted Areas:
The map accommodates two distinct areas marked with completely different colours:
Red Area (Top Section)
Labeled as "MONTARA" and "MONTARA M R" (presumably referring to a "Marine Reserves" or related protected space).
This space is marked with a darkish purple colour and extends from the shoreline inland.
Blue Area (Bottom Section)
Labeled as "PILLAR" and "PILLAR P O I N T" together with "SMCA" (Special Management Area).
This space is marked with a blue colour and is positioned nearer to the shoreline, together with the realm round "Pillar Point."
Depth Contours:
The map consists of depth markings within the sea, indicating the bathymetrical options:
20 fathom (fm) line is marked within the upper-left a part of the ocean.
10 fathom (fm) line is marked nearer to the shoreline.
30 fathom (fm) line is marked additional out to sea.
Other Features:
State Beach: Marked close to the top-right, indicating a protected leisure space.
Kings Rock: A distinguished characteristic close to the shoreline, probably a rocky outcropping.
Creeks: The map exhibits a number of creeks, together with VicenteCreek and DennistonCreek, which circulation into the ocean.
Protected Areas:
The map highlights particular protected areas:
Marine Reserves:
"MONTARA M R" (Marine Reserves) in purple.
Special Management Area (SMCA)
"PILLAR P O I N T" in blue, indicating a Special Management Area.
Grid and Coordinates:
The map features a grid with latitude and longitude markings:
Latitude ranges from roughly 37°25’N to 37°35’N.
Longitude ranges from roughly 122°22.5’W to 122°35.5’W.
Topography:
The land space exhibits topographic options, together with elevations and vegetation, with inexperienced areas indicating larger elevations or vegetated land.
Other Labels:
"SMR": Likely stands for "State Managed Reserves."
"SMCA": Likely stands for "Special Management Control Area."
In abstract, this map highlights particular protected areas alongside the shoreline, together with a purple "Marine Reserves" space and a blue "Special Management Area" close to "Pillar Point." The map additionally consists of depth markings, geographical options, and place names, offering an in depth view of the area’s pure and guarded areas.
It included the next runtime statistics:
Prompt: 1051 tokens, 111.985 tokens-per-sec
Generation: 760 tokens, 17.328 tokens-per-sec
Peak reminiscence: 21.110 GB
Link 2025-03-25 microsoft/playwright-mcp:
The Playwright workforce at Microsoft have launched an MCP (Model Context Protocol) server wrapping Playwright, and it is fairly fascinating.
They carried out it on prime of the Chrome accessibility tree, so MCP purchasers (such because the Claude Desktop app) can use it to drive an automatic browser and use the accessibility tree to learn and navigate pages that they go to.
Trying it out is sort of simple you probably have Claude Desktop and Node.js put in already. Edit your claude_desktop_config.json file:
code ~/Library/Application Support/Claude/claude_desktop_config.json
And add this:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}
Now while you launch Claude Desktop numerous new browser automation instruments will likely be obtainable to it, and you may inform Claude to navigate to an internet site and work together with it.
I ran the next to get a listing of the obtainable instruments:
cd /tmp
git clone https://github.com/microsoft/playwright-mcp
cd playwright-mcp/src/instruments
files-to-prompt . | llm -m claude-3.7-sonnet
'Output an in depth description of those instruments'
The full output is right here, however this is the truncated instrument checklist:
Navigation Tools (
widespread.ts)
browser_navigate: Navigate to a particular URL
browser_go_back: Navigate again in browser historical past
browser_go_forward: Navigate ahead in browser historical past
browser_wait: Wait for a specified time in seconds
browser_press_key: Press a keyboard key
browser_save_as_pdf: Save present web page as PDF
browser_close: Close the present web page
Screenshot and Mouse Tools (
screenshot.ts)
browser_screenshot: Take a screenshot of the present web page
browser_move_mouse: Move mouse to particular coordinates
browser_click (coordinate-based): Click at particular x,y coordinates
browser_drag (coordinate-based): Drag mouse from one place to a different
browser_type (keyboard): Type textual content and optionally submit
Accessibility Snapshot Tools (
snapshot.ts)
browser_snapshot: Capture accessibility construction of the web page
browser_click (element-based): Click on a particular aspect utilizing accessibility reference
browser_drag (element-based): Drag between two parts
browser_hover: Hover over a component
browser_type (element-based): Type textual content into a particular aspect
Link 2025-03-25 shot-scraper 1.8:
I’ve added a brand new characteristic to shot-scraper that makes it simpler to share scripts for different folks to make use of with the shot-scraper javascript command.
shot-scraper javascript enables you to load up an internet web page in an invisible Chrome browser (by way of Playwright), execute some JavaScript in opposition to that web page and output the outcomes to your terminal. It’s a enjoyable manner of operating advanced screen-scraping routines as a part of a terminal session, and even chained along with different instructions utilizing pipes.
The -i/--input choice enables you to load that JavaScript from a file on disk – however now you can too use a gh: prefix to specify loading code from GitHub as a substitute.
To quote the discharge notes:
shot-scraper javascriptcan now optionally load scripts hosted on GitHub by way of the brand newgh:prefix to theshot-scraper javascript -i/--inputchoice. #173Scripts could be referenced as
gh:username/repo/path/to/script.jsor, if the GitHub person has created a devotedshot-scraper-scriptsrepository and positioned scripts within the root of it, utilizinggh:username/name-of-script.For instance, to run this readability.js script in opposition to any net web page you should use the next:
shot-scraper javascript --input gh:simonw/readability https://simonwillison.internet/2025/Mar/24/qwen25-vl-32b/
The output from that instance begins like this:
{
"title": "Qwen2.5-VL-32B: Smarter and Lighter",
"byline": "Simon Willison",
"dir": null,
"lang": "en-gb",
"content material": "<div id="readability-page-1"...
My simonw/shot-scraper-scripts repo solely has that one file in it to this point, however I’m trying ahead to rising that assortment and hopefully seeing different folks create and share their very own shot-scraper-scripts repos as properly.
This characteristic is an imitation of an identical characteristic that is coming within the subsequent launch of LLM.
Thanks for studying Simon Willison’s Newsletter! Subscribe at no cost to obtain new posts and assist my work.
HI-FI News
by way of Simon Willison’s Newsletter https://ift.tt/ozLQB5A
March 25, 2025 at 05:31AM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT
















