Google Cloud Ai Platform V1 Client - Class LlmRanker (1.21.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class LlmRanker.

Config for LlmRanker.

Generated from protobuf message google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRanker

Namespace

Google \ Cloud \ AIPlatform \ V1 \ RagRetrievalConfig \ Ranking

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_name string

Optional. The model name used for ranking. Format: gemini-1.5-pro

getModelName

Optional. The model name used for ranking.

Format: gemini-1.5-pro

Returns
Type Description
string

hasModelName

clearModelName

setModelName

Optional. The model name used for ranking.

Format: gemini-1.5-pro

Parameter
Name Description
var string
Returns
Type Description
$this