Interface GenerateContentCandidate (1.10.0)

A response candidate generated from the model.

Package

@google-cloud/vertexai

Properties

  citationMetadata 
 ?: 
  
 CitationMetadata 
 ; 
 

Optional. CitationMetadata .

content

  content 
 : 
  
 Content 
 ; 
 

finishMessage

  finishMessage 
 ?: 
  
 string 
 ; 
 

Optional. A readable message describing why the model stopped generating tokens.

finishReason

  finishReason 
 ?: 
  
 FinishReason 
 ; 
 

Optional. The reason why the model stopped generating tokens. FinishReason .

  groundingMetadata 
 ?: 
  
 GroundingMetadata 
 ; 
 

Optional. GroundingMetadata .

index

  index 
 : 
  
 number 
 ; 
 

Optional. The index of the candidate in the GenerateContentResponse .

safetyRatings

  safetyRatings 
 ?: 
  
 SafetyRating 
 []; 
 

Optional. Array of SafetyRating .

Create a Mobile Website
View Site in Mobile | Classic
Share by: