Skip to content
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

[Vertex AI] Add HarmSeverity enum and SafetyRating properties #13875

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Oct 11, 2024

Added the HarmSeverity enum and added the properties probabilityScore, severity, severityScore and blocked to SafetyRating.

@andrewheard andrewheard marked this pull request as ready for review October 14, 2024 17:08
@andrewheard andrewheard requested a review from paulb777 October 14, 2024 17:08
@andrewheard
Copy link
Contributor Author

cc: @rachelsaunders I linked to the Cloud docs since there isn't anything about severity at https://firebase.google.com/docs/vertex-ai/safety-settings but flagging in case you're planning to add it.

@andrewheard andrewheard merged commit 9cb9895 into main Oct 14, 2024
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-safety-rating branch October 14, 2024 17:36
@rachelsaunders
Copy link

cc: @rachelsaunders I linked to the Cloud docs since there isn't anything about severity at https://firebase.google.com/docs/vertex-ai/safety-settings but flagging in case you're planning to add it.

Thanks for flagging this, Andrew! I've filed a ticket to update this in our narrative guide docs :-) When that's done, we can update the link here in the source code and ref docs.

MojtabaHs pushed a commit to MojtabaHs/firebase-ios-sdk that referenced this pull request Oct 17, 2024
@firebase firebase locked and limited conversation to collaborators Nov 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants