class GoogleCloudAiplatformV1GenerationConfig extends Collection (View source)

Properties

protected $collection_key
int $candidateCount
float $frequencyPenalty
int $maxOutputTokens
float $presencePenalty
string $responseMimeType
protected $responseSchemaType
protected $responseSchemaDataType
protected $routingConfigType
protected $routingConfigDataType
int $seed
string[] $stopSequences
float $temperature
float $topK
float $topP

Methods

setCandidateCount($candidateCount)

No description

int
getCandidateCount()

No description

setFrequencyPenalty($frequencyPenalty)

No description

float
getFrequencyPenalty()

No description

setMaxOutputTokens($maxOutputTokens)

No description

int
getMaxOutputTokens()

No description

setPresencePenalty($presencePenalty)

No description

float
getPresencePenalty()

No description

setResponseMimeType($responseMimeType)

No description

string
getResponseMimeType()

No description

setResponseSchema(GoogleCloudAiplatformV1Schema $responseSchema)

No description

setSeed($seed)

No description

int
getSeed()

No description

setStopSequences($stopSequences)

No description

string[]
getStopSequences()

No description

setTemperature($temperature)

No description

float
getTemperature()

No description

setTopK($topK)

No description

float
getTopK()

No description

setTopP($topP)

No description

float
getTopP()

No description

Details

setCandidateCount($candidateCount)

No description

Parameters

$candidateCount

int getCandidateCount()

No description

Return Value

int

setFrequencyPenalty($frequencyPenalty)

No description

Parameters

$frequencyPenalty

float getFrequencyPenalty()

No description

Return Value

float

setMaxOutputTokens($maxOutputTokens)

No description

Parameters

$maxOutputTokens

int getMaxOutputTokens()

No description

Return Value

int

setPresencePenalty($presencePenalty)

No description

Parameters

$presencePenalty

float getPresencePenalty()

No description

Return Value

float

setResponseMimeType($responseMimeType)

No description

Parameters

$responseMimeType

string getResponseMimeType()

No description

Return Value

string

setResponseSchema(GoogleCloudAiplatformV1Schema $responseSchema)

No description

Parameters

GoogleCloudAiplatformV1Schema $responseSchema

GoogleCloudAiplatformV1Schema getResponseSchema()

No description

setRoutingConfig(GoogleCloudAiplatformV1GenerationConfigRoutingConfig $routingConfig)

No description

setSeed($seed)

No description

Parameters

$seed

int getSeed()

No description

Return Value

int

setStopSequences($stopSequences)

No description

Parameters

$stopSequences

string[] getStopSequences()

No description

Return Value

string[]

setTemperature($temperature)

No description

Parameters

$temperature

float getTemperature()

No description

Return Value

float

setTopK($topK)

No description

Parameters

$topK

float getTopK()

No description

Return Value

float

setTopP($topP)

No description

Parameters

$topP

float getTopP()

No description

Return Value

float