Vector search optimization: flatten your JSON before embedding
Raw JSON in an embedding model spends your token budget on braces and quotes. Flattening product data into plain sentences gives the model the kind of text it was trained to read.
Raw JSON in an embedding model spends your token budget on braces and quotes. Flattening product data into plain sentences gives the model the kind of text it was trained to read.
A notebook demo is not production. This is what sits between the two: an API contract, a container, infrastructure that suits the workload, and monitoring that catches drift before the predictions quietly go bad.
WordPress Studio 1.7.0 ships a CLI that can create, start, stop and delete local sites, and run WP-CLI inside the Studio environment. What the studio site and studio wp commands do, plus how to let a coding agent use them without losing a site.
Metadata filters only take music discovery so far. How CNNs read audio as Mel-spectrograms, how contrastive learning with InfoNCE loss shapes the embeddings, and why the inference belongs outside WordPress.
Fastest-route logic says nothing about what a walk is actually like. How the StreetSense project models urban walking risk with Uber’s H3 indexing, sine and cosine time encoding, and XGBoost under a Tweedie objective.
Fourteen years of WordPress work, one recurring problem: everything ends up in functions.php. Here are the five layers I use to separate hooks, workflows, business rules, database access and outside services, plus a before-and-after AJAX handler.
Notes from the AI contributor meeting: AI Experiments 0.2.0 is out, the Core Post Management abilities PR is under review, PHP AI Client v0.4.0 shipped, and the MCP Adapter stays a canonical plugin. February 19 is the Beta 1 cutoff.
The WordPress AI Client is being lined up for a core inclusion proposal. January 2026 contributor notes cover streaming leaving the PHP client, a kill switch filter for locked-down sites, and MCP for tool discovery.
WordPress 6.9 ships the DataForm component, so a settings page can be declared as configuration instead of a stack of PanelBody components. Field definitions, card layouts, and wiring the form up to the REST API.
WordPress AI Experiments 0.2.0 adds AI-generated excerpts in the block editor and an Abilities Explorer screen under Tools. Here is what the release changes for plugin developers, plus the code for registering your own ability.