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

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

Config for Rank Service.

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

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 of the rank service. Format: semantic-ranker-512@latest

getModelName

Optional. The model name of the rank service.

Format: semantic-ranker-512@latest

Returns
Type Description
string

hasModelName

clearModelName

setModelName

Optional. The model name of the rank service.

Format: semantic-ranker-512@latest

Parameter
Name Description
var string
Returns
Type Description
$this