[secure-agent-modelarmor]

Open
#2,223 0 comments 0 reactions 1 assignee View on GitHub

@AbiramiSukumaran is already working on this.

Since Jul 20, 2026.

Assessment

This issue has not been assessed yet.

Description

The following Command gives an "postgresql error: Permission denied on the resource." error:
WITH
rows_to_update AS (
SELECT
id
FROM
products
WHERE
embedding IS NULL
LIMIT
5000 )
UPDATE
products
SET
embedding = ai.embedding('text-embedding-005', name || ' ' || category || ' ' || distribution_center || ' ' || region)::vector
FROM
rows_to_update
WHERE
products.id = rows_to_update.id
AND embedding IS null;

In order to work, ai.embedding has to be replaced by google_ml.embedding if I'm not wrong

Thanks

Dominant language
No language data
Stars
30
Forks
60
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googlecodelabs/feedback

All issues in googlecodelabs/feedback

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.