Skip to content

Conversation

@Sam-Deciga
Copy link
Contributor

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.


--- YOUR PR SUMMARY GOES HERE --- MongoDB voyage-4 model launch on Jan 15, 2026 b/475223740




REQUIRED: Fill out the below checklists or remove if irrelevant

  1. If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:
  • Use the notebook template as a starting point.
  • Follow the style and grammar rules outlined in the above notebook template.
  • Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
  • Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
  • You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
  • This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
  • The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

  1. If you are opening a PR for Community Notebooks under the notebooks/community folder:
  • This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
  • Passes all the required formatting and linting checks. You can locally test with these instructions.

  1. If you are opening a PR for Community Content under the community-content folder:
  • Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
  • The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
  • Passes all the required formatting and linting checks. You can locally test with these instructions.

@Sam-Deciga Sam-Deciga requested a review from a team as a code owner January 15, 2026 01:44
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Sam-Deciga, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates a new official notebook into the repository, designed to guide users through the process of leveraging the Voyage 4 family of embedding models on Vertex AI. The notebook emphasizes the models' innovative capabilities, including a unified embedding space for flexible model mixing, and techniques for optimizing embedding size and precision to suit diverse application requirements. It serves as a comprehensive resource for deploying, utilizing, and understanding the advanced features of these powerful embedding models.

Highlights

  • New Voyage 4 Embedding Models Notebook: Introduced a new official Jupyter notebook (voyage-4.ipynb) to demonstrate the deployment and usage of the Voyage 4 family of embedding models on Google Cloud's Vertex AI.
  • Shared Embedding Space: The notebook highlights the industry-first shared embedding space of Voyage 4 models, allowing interchangeability between different model sizes (large, standard, lite) for optimal cost and performance.
  • Advanced Embedding Features: Showcases advanced features such as Matryoshka Representation Learning (MRL) for variable-dimension embeddings (256, 512, 1024, 2048) and Quantization-Aware Training (QAT) for optimized output data types (float, int8, uint8, binary, ubinary).
  • Practical Deployment and Usage: Provides practical examples for deploying a Voyage 4 model to a Vertex AI endpoint, generating embeddings, performing semantic similarity calculations, and exploring the impact of various parameters like input_type, output_dimension, and output_dtype.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
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 introduces a new notebook for the Voyage 4 embedding models. The notebook is well-structured and provides a good overview of the model's features.

My review includes a few suggestions to improve code maintainability and consistency:

  • Updating an image URL to match the style of other notebooks.
  • Refactoring two code cells to remove hardcoded values and magic numbers, making the code more robust and easier to read.

Copy link
Contributor

@gericdong gericdong left a comment

Choose a reason for hiding this comment

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

Update the copyright year for 2026.

@Sam-Deciga
Copy link
Contributor Author

Copyright year updated to 2026 and changes applied by the partner

@gericdong gericdong merged commit 5afa83d into GoogleCloudPlatform:main Jan 16, 2026
4 of 5 checks passed
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