Skip to content

quickstarts/Embeddings.ipynb: fix variable name typo and truncate vector print outputs#1211

Open
ShriPunta wants to merge 1 commit into
google-gemini:mainfrom
ShriPunta:fix/embeddings-typo-and-truncate-vector-output
Open

quickstarts/Embeddings.ipynb: fix variable name typo and truncate vector print outputs#1211
ShriPunta wants to merge 1 commit into
google-gemini:mainfrom
ShriPunta:fix/embeddings-typo-and-truncate-vector-output

Conversation

@ShriPunta
Copy link
Copy Markdown

Two readability fixes in Embeddings.ipynb :

  1. Renamed GEMINI_EMBEDDIG_1_MODEL_IDGEMINI_EMBEDDING_1_MODEL_ID (missing 'N') in 3 places.
  2. Truncated full 3072-element embedding vector prints in 4 cells to a 50-character preview with ... TRIMMED], consistent with the existing style used elsewhere in the notebook. Also cleared the stored cell outputs for those cells.

While viewing the file on GitHub the printed embedding array output blows up the file size.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 1, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions Bot added status:awaiting review PR awaiting review from a maintainer component:quickstarts Issues/PR referencing quickstarts folder labels May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:quickstarts Issues/PR referencing quickstarts folder status:awaiting review PR awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant