public static interface RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25OrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getB()
public abstract float getB()
Optional. The parameter to control document length normalization. It determines how much the document length affects the final score. b is in the range of [0, 1]. The default value is 0.75.
optional float b = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
float |
The b. |
getK1()
public abstract float getK1()
Optional. The parameter to control term frequency saturation. It determines the scaling between the matching term frequency and final score. k1 is in the range of [1.2, 3]. The default value is 1.2.
optional float k1 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
float |
The k1. |
getMultilingual()
public abstract boolean getMultilingual()
Optional. Use multilingual tokenizer if set to true.
bool multilingual = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The multilingual. |
hasB()
public abstract boolean hasB()
Optional. The parameter to control document length normalization. It determines how much the document length affects the final score. b is in the range of [0, 1]. The default value is 0.75.
optional float b = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the b field is set. |
hasK1()
public abstract boolean hasK1()
Optional. The parameter to control term frequency saturation. It determines the scaling between the matching term frequency and final score. k1 is in the range of [1.2, 3]. The default value is 1.2.
optional float k1 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the k1 field is set. |