Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class RankingExpressionBackend.
The backend to use for the ranking expression evaluation.
Protobuf type google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
RANKING_EXPRESSION_BACKEND_UNSPECIFIED
Value: 0Default option for unspecified/unknown values.
Generated from protobuf enum RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0;
BYOE
Value: 1Deprecated: Use RANK_BY_EMBEDDING instead.
Ranking by custom embedding model, the default way to evaluate the
ranking expression. Legacy enum option, RANK_BY_EMBEDDING should be
used instead.
Generated from protobuf enum BYOE = 1 [deprecated = true];
CLEARBOX
Value: 2Deprecated: Use RANK_BY_FORMULA instead.
Ranking by custom formula. Legacy enum option, RANK_BY_FORMULA should
be used instead.
Generated from protobuf enum CLEARBOX = 2 [deprecated = true];
RANK_BY_EMBEDDING
Value: 3Ranking by custom embedding model, the default way to evaluate the ranking expression.
Generated from protobuf enum RANK_BY_EMBEDDING = 3;
RANK_BY_FORMULA
Value: 4Ranking by custom formula.
Generated from protobuf enum RANK_BY_FORMULA = 4;