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: 0
Default option for unspecified/unknown values.
Generated from protobuf enum RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0;
RANK_BY_EMBEDDING
Value: 3
Ranking by custom embedding model, the default way to evaluate the ranking expression.
Generated from protobuf enum RANK_BY_EMBEDDING = 3;
RANK_BY_FORMULA
Value: 4
Ranking by custom formula.
Generated from protobuf enum RANK_BY_FORMULA = 4;