这是indexloc提供的服务,不要输入任何密码
Skip to content

[Vertex AI] Refactor HarmCategory enum #13686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Sep 20, 2024

  • Removed the unspecified case from HarmCategory since it should never be returned by the backend and should never be provided in a request.
    • The unknown case would cover this anomalous scenario if it ever occurred.
  • Moved the HarmCategory enum out of SafetySetting since it is also used in SafetyRating.

@andrewheard andrewheard added this to the 11.4.0 - M154.1 milestone Sep 20, 2024
@andrewheard andrewheard marked this pull request as ready for review September 20, 2024 18:33
@andrewheard andrewheard force-pushed the ah/vertex-harmcategory branch from b81e68f to aa4058c Compare September 23, 2024 14:39
@andrewheard
Copy link
Contributor Author

Rebased vertexai-release on main to grab the CI changes in #13687.

@andrewheard andrewheard merged commit 1151a7f into vertexai-release Sep 23, 2024
33 checks passed
@andrewheard andrewheard deleted the ah/vertex-harmcategory branch September 23, 2024 14:53
andrewheard added a commit that referenced this pull request Sep 24, 2024
# Conflicts:
#	FirebaseVertexAI/CHANGELOG.md
@firebase firebase locked and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants