‹ Reports
The Dispatch

Websocket and Safety Setting Bugs Hinder GoogleCloudPlatform/generative-ai Progress

The GoogleCloudPlatform/generative-ai repository, a resource for developers using generative AI workflows on Google Cloud, has encountered significant issues with websocket connections and safety settings, impacting user experience and functionality. This repository showcases the Gemini model on Vertex AI through various applications and is part of the Google Cloud Platform's offerings.

Recent activities have been dominated by user-reported issues, particularly #1086 concerning websocket failures in Cloud Run applications and #1035 related to safety setting restrictions preventing model evaluations. These issues highlight critical barriers users face when utilizing the platform. The development team has been actively addressing these concerns through updates and documentation enhancements, as seen in recent commits focused on improving user guidance and troubleshooting.

Recent Activity

Recent issues and pull requests (PRs) indicate a focus on resolving bugs and enhancing documentation. Notable issues include #1086, a high-priority bug affecting websocket connections, and #1063, a feature request for token log probabilities. The development team has been addressing these through updates to notebooks and README files.

Team Members and Activities

  1. Megha Agarwal

    • Updated README for evaluation pipeline (1 day ago).
    • Moved to legacy autosxs (1 day ago).
    • Champion challenger evaluation for Vertex pipelines (2 days ago).
  2. Holt Skinner

    • Updated links in README files (2 days ago).
    • Added regression examples to Rag notebook (2 days ago).
  3. Kaz Sato

    • Added task-type-embedding notebook (2 days ago).
  4. Kelsi Lakey

    • Added more obvious regression examples to Rag notebook (2 days ago).
  5. Eric Dong

    • Multiple updates related to Gemini models, including updating to version 1.5.
  6. Kristopher Overholt

    • Added troubleshooting steps to Reasoning Engine + Vertex AI Search sample notebook (15 days ago).
  7. Jason Dai

    • Updated various notebooks for broken links and installation instructions.
  8. Saeed Aghabozorgi

    • Updated intro to multimodal use cases notebook (5 days ago).
  9. Vesselin Tzvetkov

    • Added LLM Security Notebooks related to prompt and ReAct techniques (5 days ago).
  10. Noah Benefraim

    • Focused on document parsing capabilities using LlamaIndex (3 days ago).

Of Note

Quantified Reports

Quantify Issues



Recent GitHub Issues Activity

Timespan Opened Closed Comments Labeled Milestones
7 Days 5 3 1 3 1
30 Days 16 8 14 14 1
90 Days 45 38 45 43 1
1 Year 151 127 328 148 1
All Time 183 146 - - -

Like all software activity quantification, these numbers are imperfect but sometimes useful. Comments, Labels, and Milestones refer to those issues opened in the timespan in question.

Quantify commits



Quantified Commit Activity Over 30 Days

Developer Avatar Branches PRs Commits Files Changes
Holt Skinner 2 16/16/0 19 73 37847
Jason Dai 2 5/3/1 4 24 20014
Eric Dong 1 8/7/1 7 13 14934
Bo zheng 1 1/1/0 1 5 6487
Krishna Chaithanya Movva 1 2/2/0 2 2 4732
UBhavani 1 1/1/0 1 1 4481
Jayakrishna2801 1 2/2/0 2 2 4270
Kaz Sato 1 2/2/0 2 4 3905
sumanvita 1 1/1/0 1 1 3516
Vesselin Tzvetkov 1 1/1/0 1 4 3438
ashwinisathe-ssk 1 3/1/2 1 1 3342
Saeed Aghabozorgi 1 1/1/0 1 1 2642
Kelsi Lakey 1 3/3/0 3 3 2555
noabenefraim 1 3/2/1 2 3 2294
Owl Bot 1 0/0/0 2 1 2090
Laurie White 1 0/0/0 2 2 2080
Kaushik Koilada 1 1/1/0 1 1 1995
Katie Nguyen 1 2/2/0 2 2 1917
Kristopher Overholt 2 4/4/0 7 6 1670
Ken Lee 1 0/0/0 8 31 1577
Megha Agarwal 1 6/6/1 6 22 1413
eliasecchig 1 3/1/2 1 3 1149
Alvaro Bartolome 1 1/1/0 1 4 867
Sri Ramya - SpringML 1 1/1/0 1 1 755
Mend Renovate 1 32/8/18 8 26 613
dependabot[bot] 1 4/1/3 1 5 281
Sumanth Kasula 1 2/1/1 1 1 209
alan blount 1 1/1/0 1 2 161
Tianli Yu 1 0/1/0 1 1 84
Thu Ya Kyaw 1 1/1/0 1 1 37
Prashanth Subrahmanyam 1 1/1/0 1 1 10
Averi Kitsch 1 1/1/0 1 2 8
Chen Sun 1 1/1/0 1 1 5
kiranjotmanjotra-ssk 1 1/1/0 1 1 2
Vijaylaxmi Lendale (VJlaxmi) 0 0/0/1 0 0 0
Ivan Nardini (inardini) 0 1/0/0 0 0 0
Ariel Jassan (arieljassan) 0 1/0/0 0 0 0
None (shawn-yang-google) 0 1/0/0 0 0 0
None (valentinhuerta1996) 0 1/0/0 0 0 0

PRs: created by that dev and opened/merged/closed-unmerged during the period

Detailed Reports

Report On: Fetch issues



Recent Activity Analysis

The GoogleCloudPlatform/generative-ai repository currently has 37 open issues, indicating ongoing engagement from the community. Recent activity shows a mix of bug reports and feature requests, with notable issues related to functionality and integration challenges with the Gemini model. A recurring theme is the difficulty users face when implementing features due to missing documentation or unexpected behavior in the models.

Several issues highlight critical bugs, such as #1086 regarding websocket connections in a Cloud Run application, and #1063 which requests log probabilities for tokens but lacks a clear implementation path. The presence of multiple unresolved issues related to safety settings and permission errors suggests that users are encountering significant barriers when trying to utilize the platform effectively.

Issue Details

Most Recently Created Issues:

  1. Issue #1086: [Bug]: Cloud Run IAP Load Balancer - Streamlit Websocket Issue

    • Priority: High
    • Status: Open
    • Created: 1 day ago
    • Details: Users report a failure in establishing websocket connections for a Streamlit app deployed on Cloud Run, leading to blank pages and error messages.
  2. Issue #1063: [Feat]: Add Logprobs for Each Token

    • Priority: Medium
    • Status: Open
    • Created: 7 days ago
    • Details: Feature request to include log probabilities for each token generated by the model to aid in understanding model confidence.
  3. Issue #1035: [Bug]: Safety settings prevent using BYOD to Vertex GenAI evals

    • Priority: High
    • Status: Open
    • Created: 8 days ago (Edited 4 days ago)
    • Details: Users are unable to specify models due to safety setting restrictions, leading to evaluation failures.
  4. Issue #1005: [Bug]: Invalid Link to Spanner Data Export in README (finance-advisor-spanner)

    • Priority: Low
    • Status: Open
    • Created: 15 days ago (Edited)
    • Details: An invalid link in the README file prevents users from accessing necessary data exports for deployment.
  5. Issue #991: [Feat]: Add more interactivity to Streamlit & Vertex AI sample

    • Priority: Medium
    • Status: Open
    • Created: 18 days ago (Edited)
    • Details: Request for enhancing interactivity within the Streamlit application examples.

Important Observations

  • There is a significant focus on bugs related to websocket connections and safety settings, which may hinder user experience.
  • Feature requests indicate a desire for more granular control over model outputs, such as log probabilities.
  • Documentation gaps are evident, particularly concerning setup instructions and troubleshooting common errors.
  • The community appears active in reporting issues but may require more responsive support mechanisms from maintainers.

