public static interface RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25OrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getB()
Optional.
|
float |
getK1()
Optional.
|
boolean |
getMultilingual()
Optional.
|
boolean |
hasB()
Optional.
|
boolean |
hasK1()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getMultilingual()
Optional. Use multilingual tokenizer if set to true.
bool multilingual = 1 [(.google.api.field_behavior) = OPTIONAL];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];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];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];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];Copyright © 2025 Google LLC. All rights reserved.