Skip to content

This commit update the model endpoint, embedding index and timestamp field to use.#2046

Merged
shixiao-coder merged 2 commits into
datacommonsorg:masterfrom
shixiao-coder:remove-wrong-index-option
May 28, 2026
Merged

This commit update the model endpoint, embedding index and timestamp field to use.#2046
shixiao-coder merged 2 commits into
datacommonsorg:masterfrom
shixiao-coder:remove-wrong-index-option

Conversation

@shixiao-coder
Copy link
Copy Markdown
Contributor

The recent workflow finishes properly with above fixes and the NodeEmbedding table now generates the embeddings. We also confirm the last_update_timestamp get properly write from data ingestion

Workflow link: https://pantheon.corp.google.com/workflows/workflow/us-central1/xs-ebd-dc-ingestion-workflow/execution/09266b03-e1b0-430b-a7c5-ba0c8f271864/summary?e=13803378&mods=-monitoring_api_staging&project=datcom-website-dev

…field to use.

The recent workflow finishes properly with above fixes and the NodeEmbedding table now generates the embeddings.
We also confirm the last_update_timestamp get properly write from data ingestion
@shixiao-coder shixiao-coder requested a review from gmechali May 28, 2026 16:22
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the database schema, utility functions, and Spanner client configuration. Specifically, it removes the flat_index option from the NodeEmbeddingIndex in the SQL schema, updates the timestamp field name from update_timestamp to last_update_timestamp in embedding_utils.py, and modifies the _EMBEDDING_MODEL_PATH in spanner_client.py to use a fully qualified URI. There are no review comments to address, and I have no feedback to provide.

@shixiao-coder shixiao-coder merged commit 69f1f70 into datacommonsorg:master May 28, 2026
13 checks passed
@shixiao-coder shixiao-coder deleted the remove-wrong-index-option branch May 28, 2026 19:48
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