This analysis reflects the current state of user engagement and highlights areas where improvements could enhance usability and functionality within the generative AI framework provided by Google Cloud Platform.

Report On: Fetch pull requests



Overview

The GoogleCloudPlatform/generative-ai repository currently has 16 open pull requests (PRs) and a total of 871 closed PRs. The recent activity indicates a focus on dependency updates, bug fixes, and enhancements to the documentation and example notebooks related to generative AI workflows using the Gemini model on Vertex AI.

Summary of Pull Requests

  1. PR #1088: chore(deps) - Updates the langchain-google-vertexai dependency from version 1.0.10 to 2.0.0. This is a routine maintenance PR generated by Mend Renovate.

  2. PR #1087: fix - Updates and addresses issues in model comparison evaluation notebooks. This PR aims to improve the usability of the notebooks for evaluating different models.

  3. PR #1085: chore(deps) - Updates the Terraform module terraform-google-modules/project-factory/google from version 16.0 to 17.0, including breaking changes that need attention.

  4. PR #1072: docs(samples) - Adds a code sample for Document AI and Gemini, enhancing the documentation for users looking to implement these technologies.

  5. PR #1071: chore(deps) - Updates firebase-functions from version 5.x to 6.x, which may introduce breaking changes that need testing.

  6. PR #1069: ci - Adds a README generation workflow, indicating an effort to automate documentation processes.

  7. PR #1062: chore(deps) - Updates the Kotlin Android plugin from version 1.9.25 to 2.0.20, which may involve significant changes due to major version updates.

  8. PR #1061: chore(deps) - Updates the Android application plugin from version 7.3.0 to 8.6.0, reflecting ongoing maintenance of Android-related components.

  9. PR #1060: chore(deps) - Updates the uuid dependency from version 9.x to 10.x, which includes breaking changes that require careful integration.

  10. PR #1059: chore(deps) - Updates TypeScript from version 4.x to 5.x, which is a major upgrade with potential breaking changes.

  11. PR #1058: chore(deps) - Updates openapi-typescript from version 6.x to 7.x, which may introduce breaking changes that need addressing.

  12. PR #1057: chore(deps) - Updates maven-wrapper from version 0.5.x to 3.x, which is a significant upgrade requiring attention to compatibility.

  13. PR #1056: chore(deps) - Updates Angular Router from version 17.x to 18.x, which may involve significant changes due to major version updates.

  14. PR #1055: chore(deps) - Updates @angular/router from version 17.x to 18.x, indicating ongoing maintenance of Angular components.

  15. PR #1054: feat - Introduces a new feature for summarizing pull requests using the Gemini model, automating the review process for better efficiency.

  16. PR #1053: fix - Fixes broken links in evaluation notebooks, improving documentation reliability.

Analysis of Pull Requests

The current set of open pull requests reflects a strong emphasis on maintaining up-to-date dependencies across various components of the GoogleCloudPlatform/generative-ai repository, particularly with respect to major libraries like Angular and TypeScript as well as essential backend tools like Terraform and Firebase functions.

Dependency Management

A recurring theme is the management of dependencies through automated tools like Mend Renovate and Dependabot, which help keep libraries current while also addressing security vulnerabilities (e.g., PRs updating express and uuid). However, several PRs have been closed without merging due to various reasons such as conflicts or lack of attention from maintainers, indicating potential areas for improvement in managing contributions effectively.

Documentation Improvements

There is a notable focus on enhancing documentation through new examples and fixing existing issues (e.g., broken links). The addition of README files and structured tutorials suggests an effort to make the repository more user-friendly and accessible for developers looking to implement generative AI solutions using Vertex AI.

Feature Enhancements

Several PRs aim at adding new features or improving existing functionalities (e.g., summarizing pull requests with Gemini). This indicates an active development environment where contributors are encouraged to innovate and enhance the capabilities of the project continually.

Collaboration and Review Process

