Skip to content

Add support for embeddings - #69

Merged
jeffpaul merged 14 commits into
developfrom
feature/embeddings
Aug 18, 2026
Merged

jeffpaul merged 14 commits into
developfrom
feature/embeddings

Conversation

@dkotter

@dkotter dkotter commented Jul 7, 2026 •

Copy link
Copy Markdown
Collaborator

Description of the Change

Add support for generating embeddings using a compatible Ollama embeddings model.

How to test the Change

There are two "easy" approaches I'd suggest to test this:

  1. Use the embedding support PR in the AI plugin and follow the instructions there. For example, once that is set up, you can run wp ai embeddings generate 'This is some text' --dry-run=false --provider=ollama which will generate embeddings using the Ollama provider changes made here
  2. The PHP AI Client comes with integration tests built-in. Checkout the embeddings PR and look at how the integration tests work for OpenAI. You'll need to copy that for Ollama, ensuring the Ollama Provider is installed via composer from this branch. Once in place, you can run composer test:integration to run that

Changelog Entry

Added - Support for generating embeddings

Credits

Props @dkotter

Checklist:

Open WordPress Playground Preview

@dkotter dkotter added this to the 1.2.0 milestone Jul 7, 2026
@dkotter dkotter self-assigned this Jul 7, 2026
@jeffpaul jeffpaul mentioned this pull request Jul 8, 2026
5 of 6 tasks
@dkotter
dkotter requested a review from jeffpaul July 29, 2026 20:11
@jeffpaul jeffpaul modified the milestones: 1.1.2, 1.2.0 Aug 18, 2026
@jeffpaul
jeffpaul merged commit 67e408a into develop Aug 18, 2026
15 checks passed
@jeffpaul
jeffpaul deleted the feature/embeddings branch August 18, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants