PromptFeedback

io.cequence.openaiscala.gemini.domain.response.PromptFeedback
case class PromptFeedback(blockReason: Option[BlockReason], safetyRatings: Seq[SafetyRating])

A set of the feedback metadata the prompt specified in GenerateContentRequest.content.

Attributes

blockReason

Optional. If set, the prompt was blocked and no candidates are returned. Rephrase the prompt.

safetyRatings

Ratings for safety of the prompt. There is at most one rating per category.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product