The comments within PRs reveal an engaged community where contributors are responsive to feedback about code quality and documentation clarity. However, there are instances where PRs remain unmerged or are closed without adequate resolution, suggesting that streamlining the review process could enhance overall productivity.

Anomalies

Some older PRs remain open or have been closed without resolution (e.g., PRs related to legacy components), indicating potential areas where project maintainers might need to revisit priorities or clarify project direction concerning legacy support versus new features.

In conclusion, while there is robust activity surrounding dependency updates and documentation improvements in this repository, there remains room for improvement in managing contributions effectively and ensuring timely reviews of pull requests to foster a more collaborative development environment.

Report On: Fetch commits



Repo Commits Analysis

Development Team and Recent Activity

Team Members and Activities

  1. Megha Agarwal (agarwal22megha)

    • Recent Commits:
    • Updated README for evaluation pipeline (1 day ago).
    • Moved to legacy autosxs (1 day ago).
    • Champion challenger evaluation for Vertex pipelines (2 days ago).
    • Collaborations: Worked with Holt Skinner on several recent commits.
  2. Holt Skinner (holtskinner)

    • Recent Commits:
    • Updated links in README files (2 days ago).
    • Added regression examples to Rag notebook (2 days ago).
    • Various documentation updates and fixes across multiple notebooks.
    • Collaborations: Frequently collaborates with Megha Agarwal and others.
  3. Kaz Sato (kazunori279)

    • Recent Commits:
    • Added task-type-embedding notebook (2 days ago).
    • Collaborations: Co-authored with Holt Skinner.
  4. Kelsi Lakey (lakeyk)

    • Recent Commits:
    • Added more obvious regression examples to Rag notebook (2 days ago).
    • Collaborations: Co-authored with Holt Skinner.
  5. Eric Dong (gericdong)

    • Recent Commits:
    • Multiple updates related to Gemini models, including updating to version 1.5.
    • Various fixes and enhancements across notebooks.
    • Collaborations: Worked closely with Holt Skinner.
  6. Kristopher Overholt (koverholt)

    • Recent Commits:
    • Added troubleshooting steps to Reasoning Engine + Vertex AI Search sample notebook (15 days ago).
    • Updated introductory text in the Function Calling notebook (15 days ago).
  7. Jason Dai (jsondai)

    • Recent Commits:
    • Updated various notebooks for broken links and installation instructions.
    • Contributed to the update of the Rapid Evaluation SDK tutorials.
  8. Saeed Aghabozorgi (saeedaghabozorgi)

    • Recent Commits:
    • Updated intro to multimodal use cases notebook (5 days ago).
  9. Vesselin Tzvetkov (tzvetkov75)

    • Recent Commits:
    • Added LLM Security Notebooks related to prompt and ReAct techniques (5 days ago).
  10. Noah Benefraim (noabenefraim)

    • Recent Commits:
    • Focused on document parsing capabilities using LlamaIndex (3 days ago).

Summary of Activities

  • The team has been actively working on updating documentation, adding new features, and fixing bugs across various notebooks related to generative AI workflows.
  • There is a strong focus on enhancing user experience through improved documentation and troubleshooting guides.
  • Collaboration is evident, with multiple co-authored commits, particularly among Megha Agarwal, Holt Skinner, and Eric Dong.
  • Recent activities include significant updates to the Gemini model, enhancements in evaluation pipelines, and the introduction of new notebooks for various use cases.

Patterns and Themes

  • The development team demonstrates a consistent approach towards improving documentation alongside feature development, indicating a commitment to user support.
  • Frequent updates related to model versions suggest an agile response to evolving project requirements and user feedback.
  • The collaborative nature of the commits highlights a cohesive team dynamic focused on shared goals within the generative AI domain.

Conclusions

The generative-ai repository is experiencing active development with a dedicated team focused on enhancing both functionality and user guidance through comprehensive documentation and collaborative efforts. The recent activities reflect a robust engagement with ongoing improvements in alignment with user needs and technological advancements in generative AI.