Google Cloud Ai Platform V1 Client - Class Ranking (1.34.0)

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

Config for ranking and reranking.

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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ RagRetrievalConfig

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ rank_service
Ranking\RankService

Optional. Config for Rank Service.

↳ llm_ranker
Ranking\LlmRanker

Optional. Config for LlmRanker.

getRankService

Optional. Config for Rank Service.

Returns
Type
Description

hasRankService

setRankService

Optional. Config for Rank Service.

Parameter
Name
Description
Returns
Type
Description
$this

getLlmRanker

Optional. Config for LlmRanker.

Returns
Type
Description

hasLlmRanker

setLlmRanker

Optional. Config for LlmRanker.

Parameter
Name
Description
Returns
Type
Description
$this

getRankingConfig

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: