class GoogleCloudAiplatformV1Candidate extends Collection (View source)

Properties

protected $collection_key
$avgLogprobs
protected $citationMetadataType
protected $citationMetadataDataType
protected $contentType
protected $contentDataType
string $finishMessage
string $finishReason
protected $groundingMetadataType
protected $groundingMetadataDataType
int $index
protected $safetyRatingsType
protected $safetyRatingsDataType

Methods

setAvgLogprobs($avgLogprobs)

No description

getAvgLogprobs()

No description

setContent(GoogleCloudAiplatformV1Content $content)

No description

setFinishMessage($finishMessage)

No description

string
getFinishMessage()

No description

setFinishReason($finishReason)

No description

string
getFinishReason()

No description

setIndex($index)

No description

int
getIndex()

No description

setSafetyRatings($safetyRatings)

No description

Details

setAvgLogprobs($avgLogprobs)

No description

Parameters

$avgLogprobs

getAvgLogprobs()

No description

setCitationMetadata(GoogleCloudAiplatformV1CitationMetadata $citationMetadata)

No description

Parameters

GoogleCloudAiplatformV1CitationMetadata $citationMetadata

setContent(GoogleCloudAiplatformV1Content $content)

No description

Parameters

GoogleCloudAiplatformV1Content $content

setFinishMessage($finishMessage)

No description

Parameters

$finishMessage

string getFinishMessage()

No description

Return Value

string

setFinishReason($finishReason)

No description

Parameters

$finishReason

string getFinishReason()

No description

Return Value

string

setGroundingMetadata(GoogleCloudAiplatformV1GroundingMetadata $groundingMetadata)

No description

Parameters

GoogleCloudAiplatformV1GroundingMetadata $groundingMetadata

setIndex($index)

No description

Parameters

$index

int getIndex()

No description

Return Value

int

setSafetyRatings($safetyRatings)

No description

Parameters

$safetyRatings

GoogleCloudAiplatformV1SafetyRating[] getSafetyRatings()

No description