Skip to content

Image embeddings on GCP#19

Draft
tonytw1 wants to merge 22 commits into
dev21from
spike-vertex-embedding
Draft

Image embeddings on GCP#19
tonytw1 wants to merge 22 commits into
dev21from
spike-vertex-embedding

Conversation

@tonytw1
Copy link
Copy Markdown
Member

@tonytw1 tonytw1 commented May 9, 2026

What does this change?

Implements the More Like This and semantic search features using GCP APIs rather than AWS Bedrock.

Uses Gemini Embedding 2 as the model.

Scales uploaded images using ImageOperations before submitting them to the prediction API.
Every image is scaled rather than relying on the original or optimised image.

Does not need a separate Lambda.

How should a reviewer test this change?

How can success be measured?

Who should look at this?

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

@tonytw1 tonytw1 force-pushed the spike-vertex-embedding branch from 7e50102 to 3cfd7e2 Compare May 11, 2026 19:47
@tonytw1 tonytw1 force-pushed the spike-vertex-embedding branch from 3cfd7e2 to 76da1b8 Compare May 11, 2026 19:50
tonytw1 added 5 commits May 11, 2026 20:51
Not here; it can go after the normal image upload so that it doesn't impact latency.
…st after the Image message.

The update embeddings message needs to arrive after the Image create message.
@tonytw1 tonytw1 force-pushed the spike-vertex-embedding branch from 76da1b8 to 340dc0c Compare May 11, 2026 19:52
@tonytw1 tonytw1 changed the title Spike vertex embedding Image embeddings on GCP May 11, 2026
@tonytw1 tonytw1 force-pushed the spike-vertex-embedding branch from 8ad80a9 to 3e55c46 Compare May 11, 2026 20:26
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.

1 participant