Class RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25.Builder (3.77.0)
Stay organized with collections
Save and categorize content based on your preferences.
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];
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. 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];
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. 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];
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. 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];
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]