Interface RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25OrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25, RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25.Builder
Enclosing class:
RagEmbeddingModelConfig.SparseEmbeddingConfig

public static interface RagEmbeddingModelConfig.SparseEmbeddingConfig.Bm25OrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Optional.
    float
    Optional.
    boolean
    Optional.
    boolean
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMultilingual

      boolean getMultilingual()
       Optional. Use multilingual tokenizer if set to true.
       
      bool multilingual = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The multilingual.
    • hasK1

      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:
      Whether the k1 field is set.
    • getK1

      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:
      The k1.
    • hasB

      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:
      Whether the b field is set.
    • getB

      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:
      The b.