Skip to content

Commit

Permalink
Rename BlockThreshold to HarmBlockThreshold (#6262)
Browse files Browse the repository at this point in the history
This better matches the backend API.
  • Loading branch information
rlazo authored Sep 30, 2024
1 parent e98a4b6 commit 877614a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

package com.google.firebase.vertexai.type

/**
* Represents the threshold for some [HarmCategory] that is allowed and blocked by [SafetySetting].
*/
/** Represents the threshold for a [HarmCategory] to be allowed by [SafetySetting]. */
public enum class HarmBlockThreshold {
/** Content with negligible harm is allowed. */
LOW_AND_ABOVE,
Expand Down

0 comments on commit 877614a

Please sign in to comment.